View | Details | Raw Unified | Return to bug 245511 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +3 lines)
Lines 66-72 Link Here
66
. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
66
. if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
67
CONFIGURE_ARGS+=	--with-abi=elfv2
67
CONFIGURE_ARGS+=	--with-abi=elfv2
68
. else
68
. else
69
USE_GCC=	8
69
CONFIGURE_ENV+=		CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0" 
70
MAKE_ENV+=		CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0"
71
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-libgcc_config_rs6000_t-crtstuff
70
. endif
72
. endif
71
.endif
73
.endif
72
74
(-)files/extra-patch-libgcc_config_rs6000_t-crtstuff (+8 lines)
Line 0 Link Here
1
--- libgcc/config/rs6000/t-crtstuff.orig	2020-04-07 15:17:50 UTC
2
+++ libgcc/config/rs6000/t-crtstuff
3
@@ -3,4 +3,4 @@
4
 # Do not build crtend.o with -Os as that can result in references to
5
 # out-of-line register save/restore functions, which may be unresolved
6
 # as crtend.o is linked after libgcc.a.  See PR45053.
7
-CRTSTUFF_T_CFLAGS = -msdata=none -O2 -fno-asynchronous-unwind-tables
8
+CRTSTUFF_T_CFLAGS = -msdata=none -O0 -fno-asynchronous-unwind-tables
(-)files/patch-Makefile.in (+11 lines)
Line 0 Link Here
1
--- Makefile.in.orig	2020-04-08 13:04:40 UTC
2
+++ Makefile.in
3
@@ -372,7 +372,7 @@ BUILD_PREFIX_1 = @BUILD_PREFIX_1@
4
 
5
 # Flags to pass to stage2 and later makes.  They are defined
6
 # here so that they can be overridden by Makefile fragments.
7
-BOOT_CFLAGS= -g -O2
8
+BOOT_CFLAGS?= -g -O2
9
 BOOT_LDFLAGS=
10
 BOOT_ADAFLAGS= -gnatpg
11
 
(-)files/patch-gcc_dumpfile.c (+11 lines)
Line 0 Link Here
1
--- gcc/dumpfile.c.orig	2020-04-07 14:09:14 UTC
2
+++ gcc/dumpfile.c
3
@@ -2055,7 +2055,7 @@ temp_dump_context::temp_dump_context (bool forcibly_en
4
 				      bool forcibly_enable_dumping,
5
 				      dump_flags_t test_pp_flags)
6
 : m_context (),
7
-  m_saved (&dump_context ().get ())
8
+  m_saved(&dump_context::get())
9
 {
10
   dump_context::s_current = &m_context;
11
   if (forcibly_enable_optinfo)

Return to bug 245511