Skip to contentSkip to conversation

eNET / x86 build fails with ld: -r and -shared may not be used together

U-Boot Loïc Minier 2 participants 6 messages Feb 9, 2011

lore
Share & tools
lore
#0 lore raw

Hi

Since 2011.03-rc1, the eNET / x86 build fails with:
[...]
ld --cref -pic --emit-relocs -Bsymbolic -Bsymbolic-functions --cref -pic --emit-relocs -Bsymbolic -Bsymbolic-functions -r -o /build/buildd-u-boot_2011.03~rc1-1-i386-1CnrCx/u-boot-2011.03~rc1/debian/build/eNET/examples/standalone/libstubs.o /build/buildd-u-boot_2011.03~rc1-1-i386-1CnrCx/u-boot-2011.03~rc1/debian/build/eNET/examples/standalone/stubs.o
ld: -r and -shared may not be used together
https://buildd.debian.org/fetch.cgi?&pkg=u-boot&ver=2011.03~rc1-1&arch=i386&stamp=1296819667&file=log

This sounds similar to the ARM failure, but -pie isn't used here.

Thanks,

Signature · 1 line
Lo?c Minier
#1 lore raw
Quoted 10 lines · Lo?c Minier

? ? ? ?Hi

?Since 2011.03-rc1, the eNET / x86 build fails with:
[...]
ld ?--cref ?-pic --emit-relocs -Bsymbolic -Bsymbolic-functions --cref ?-pic --emit-relocs -Bsymbolic -Bsymbolic-functions -r -o /build/buildd-u-boot_2011.03~rc1-1-i386-1CnrCx/u-boot-2011.03~rc1/debian/build/eNET/examples/standalone/libstubs.o ?/build/buildd-u-boot_2011.03~rc1-1-i386-1CnrCx/u-boot-2011.03~rc1/debian/build/eNET/examples/standalone/stubs.o
ld: -r and -shared may not be used together
https://buildd.debian.org/fetch.cgi?&pkg=u-boot&ver=2011.03~rc1-1&arch=i386&stamp=1296819667&file=log

?This sounds similar to the ARM failure, but -pie isn't used here.

This has been fixed in the latest x86 patch series sent to the list

Regards,

Graeme

#2 lore raw
Quoted 1 line · Graeme Russ

This has been fixed in the latest x86 patch series sent to the list

Great! I had flagged this patch series, but for some reason I thought this had been merged already. I had checked the u-boot-x86.git tree before reporting this to the mailing-list, but it only had patches from October. Is there another git tree where you usually stage your series?

Thanks!

Signature · 1 line
Lo?c Minier
#3 lore raw

FTR, the patch I picked for the Debian package was:
x86: Align config.mk and linker scripts with other arches

Signature · 1 line
Lo?c Minier
#4 lore raw
Quoted 3 lines · Lo?c Minier

?FTR, the patch I picked for the Debian package was:
?x86: Align config.mk and linker scripts with other arches

Can you add your acked-by

Thanks,

Graeme

#5 lore raw
In reply to Loïc Minier
Quoted 8 lines · Lo?c Minier
Quoted 1 line · Graeme Russ

This has been fixed in the latest x86 patch series sent to the list

?Great! ?I had flagged this patch series, but for some reason I thought ?this had been merged already. ?I had checked the u-boot-x86.git tree ?before reporting this to the mailing-list, but it only had patches from ?October. ?Is there another git tree where you usually stage your series?

This series will go into u-boot-x86 this weekend

Regards

Graeme