[Bug 243666] lang/gcc9: Fails to upgrade 'gcc9-9.2.0' to 'gcc9-9.2.0_1' on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit:Make-lang.in:124: s-selftest-c] Error 1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 2 10:39:24 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243666
Piotr Kubaj <pkubaj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pkubaj at FreeBSD.org
--- Comment #8 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
(In reply to Gerald Pfeifer from comment #7)
I have built this port successfully on powerpc head and powerpc12.1 with the
following patch:
Index: Makefile
===================================================================
--- Makefile (revision 524472)
+++ Makefile (working copy)
@@ -69,6 +69,9 @@
. else
USE_GCC= 8
. endif
+
+.elif ${ARCH} == powerpc
+MAKE_JOBS_UNSAFE= yes
.endif
LANGUAGES:= c,c++,objc,fortran
Index: files/patch-gcc_dumpfile.c
===================================================================
--- files/patch-gcc_dumpfile.c (nonexistent)
+++ files/patch-gcc_dumpfile.c (working copy)
@@ -0,0 +1,11 @@
+--- gcc/dumpfile.c.orig 2020-01-31 16:53:37 UTC
++++ gcc/dumpfile.c
+@@ -2055,7 +2055,7 @@ temp_dump_context::temp_dump_context (bool forcibly_en
+ bool forcibly_enable_dumping,
+ dump_flags_t test_pp_flags)
+ : m_context (),
+- m_saved (&dump_context ().get ())
++ m_saved (&dump_context::get())
+ {
+ dump_context::s_current = &m_context;
+ if (forcibly_enable_optinfo)
This is with default options.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list