[Buildroot] Analysis of build failures
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Mar 7 08:30:56 UTC 2014
Dear Romain Naour,
On Fri, 07 Mar 2014 01:44:15 +0100, Romain Naour wrote:
> It seems that __ELF__ has been removed from gcc
I don't really the relation between this statement you're making.
> http://gcc.gnu.org/gcc-4.9/changes.html
> "Support for a number of older systems and recently unmaintained or
> untested target ports of GCC has been declared obsolete in GCC 4.9"
And this statement.
>
> (version 4.9.0)
> ./microblaze-buildroot-linux-gnu-cpp -dM /dev/null | grep __ELF__
>
> (version 4.7.2)
> (code sourcery toolchain x86)
> ./i686-pc-linux-gnu-cpp -dM /dev/null | grep __ELF__
> #define __ELF__ 1
>
> (version 4.8.2)
> (buildroot internal toolchain x86)
> ./i686-buildroot-linux-gnu-cpp -dM /dev/null | grep __ELF__
> #define __ELF__ 1
And a x86 toolchain with gcc 4.9.x ?
> I'll send a patch to remove this test since buildroot does not have
> support for non ELF system.
That's not true: we support Blackfin FLAT, which is not an ELF binary
format.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list