From: Clemens Koller <clemens.koller@anagramm.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] latest-git, mpc8540 targets: ld: u-boot: section `.bootpg' can't be allocated in segment 1
Date: Tue, 18 Sep 2007 17:00:49 +0200 [thread overview]
Message-ID: <46EFE821.40707@anagramm.de> (raw)
Hi There!
I just checked out the latest u-boot git HEAD and did a
$ make PM854_config
or a
$ make TQM8540_config
followed by a
$ make all
using binutils-2.18, gcc-4.2.1, kernel 2.6.21 on a native mpc8540 environment.
but linking fails close to the end:
make[1]: Leaving directory `/share/home/clemens/u-boot/u-boot-20070918/libfdt'
UNDEF_SYM=`objdump -x lib_generic/libgeneric.a board/tqm85xx/libtqm85xx.a cpu/mpc85xx/libmpc85xx.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/bios_emulator/libatibiosemu.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/net/libnet.a drivers/qe/qe.a drivers/serial/libserial.a drivers/sk98lin/libsk98lin.a post/libpost.a post/drivers/libpostdrivers.a post/lib_ppc/libpostppc.a post/lib_ppc/fpu/libpostppcfpu.a common/libcommon.a libfdt/libfdt.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
cd /share/home/clemens/u-boot/u-boot-20070918 && ld -Bstatic -T /share/home/clemens/u-boot/u-boot-20070918/board/tqm85xx/u-boot.lds -Ttext 0xfffc0000 -n $UNDEF_SYM cpu/mpc85xx/start.o cpu/mpc85xx/resetvec.o \
--start-group lib_generic/libgeneric.a board/tqm85xx/libtqm85xx.a cpu/mpc85xx/libmpc85xx.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/bios_emulator/libatibiosemu.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/net/libnet.a drivers/qe/qe.a drivers/serial/libserial.a drivers/sk98lin/libsk98lin.a post/libpost.a post/drivers/libpostdrivers.a post/lib_ppc/libpostppc.a post/lib_ppc/fpu/libpostppcfpu.a common/libcommon.a libfdt/libfdt.a --end-group -L /usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.1 -lgcc \
-Map u-boot.map -o u-boot
ld: u-boot: section `.bootpg' can't be allocated in segment 1
ld: final link failed: Bad value
make: *** [u-boot] Error 1
Both of the above MPC8540 targets fail here. I searched the archives
already, but didn't get any idea. Any hints? I'll try v1.3.0-rc1 next.
Thank you,
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Stra?e 45/1
Linhof Werksgel?nde
D-81379 M?nchen
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com
next reply other threads:[~2007-09-18 15:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 15:00 Clemens Koller [this message]
2007-09-19 13:56 ` [U-Boot-Users] latest-git, mpc8540 targets: ld: u-boot: section `.bootpg' can't be allocated in segment 1 Detlev Zundel
2007-09-19 14:29 ` Clemens Koller
2007-09-19 14:39 ` Grant Likely
2007-09-19 15:44 ` Clemens Koller
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=46EFE821.40707@anagramm.de \
--to=clemens.koller@anagramm.de \
--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.