ld: section can't be allocated in segment 1

Clemens Koller clemens.koller@anagramm.de
Mon Oct 22 13:49:00 GMT 2007


H.J. Lu schrieb:
 > On Mon, Oct 22, 2007 at 01:00:27AM +0200, Clemens Koller wrote:
 >> H.J. Lu schrieb:
 >>> On Sat, Oct 20, 2007 at 02:32:29AM +0200, Clemens Koller wrote:
 >>>>                       -Map u-boot.map -o u-boot
 >>>> ld: u-boot: section `.bootpg' can't be allocated in segment 1
 >>>> LOAD: .bootpg .resetvec
 >>>> ld: final link failed: Bad value
 >>>> make: *** [u-boot] Error 1
 >>> What does "readelf -S" report on .bootpg and .resetvec sections?
 >> I hope this will help (created with latest binutils).
 >>
 >
 > Can you open a bug report at

Done:
http://www.sourceware.org/bugzilla/show_bug.cgi?id=5205

 > and provide me with all link inputs which can be used to reprodouce
 > the problem on Linux/x86.

Reduced testcase attached. However, I cannot yet verify the same thing
on x86 since the toolchains aren't so current. I can try if really
needed, please ping me again, then.
Or: I can give you an ssh account on the powerpc machine with the failing
environment. Then, please contact me off-list for the account.

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




More information about the Binutils mailing list