Go to file
Bernd Kuhls 2cbcf2d916 package/berkeleydb: fix build error with gcc8
Fixes

../src/dbinc/atomic.h:179:19: error: definition of 'int __atomic_compare_exchange(db_atomic_t*,
 atomic_value_t, atomic_value_t)' ambiguates built-in declaration 'bool
 __atomic_compare_exchange(unsigned int, volatile void*, void*, void*, int, int)'
 static inline int __atomic_compare_exchange(
                   ^~~~~~~~~~~~~~~~~~~~~~~~~

To reproduce the build error use this defconfig

BR2_GCC_VERSION_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_BERKELEYDB=y
BR2_PACKAGE_BERKELEYDB_COMPAT185=y
BR2_PACKAGE_BERKELEYDB_TOOLS=y

Please note that to trigger the error BR2_TOOLCHAIN_BUILDROOT_CXX=y
is needed although berkeleydb does not depend on c++.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-06-20 23:25:21 +02:00
arch
board synopsys/axs10x: Update /etc/inittab by post-build 2018-06-19 13:52:12 +02:00
boot
configs configs/mx51evk: Bump U-Boot and kernel 2018-06-20 11:07:13 +02:00
docs docs/website/download.html: fix latest LTS version number 2018-06-19 13:45:20 +02:00
fs
linux linux: bump default to version 4.17.2 2018-06-16 14:39:32 +02:00
package package/berkeleydb: fix build error with gcc8 2018-06-20 23:25:21 +02:00
support support/docker: use the distro-provided flake8 2018-06-17 20:54:02 +02:00
system skeleton: PAGER without blank and unset at end of for loop 2018-06-05 18:50:49 +02:00
toolchain
utils scanpypi: rework download_package error handling 2018-06-15 14:06:43 +02:00
.defconfig
.flake8
.gitignore
.gitlab-ci.yml
.gitlab-ci.yml.in
CHANGES Update for 2018.02.3 2018-06-18 20:03:59 +02:00
Config.in
Config.in.legacy package/ti-sgx-km: properly handle legacy for renamed options 2018-06-17 22:01:55 +02:00
COPYING
DEVELOPERS DEVELOPERS: add myself to some packages 2018-06-18 20:21:24 +02:00
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