[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

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243666

Piotr Kubaj <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Piotr Kubaj <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.