Go to file
Romain Naour b3d1fb26dc toolchain: libatomic is not built on "uclinux" platforms
The cairo package fails to build on some architectures:
BR2_TOOLCHAIN_HAS_LIBATOMIC is enabled, but libatomic is in fact not
available.

This happens because the gcc logic in libatomic/configure.tgt does not
recognize "uclinux" as a valid OS part of the target tuple, and
therefore it does not build libatomic.

The "uclinux" part of the tuple is used by Buildroot when
BR2_BINFMT_FLAT=y, so we make BR2_TOOLCHAIN_HAS_LIBATOMIC enabled only
if !BR2_BINFMT_FLAT.

It is worth mentioning that support for the uclinux tuple could most
likely very easily be added to gcc: it could rely on the generic
"posix" implementation of libatomic, which uses pthread locks,
available on all architectures where thread support is available.

Fixes:

 [arm]  http://autobuild.buildroot.net/results/3d8dc45e41a043d2c2c26bfb26c3617499fbe671
 [m68k] http://autobuild.buildroot.net/results/318e01406e3e92eb589ee5b2231c671a4dbb6da4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: adjust dependency after analysis of the gcc code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-02 23:33:46 +02:00
arch
board configs: imx6ulpico: Add Wifi support 2016-08-01 22:11:05 +02:00
boot grub2: fix build with BR2_STRIP_none 2016-07-31 20:19:40 +02:00
configs configs: imx6ulpico: Add Wifi support 2016-08-01 22:11:05 +02:00
docs docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial 2016-07-25 22:49:04 +02:00
fs
linux linux: bump default to version 4.7 2016-07-25 22:14:06 +02:00
package package/boost: context module needs ARM instructions on ARM 2016-08-02 22:49:01 +02:00
support support/download/git: Fix compatibility issue with git older than 1.8.4 2016-07-28 22:02:13 +02:00
system board: add blackfin gdb simulator support 2016-07-24 22:51:42 +02:00
toolchain toolchain: libatomic is not built on "uclinux" platforms 2016-08-02 23:33:46 +02:00
.defconfig
.gitignore
CHANGES
Config.in Config.in: fix typo 2016-07-31 23:14:33 +02:00
Config.in.legacy
COPYING
Makefile
Makefile.legacy
README

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.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches