commit | 0c5a656a1322e137fa4a251f2ccc6c4022918c0a | [log] [tgz] |
---|---|---|
author | Rahul Chaudhry <rahulchaudhry@google.com> | Wed Jul 12 15:36:32 2017 -0700 |
committer | Rahul Chaudhry <rahulchaudhry@google.com> | Thu Jul 13 22:42:43 2017 +0000 |
tree | 1649017ddf8e78a3860ea449317d0a1d78042a41 | |
parent | fe948798823b679925aed6b60efec51b9af7dd09 [diff] |
Disable linker PIE support with copy reloc. This feature gets enabled with binutils 2.27 upgrade, but breaks unittests in chromium os: - https://bugs.chromium.org/p/chromium/issues/detail?id=738188 This is because of the upstream gcc bug for which the patches were not backported to 4.9.x branches: - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248 BUG: None TEST: Chromium OS unittests pass again. Change-Id: I9827cbe56378727f979991993d06de0b4c6b5478
diff --git a/gcc-4.9/gcc/configure b/gcc-4.9/gcc/configure index 436278b..a16ecab 100755 --- a/gcc-4.9/gcc/configure +++ b/gcc-4.9/gcc/configure
@@ -27052,7 +27052,8 @@ esac fi fi - +# Disable gcc linker PIE support with copy reloc +gcc_cv_ld_pie_copyreloc=no cat >>confdefs.h <<_ACEOF #define HAVE_LD_PIE_COPYRELOC `if test x"$gcc_cv_ld_pie_copyreloc" = xyes; then echo 1; else echo 0; fi` _ACEOF