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

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&am...
This sounds similar to the ARM failure, but -pie isn't used here.
Thanks,

On Wednesday, February 9, 2011, Loïc Minier lool@dooz.org wrote:
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&am...
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

On Wed, Feb 09, 2011, Graeme Russ wrote:
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!

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

On Thu, Feb 10, 2011 at 12:58 AM, Loïc Minier lool@dooz.org wrote:
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

On Thursday, February 10, 2011, Loïc Minier lool@dooz.org wrote:
On Wed, Feb 09, 2011, Graeme Russ wrote:
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
participants (2)
-
Graeme Russ
-
Loïc Minier