Go to file
Thomas Petazzoni b7aee38fe2 boost: fix build on ARC
This commit adds a patch to Boost to make it use the eventfd()
function provided by the C library when uClibc is used, rather than
falling back to using directly the __NR_eventfd system call. This
fixes the build on ARC, which doesn't define __NR_eventfd.

The original problem is that uClibc pretends to be glibc 2.2, which
didn't had eventfd(), so Boost makes the system call
manually. uClibc-ng, in its next release, will pretend to be glibc
2.10 (see
http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=4ff3a6c8eb91db71d6dc3d2932b66e848bd20ac3),
which will also fix the problem, but requires bumping the uClibc
version, rebuilding the external toolchains, and so on.

Ideally, Boost should be doing a compile test to detect if eventfd()
is available or not, but the Boost build system is so brain-damaged
that doing so would require way too much effort.

Fixes:

  http://autobuild.buildroot.org/results/22b/22b710346d2cd78b7b51cdccd18d670bb6ac5d24/
  and many similar build failures

[Peter: minor tweaks to description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-08-19 23:06:59 +02:00
arch ARC: allow selection of MMU page size 2015-07-18 14:07:35 +02:00
board board: add support for ARC AXS101 and AXS103 Software Development Platforms 2015-08-04 20:05:23 +02:00
boot grub2: build El Torito image only for i386 PC platform 2015-07-29 17:03:15 +02:00
configs board: add support for ARC AXS101 and AXS103 Software Development Platforms 2015-08-04 20:05:23 +02:00
docs docs/website: add announcement e-mail link for 2015.08-rc1 2015-08-05 23:13:36 +02:00
fs fs: iso9660: change boot menu entry text 2015-08-18 21:42:51 +02:00
linux linux: bump default to version 4.1.4 2015-08-04 11:26:41 +02:00
package boost: fix build on ARC 2015-08-19 23:06:59 +02:00
support docs/manual: fix generation of deprecated list 2015-08-02 19:18:51 +02:00
system skeleton: New package 2015-07-14 18:08:23 +02:00
toolchain toolchain/external: ensure gcc version is known 2015-08-18 11:47:23 +02:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2015.08-rc1 2015-08-05 15:50:27 +02:00
Config.in core: fix download menu 2015-07-14 09:46:51 +02:00
Config.in.legacy package/kodi-pvr-wmc: new package 2015-07-30 09:37:45 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile Update for 2015.08-rc1 2015-08-05 15:50:27 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.