Go to file
Giulio Benetti 6f5fcb4329 package/apitrace: fix build failure due to gcc bug 68485 and 85180
The apitrace package exhibits gcc bug 68485 when built for the
Microblaze architecture with optimization enabled, which causes a build
failure. This is mainly due to 3rd party brotli embedded in apitrace
that already has been fixed in Buildroot as single package. After
working around this bug overriding -O0 to CFLAGS(Brotli is a C program),
gcc bug 81580 showed off while compiling C++ files.

So, as done for other packages in Buildroot, work around this gcc bug by
setting optimization to -O0(in CFLAGS) if
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y. And do the same(but in CXXFLAGS) if
BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y as already done for other packages.

Fixes:
http://autobuild.buildroot.net/results/a46/a46626cc50f07f41d831614306f556d346d31429/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr: reorganise the conditions]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-01-01 10:13:09 +01:00
arch arch/arc: explicitly set "max-page-size" for GNU LD 2019-12-25 22:09:52 +01:00
board configs/beaglebone_qt5: don't use custom post-image script 2019-12-30 14:46:42 +01:00
boot boot/uboot: add an upstream URL to Config.in 2019-12-29 10:28:15 +01:00
configs configs/qemu: Update defconfigs to Linux 4.19.91 2019-12-31 18:16:37 +01:00
docs docs/manual: dependency documentation updates 2019-12-31 18:09:44 +01:00
fs fs: don't use := when not needed 2019-10-27 10:35:06 +01:00
linux linux: Set MMU page size for ARC processors 2019-12-22 21:55:36 +01:00
package package/apitrace: fix build failure due to gcc bug 68485 and 85180 2020-01-01 10:13:09 +01:00
support support/config-fragments/autobuild: update Buildroot toolchains to 2019.11 2019-12-30 13:18:03 +01:00
system system: allow not setting a default, system-wide time zone 2019-11-27 21:48:38 +01:00
toolchain toolchain/toolchain-buildroot: allow ARC big endian glibc builds 2019-12-06 22:16:23 +01:00
utils utils/scanpypi: remind developer about updating DEVELOPERS and Config.in 2019-12-26 09:32:32 +01:00
.defconfig
.flake8
.gitignore
.gitlab-ci.yml support/testing: add gitdb2 test 2019-12-16 23:36:45 +01:00
.gitlab-ci.yml.in gitlab-ci: use our updated docker base image 2019-10-27 21:52:28 +01:00
CHANGES Update for 2019.02.8 2019-12-07 21:19:07 +01:00
Config.in core: implement per-package SDK and target 2019-11-29 14:24:05 +01:00
Config.in.legacy package/python-scapy3k: remove package 2019-12-08 22:17:29 +01:00
COPYING
DEVELOPERS DEVELOPERS: add Lothar Felten as contact for BeagleBone defconfigs 2019-12-31 16:10:55 +01:00
Makefile Merge branch 'next' 2019-12-02 09:39:41 +01:00
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