Go to file
Rodrigo Rebello 694fa0e332 qemu: add patch to fix SSP support detection
The QEMU configure script incorrectly assumes SSP is supported by the
toolchain in some cases where the compiler accepts -fstack-protector*
flags but the C library does not provide the necessary __stack_chk_*()
functions.

Even though a full compile and link test is performed by the script,
this is done with a code fragment which does not actually meet any of
the conditions required to cause the compiler to emit canary code when
the -fstack-protector-strong variant is used. As no compile or link
failure occurs in this case, a false positive is generated and a
subsequent error is seen when the probe for pthreads is performed.

The fix consists in patching the configure script to use a more
appropriate test program for the SSP support checks.

Fixes:

  http://autobuild.buildroot.net/results/efb/efbb4e940543894b8745bb405478a096c90a5ae2/
  http://autobuild.buildroot.net/results/32d/32d6d984febad2dee1f0d31c5fa0aea823297096/
  http://autobuild.buildroot.net/results/aa6/aa6e71c957fb6f07e7bded35a8e47be4dadd042c/
  ...and many others.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-18 22:01:46 +01:00
arch arch: add tune options for powerpc e5500 and e6500 2015-11-17 00:16:39 +01:00
board configs/qemu: enable tmpfs for microblaze 2015-11-17 21:20:53 +01:00
boot uboot: fix ARCH for i386 and x86_64 2015-11-16 21:16:37 +01:00
configs configs/qemu: bump x86 to 4.3 kernel 2015-11-17 21:20:44 +01:00
docs docs/manual: fix bash export syntax in example code 2015-11-11 23:12:30 +01: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.3 2015-11-02 20:56:43 +01:00
package qemu: add patch to fix SSP support detection 2015-11-18 22:01:46 +01:00
support apply-patches.sh: use everything from the series file 2015-11-17 09:24:53 +01:00
system system: Fix warning when selecting systemd and ensure merged /usr workarounds are enabled 2015-11-09 21:48:10 +01:00
toolchain toolchain/external: fix gdbserver install with Linaro 2015.08 2015-11-05 23:21:38 +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.11-rc1 2015-11-07 22:43:57 +01: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 Update for 2015.11-rc1 2015-11-07 22:43:57 +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.