Skip to contentSkip to conversation

libgcc build fails on Fedora15

Buildroot MARCEL JANSSEN 3 participants 6 messages Sep 24, 2011 – Jul 8, 2013

lore
Share & tools
lore
#1 lore raw

Hello Marcel,

Le Sat, 24 Sep 2011 15:25:59 +0200,
"MARCEL JANSSEN" <[email protected]> a ?crit :

Quoted 6 lines

I'm stuck with the following issue when building buildroot on Fedora
15. I'm building for an ARM platform (Atmel G45).

/bin/sh: error while loading shared
libraries: /home/marcel/g45/toolchain_build_arm/gcc-4.3.2-final/./gcc/libgcc_s.so.1:
ELF file OS ABI invalid

This is the result of a build with a very old Buildroot, and definitely don't support such version.

Quoted 2 lines

I use two different versions of buildroot, one very old and one quite new (2011-5).

Ok.

Quoted 5 lines

Both show a similar issue (libgcc_s.so.1: ELF file OS ABI invalid) on Fedora15 which I don't have on fedora 14. So, Fedora14 works fine, unfortunately Fedora 14 is not an option, so I need to get a fix for this.

Quoted 8 lines

On fedora15 I got it fixed for the newer buildroot by disabling large file support (not a real fix as I may need large file support later on). That unfortunately doesn't work for the older buildroot.

Fedora 15 's gcc shows : gcc version 4.6.0 20110603 (Red Hat 4.6.0-10) (GCC)

Any ideas on how to solve this or even look for the root cause ?

Can you please put online (don't send it by e-mail) your Buildroot .config and the complete build log ?

I have just started a build in a Fedora 15 VM, but the last time I tried Fedora 15, Buildroot 2011.08 was working fine. So some more details about your Buildroot configuration are needed.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

Was there any resolution, or even progress, on the (apparent) legacy Fedora:Buildroot incompatibility?

I am getting the same error (libgcc_s.so.1: ELF file OS ABI invalid) across a variety of Buildroots from 2009, 2010, 2011 with Fedora Core 16.

Any guidance would be useful. Is moving Fedora forward or back likely to overcome this (or moving to some other development platform)? Would moving forward or back with Buildroot be a better strategy?

The target is for a mature Atmel ARM9 SOC. The assumption was that (roughly) aligning the platform, target and Buildroot versions in time was likely to maximize compatibility. Clearly not.

Regards

Ian

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/libgcc-build-fails-on-Fedora15-tp2493p47930.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

#4 lore raw

Dear Ian Eperson,

Quoted 6 lines · Ian Eperson

Was there any resolution, or even progress, on the (apparent) legacy Fedora:Buildroot incompatibility?

I am getting the same error (libgcc_s.so.1: ELF file OS ABI invalid) across a variety of Buildroots from 2009, 2010, 2011 with Fedora Core 16.

Quoted 7 lines

Any guidance would be useful. Is moving Fedora forward or back likely to overcome this (or moving to some other development platform)? Would moving forward or back with Buildroot be a better strategy?

The target is for a mature Atmel ARM9 SOC. The assumption was that (roughly) aligning the platform, target and Buildroot versions in time was likely to maximize compatibility. Clearly not.

I've started a download of a Fedora Core 16 VirtualBox image to be able to test this and see if I can reproduce.

Can you share your Buildroot .config, and tell us if the problem also happens with more recent Buildroot versions?

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

Thomas

I have persuaded a Fedora Core 9 box out of retirement and built (after a few tweaks) a new Buildroot (kernel 3.9.4) on it. From this I hope to be able to determine whether the problem is a general Fedora issue or confined to specific (possibly fc15/fc16) versions.

I am using a stock at91sam9261ek_defconfig.

Regards

Ian

Quoted 46 lines

Dear Ian Eperson,

Quoted 13 lines · Ian Eperson

Was there any resolution, or even progress, on the (apparent) legacy Fedora:Buildroot incompatibility?

I am getting the same error (libgcc_s.so.1: ELF file OS ABI invalid) across
a variety of Buildroots from 2009, 2010, 2011 with Fedora Core 16.

Any guidance would be useful. Is moving Fedora forward or back likely to
overcome this (or moving to some other development platform)? Would moving
forward or back with Buildroot be a better strategy?

Quoted 4 lines

The target is for a mature Atmel ARM9 SOC. The assumption was that (roughly) aligning the platform, target and Buildroot versions in time was
likely to maximize compatibility. Clearly not.

I've started a download of a Fedora Core 16 VirtualBox image to be able to test this and see if I can reproduce.

Can you share your Buildroot .config, and tell us if the problem also happens with more recent Buildroot versions?

Thanks,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Quoted 7 lines

_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://buildroot-busybox.2317881.n4.nabble.com/libgcc-build-fails-on-Fedora15-tp2493p47931.html

To unsubscribe from libgcc build fails on Fedora15, visit
http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2493&code=aWFuLmVwZXJzb25AZGVkZi5jby51a3wyNDkzfC0xMDc2Njc5NjYz

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/libgcc-build-fails-on-Fedora15-tp2493p48062.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130708/8c514d14/attachment.html>