Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2020 10:39:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [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
Message-ID:  <bug-243666-25139-wFEWOkQvsP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243666-25139@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243666

Piotr Kubaj <pkubaj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pkubaj@FreeBSD.org

--- Comment #8 from Piotr Kubaj <pkubaj@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243666-25139-wFEWOkQvsP>