[Buildroot] [autobuild.buildroot.net] Build results for 2014-06-07
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Jun 8 09:51:11 UTC 2014
Thomas, All,
On 2014-06-08 08:30 +0200, Thomas Petazzoni spake thusly:
> Detail of failures
> x86_64 | libbsd-0.6.0 | NOK | http://autobuild.buildroot.net/results/b19d24dbf9d05d86d839349695da45d548705b25/
libbsd checks whether the toolchain has support for .init_array, which
it checks as thus:
/* Look for a known libc that supports .init_array with the GNU extension
* to pass main() arguments to the init functions. */
#include <stdlib.h>
#if defined __GLIBC_PREREQ
# if __GLIBC_PREREQ(2, 4)
/* glibc supports GNU .init_array since 2.4. */
# else
# error glibc does not support GNU .init_array
# endif
#else
/*
* Basic SysV ABI .init_array support, init functions do not get arguments:
* - Bionic since its inception.
* - uClibc since 0.9.29.
*/
# error unknown whether libc supports GNU .init_array
#endif
So, it is only happy with a glibc >= 2.4. Unfortunately, uClibc only
impersonates a glibc-2.2, in include/features.h:
395 #define __GLIBC__ 2
396 #define __GLIBC_MINOR__ 2
I suggest we just disable libbsd (and its reverse dependencies) on
uClibc. Thoughts?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list