Quantcast

libgcc build fails on Fedora15

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

libgcc build fails on Fedora15

Marcel Janssen
Hi,

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

I use two different versions of buildroot, one very old and one quite new (2011-5).
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.

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 ?

Regards,
Marcel







 

_______________________________________________
buildroot mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: libgcc build fails on Fedora15

Thomas Petazzoni-2
Hello Marcel,

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

> 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.

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

Ok.

> 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.
>
> 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
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Antw:Re: libgcc build fails on Fedora15

Marcel Janssen
Hi Thomas,

Op 24/09/11, Thomas Petazzoni <[hidden email]> schreef:
Hello Marcel,

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

> 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.
I just want to know if anyone has seen this kind of error before.
I have seen it also with the new buildroot on Fedora 15, so I will try to reproduce that.

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

Ok.

> 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.
>
> 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 will try to reproduce the same error on F15 with the newer buildroot version I have.
It may take some time though as I can't work on this every day (I'm currently travelling).

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.
It works for me too, but only after I disabled large file support.

I will try to get back on this soon.
Thanks for your reply.

Regards,

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

_______________________________________________
buildroot mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Antw:Re: libgcc build fails on Fedora15

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?

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



 
 
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Antw:Re: libgcc build fails on Fedora15

Thomas Petazzoni-2
Dear Ian Eperson,

On Fri, 5 Jul 2013 02:04:04 -0700 (PDT), Ian Eperson wrote:

> 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.

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
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Antw:Re: libgcc build fails on Fedora15

Ian Eperson
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

>
>
> Dear Ian Eperson,
>
> On Fri, 5 Jul 2013 02:04:04 -0700 (PDT), Ian Eperson wrote:
>
>> 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.
>
> 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
> [hidden email]
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
>
> _______________________________________________
> 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
>
Loading...