Go to file
Jörg Krause 6b462ac8bd package/jsoncpp: add patch to fix musl build issue on x86
This patch is replaces two previous sumbissions, the first by Bernd Kuhls [1],
the second by me [2].

The posix_memalign declaration is incompatible with musl for C++ on x86, because
of the exception specification [2]. Note, the referenced patch is part of a
patch series to "Add musl support to GCC".

However, this build issue only happens if compilation is done with the GCC
compiler option '-pedantic' [3] which is done so in jsoncpp.

Fortunately, upstream accepted a patch to opt-out '-pedantic' [4]. We backport
this patch to fix autobuild errors.

Fixes:
http://autobuild.buildroot.net/results/588/5885d33b8d9f17878f565f3ae5371017dc89aede/
http://autobuild.buildroot.net/results/0d9/0d90c7c13ae1640b07709c4c686e0237ada1324d/
http://autobuild.buildroot.net/results/30b/30b98ac7362c27254218a6e521d29971070f8c3c/
http://autobuild.buildroot.net/results/292/29289c125166630aeaf884ccc006bcf12c8aa0f6/

and many more.

[1] https://patchwork.ozlabs.org/patch/505425/
[2] https://patchwork.ozlabs.org/patch/533169/
[3] https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01425.html
[4] 48bfe91062

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-31 18:56:08 +01:00
arch arch/arm: use EABIhf by default with VFP 2015-10-25 19:56:20 +01:00
board configs/mpc8315erdb: bump to linux 4.2.5 2015-10-29 19:56:43 +01:00
boot uboot: fix hash for 2015.10 version 2015-10-28 23:40:17 +01:00
configs configs/mpc8315erdb: bump to linux 4.2.5 2015-10-29 19:56:43 +01:00
docs Revert "manual: Add notes about GitHub and hashes" 2015-10-18 17:59:40 +02:00
fs fs/ext2: add options for extra space and extra inodes 2015-10-31 15:56:56 +01:00
linux linux: bump default version to 4.2.5 2015-10-27 12:33:04 +01:00
package package/jsoncpp: add patch to fix musl build issue on x86 2015-10-31 18:56:08 +01:00
support Makefile: Remove 'quiet' variable 2015-10-29 00:04:05 +01:00
system skeleton: add "operator" group 2015-10-28 23:34:16 +01:00
toolchain toolchain/wrapper: fix potential bug in foreach loop 2015-10-25 23:01:48 +01: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 2015-08-31 23:06:58 +02:00
Config.in ccache: support changing the output directory 2015-10-04 18:22:21 +02:00
Config.in.legacy gst1-plugins-bad: update configure options 2015-10-21 23:36:37 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile Makefile: Remove 'quiet' variable 2015-10-29 00:04:05 +01: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.