Go to file
Sergio Prado 0024465d8a stella: fix bug when compiling with PPC altivec vectorization
PPC altivec vectorization triggers a bug when compiling with -std=c++11
because "bool" is redefined in altivec.h.

src/emucore/Event.hxx:112:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment
         myKeyTable[i] = false;
                       ^

Acording to a bug report in GCC [1], "You need to use -std=g++11 or
undefine bool after the include of altivec.h as context sensitive
keywords is not part of the C++11 standard".

So let's compile with -std=gnu++11 by default.

Tested on ARM, x86 and PPC.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3

Fixes:
http://autobuild.buildroot.net/results/0970d2c8e1787ceffc46b589522e53d52675e03c
http://autobuild.buildroot.net/results/ec1bc57675b6e53af0cd33d7b99cd2e3bf5d9d7e

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-02 21:51:33 +01:00
arch MIPS: rename M6201 core to M6250 2016-11-09 22:42:12 +01:00
board Merge branch 'next' 2016-12-01 22:29:56 +01:00
boot Merge branch 'next' 2016-12-01 22:29:56 +01:00
configs Merge branch 'next' 2016-12-01 22:29:56 +01:00
docs docs/manual: fix FOO_PKGDIR name and definition 2016-12-02 21:40:36 +01:00
fs Merge branch 'next' 2016-12-01 22:29:56 +01:00
linux linux: bump default to version 4.8.12 2016-12-02 17:02:46 +01:00
package stella: fix bug when compiling with PPC altivec vectorization 2016-12-02 21:51:33 +01:00
support Update for 2016.11 2016-11-30 23:16:22 +01:00
system system: fix typo 2016-10-13 08:06:11 +02:00
toolchain Merge branch 'next' 2016-12-02 08:53:56 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore
CHANGES Update for 2016.11 2016-11-30 23:16:22 +01:00
Config.in Config.in: improve BR2_REPRODUCIBLE help text 2016-11-23 23:01:25 +01:00
Config.in.legacy toolchain: kill ADI Blackfin toolchain 2016-11-25 23:00:01 +01:00
COPYING
DEVELOPERS Merge branch 'next' 2016-12-01 22:29:56 +01:00
Makefile Merge branch 'next' 2016-12-01 22:29:56 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
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