Nico Huber (nico.h@gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17938
-gerrit
commit 15197a35ddfb101fd61cf454635488c569ffa740 Author: Nico Huber nico.huber@secunet.com Date: Thu Dec 22 16:25:06 2016 +0100
DONOTMERGE: buildgcc: Add `-fno-pie -no-pie` to GMP's default GCC flags
Change-Id: I2abc8e8cd3857167d850388fda83ad7237ce7b54 Signed-off-by: Nico Huber nico.huber@secunet.com --- util/crossgcc/patches/gmp-6.1.0_gcc_no_pie.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/util/crossgcc/patches/gmp-6.1.0_gcc_no_pie.patch b/util/crossgcc/patches/gmp-6.1.0_gcc_no_pie.patch new file mode 100644 index 0000000..d8b96ce --- /dev/null +++ b/util/crossgcc/patches/gmp-6.1.0_gcc_no_pie.patch @@ -0,0 +1,14 @@ +diff -urp gmp-6.1.0.orig/configure gmp-6.1.0/configure +--- gmp-6.1.0.orig/configure 2015-11-01 16:19:54.000000000 +0100 ++++ gmp-6.1.0/configure 2016-12-22 16:22:28.161668629 +0100 +@@ -4093,8 +4093,8 @@ abilist="standard" + # + cclist="gcc cc" + +-gcc_cflags="-O2 -pedantic" +-gcc_64_cflags="-O2 -pedantic" ++gcc_cflags="-O2 -pedantic -fno-pie -no-pie" ++gcc_64_cflags="-O2 -pedantic -fno-pie -no-pie" + cc_cflags="-O" + cc_64_cflags="-O" +