rhill 14/05/15 02:34:29 Modified: README.history Added: 53_all_libitm-no-fortify-source.patch Log: Temporarily disable fortification in libitm for bug #508852. Patch by Magnus Granberg.
Revision Changes Path 1.6 src/patchsets/gcc/4.9.0/gentoo/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/gentoo/README.history?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/gentoo/README.history?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/gentoo/README.history?r1=1.5&r2=1.6 Index: README.history =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.9.0/gentoo/README.history,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- README.history 15 May 2014 00:51:49 -0000 1.5 +++ README.history 15 May 2014 02:34:29 -0000 1.6 @@ -19,6 +19,7 @@ + 50_all_libiberty-asprintf.patch + 51_all_libiberty-pic.patch + 52_all_netbsd-Bsymbolic.patch + + 53_all_libitm-no-fortify-source.patch + 67_all_gcc-poison-system-directories.patch.updateme + 74_all_gcc49_cloog-dl.patch + 90_all_pr55930-dependency-tracking.patch 1.1 src/patchsets/gcc/4.9.0/gentoo/53_all_libitm-no-fortify-source.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/gentoo/53_all_libitm-no-fortify-source.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.0/gentoo/53_all_libitm-no-fortify-source.patch?rev=1.1&content-type=text/plain Index: 53_all_libitm-no-fortify-source.patch =================================================================== https://bugs.gentoo.org/508852 https://gcc.gnu.org/PR61164 2014-04-27 Magnus Granberg <[email protected]> #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
