svn commit: r536683 - in head/lang/gcc9-devel: . files
Gerald Pfeifer
gerald at FreeBSD.org
Wed May 27 09:41:37 UTC 2020
Author: gerald
Date: Wed May 27 09:41:36 2020
New Revision: 536683
URL: https://svnweb.freebsd.org/changeset/ports/536683
Log:
Pull in files/extra-patch-libgcc_config_rs6000_t-crtstuff from r532950
to work around the 13 years old GCC 4.2 system compiler on powerpc64 in
those cases we are using that.
PR: 245511
Submitted by: pkubaj
Added:
head/lang/gcc9-devel/files/extra-patch-libgcc_config_rs6000_t-crtstuff
- copied unchanged from r536470, head/lang/gcc9/files/extra-patch-libgcc_config_rs6000_t-crtstuff
Modified:
head/lang/gcc9-devel/Makefile
Modified: head/lang/gcc9-devel/Makefile
==============================================================================
--- head/lang/gcc9-devel/Makefile Wed May 27 09:32:49 2020 (r536682)
+++ head/lang/gcc9-devel/Makefile Wed May 27 09:41:36 2020 (r536683)
@@ -74,6 +74,7 @@ CONFIGURE_ENV+= UNAME_m="powerpc64"
CONFIGURE_ARGS+= --with-abi=elfv2
. else
MAKE_ARGS+= CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0"
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libgcc_config_rs6000_t-crtstuff
. endif
.endif
Copied: head/lang/gcc9-devel/files/extra-patch-libgcc_config_rs6000_t-crtstuff (from r536470, head/lang/gcc9/files/extra-patch-libgcc_config_rs6000_t-crtstuff)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/gcc9-devel/files/extra-patch-libgcc_config_rs6000_t-crtstuff Wed May 27 09:41:36 2020 (r536683, copy of r536470, head/lang/gcc9/files/extra-patch-libgcc_config_rs6000_t-crtstuff)
@@ -0,0 +1,8 @@
+--- libgcc/config/rs6000/t-crtstuff.orig 2020-04-07 15:17:50 UTC
++++ libgcc/config/rs6000/t-crtstuff
+@@ -3,4 +3,4 @@
+ # Do not build crtend.o with -Os as that can result in references to
+ # out-of-line register save/restore functions, which may be unresolved
+ # as crtend.o is linked after libgcc.a. See PR45053.
+-CRTSTUFF_T_CFLAGS = -msdata=none -O2 -fno-asynchronous-unwind-tables
++CRTSTUFF_T_CFLAGS = -msdata=none -O0 -fno-asynchronous-unwind-tables
More information about the svn-ports-all
mailing list