All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] kb9202 build error
Date: Sat, 2 Jun 2007 19:55:59 +0200	[thread overview]
Message-ID: <20070602175559.GA23274@traven> (raw)

hi,

i'm trying to build u-boot v1.1.6 for the kwikbyte kb9202 board. the
build fails with an error message in assembly code:

make kb9202_config
make CROSS_COMPILE=arm-linux- all
...
arm-linux-gcc  -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing
-fno-common -ffixed-r8 -msoft-float  -D__KERNEL__
-DTEXT_BASE=0x21f00000
-I/data/private/prog/embedded/kb9202/u-boot-1.1.6/include -fno-builtin
-ffreestanding -nostdinc -isystem
/data/private/prog/embedded/toolchains/eldk_4.1/usr/bin/../lib/gcc/arm-linux/4.0.0/include
-pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -c -o
start.o start.S
start.S: Assembler messages:
start.S:185: Error: invalid constant -- `sub r0,r0,#(0x0200+128*1024)'
start.S:375: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:376: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:381: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:382: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:387: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:388: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:393: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:394: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:399: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:400: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:424: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:425: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:430: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:431: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
make[1]: *** [start.o] Error 1
make[1]: Leaving directory
`/data/private/prog/embedded/kb9202/u-boot-1.1.6/cpu/arm920t'
make: *** [cpu/arm920t/start.o] Error 2

the toolchain is eldk v4.1, the behaviour with eldk-uclibc v4.1 is the
same. the host system is debian etch.

any idea what could be going wrong?

thanks

-- 
Matthias Kaehlcke
Linux Application Developer
Barcelona

              You can't separate peace from freedom because no
               one can be at peace unless he has his freedom
                              (Malcolm X)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

                 reply	other threads:[~2007-06-02 17:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070602175559.GA23274@traven \
    --to=matthias.kaehlcke@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.