diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-28 15:35:26 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-28 15:36:20 +0000 |
| commit | f76673fb030820b2053cad7e5b81ece31079d4cc (patch) | |
| tree | 76c4bead9f194774c9e62faec59181fefb1a521c /testing/gcc6/053_all_libitm-no-fortify-source.patch | |
| parent | bee941037412f7cad59a6cbe9965568dc5052040 (diff) | |
| download | aports-f76673fb030820b2053cad7e5b81ece31079d4cc.tar.bz2 aports-f76673fb030820b2053cad7e5b81ece31079d4cc.tar.xz | |
testing/gcc6: new aport
gcc6-java is needed for bootstrapping openjdk7
Diffstat (limited to 'testing/gcc6/053_all_libitm-no-fortify-source.patch')
| -rw-r--r-- | testing/gcc6/053_all_libitm-no-fortify-source.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/gcc6/053_all_libitm-no-fortify-source.patch b/testing/gcc6/053_all_libitm-no-fortify-source.patch new file mode 100644 index 0000000000..5ab15afc37 --- /dev/null +++ b/testing/gcc6/053_all_libitm-no-fortify-source.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/508852 +https://gcc.gnu.org/PR61164 + +2014-04-27 Magnus Granberg <zorry@gentoo.org> + + #508852 + * libitm/configure.tgt: Disable FORTIFY + +--- a/libitm/configure.tgt ++++ b/libitm/configure.tgt +@@ -43,6 +43,16 @@ if test "$gcc_cv_have_tls" = yes ; then + esac + fi + ++# FIXME: error: inlining failed in call to always_inline ++# ‘int vfprintf(FILE*, const char*, __va_list_tag*)’ ++# : function body can be overwritten at link time ++# Disable Fortify in libitm for now. #508852 ++case "${target}" in ++ *-*-linux*) ++ XCFLAGS="${XCFLAGS} -U_FORTIFY_SOURCE" ++ ;; ++esac ++ + # Map the target cpu to an ARCH sub-directory. At the same time, + # work out any special compilation flags as necessary. + case "${target_cpu}" in |
