Nico Huber (nico.h@gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17743
-gerrit
commit 571f11b9f966f7c07e216a7c2cb109ef6ef7a6d6 Author: Nico Huber nico.h@gmx.de Date: Tue Dec 6 23:57:33 2016 +0100
buildgcc: Test -fno-pie for broken Debian toolchain
Current Debian-testing toolchain reportedly has `-fpie` enabled by default which breaks a lot things.
Change-Id: I5f8645bb65576d2e2602096fdb110ccd60341220 Signed-off-by: Nico Huber nico.h@gmx.de --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 97c38b8..ff87d09 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -946,7 +946,7 @@ if [ -z "${LANGUAGES}" ]; then fi fi # GCC
-export HOSTCFLAGS="-Os" +export HOSTCFLAGS="-Os -fno-pie" if have_hostcflags_from_gmp; then set_hostcflags_from_gmp fi