[coreboot-gerrit] Patch merged into coreboot/master: buildgcc: Build GMP `--with-pic` if GCC defaults to `-pie`
gerrit at coreboot.org
gerrit at coreboot.org
Tue Dec 27 23:34:16 CET 2016
the following patch was just integrated into master:
commit 8bbd596de631adc8b677e69603e978b848eb1708
Author: Nico Huber <nico.huber at secunet.com>
Date: Thu Dec 22 16:05:54 2016 +0100
buildgcc: Build GMP `--with-pic` if GCC defaults to `-pie`
GCC 6 can optionally default to building all binaries as position
independent executables (PIE). This breaks linking against static
libraries that are compiled without position independent code (PIC).
Building GMP `--with-pic` in this case seems to be the least fragile
solution.
TEST=Run `make all` and `make BUILDGCC_OPTIONS=-b build-i386` in
util/crossgcc on Debian Stretch.
Change-Id: I5f3185af9c8d599379a628e18724b217b88be974
Signed-off-by: Nico Huber <nico.huber at secunet.com>
Reviewed-on: https://review.coreboot.org/17936
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
See https://review.coreboot.org/17936 for details.
-gerrit
More information about the coreboot-gerrit
mailing list