From: Eric Olsen <eolsen@google.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] sandpoint8245 Build fails with optimization turned off
Date: Wed, 11 Jan 2006 16:43:07 -0800 [thread overview]
Message-ID: <43C5A61B.8010603@google.com> (raw)
I was attempting to debug an issue so I wanted to turn off the
optimization (change from -Os to -O0 in config.mk) so I can more easily
step thru code in gdb. When I do this for the sandpoint8245 target I
get the following error. I am using u-boot 1.1.4 pulled down yesterday
and gcc 4.0.1 toolchain built by crosstool.
a - virtex2.o
a - xilinx.o
gmake[1]: Leaving directory
`/home/eolsen/tree/u-boot-1.1.4/u-boot-1.1.4/common'
UNDEF_SYM=`powerpc-603e-linux-gnu-objdump -x lib_generic/libgeneric.a
board/sandpoint/libsandpoint.a cpu/mpc824x/libmpc824x.a lib_ppc/libppc.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a |sed -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
powerpc-603e-linux-gnu-ld -Bstatic -T
/home/eolsen/tree/u-boot-1.1.4/u-boot-1.1.4/board/sandpoint/u-boot.lds
-Ttext 0xFFF00000 -n $UNDEF_SYM cpu/mpc824x/start.o \
--start-group lib_generic/libgeneric.a
board/sandpoint/libsandpoint.a cpu/mpc824x/libmpc824x.a lib_ppc/libppc.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a --end-group -L
/usr/local/opt/crosstool/gcc-4.0.1-glibc-2.3.5/powerpc-603e-linux-gnu/bin/../lib/gcc/powerpc-603e-linux-gnu/4.0.1/nof
-lgcc \
-Map u-boot.map -o u-boot
/home/eolsen/tree/u-boot-1.1.4/u-boot-1.1.4/board/sandpoint/u-boot.lds:134
cannot move location counter backwards (from fff04288 to fff04000)
gmake: *** [u-boot] Error 1
Has anyone else managed to fix this?
Thanks
Eric
next reply other threads:[~2006-01-12 0:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-12 0:43 Eric Olsen [this message]
2006-01-12 7:27 ` [U-Boot-Users] sandpoint8245 Build fails with optimization turned off Wolfgang Denk
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=43C5A61B.8010603@google.com \
--to=eolsen@google.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.