Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2018 19:21:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ppc@FreeBSD.org
Subject:   [Bug 225629] powerpc64 (POWER9) segfaults randomly (e.g., building lang/gcc5)
Message-ID:  <bug-225629-21-l4MVgbPezn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225629-21@https.bugs.freebsd.org/bugzilla/>

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

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

--- Comment #19 from Kenneth Salerno <kennethsalerno@yahoo.com> ---
Created attachment 193898
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193898&action=edit
Patch to build lang/gcc6 with system clang

When /usr/bin/cc is clang, lang/gcc5 segfaults trying to stage xgcc compiling
itself. A workaround is to not build lang/gcc5 at all, which is only necessary
for a system that /usr/bin/cc is gcc 4.2.1 and needs >= gcc 4.9 to build
lang/gcc6 which cannot USE_GCC itself and therefore tries to bring in
lang/gcc5...

System tested on:
(qemu) info version
2.12.0

root@freebsd-ppc64# dmesg |head
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.2-BETA2 #4 r334114M: Wed May 30 09:48:40 EDT 2018
   
root@freebsd-amd64.kpsalerno.us.ibm.com:/usr/obj/powerpc.powerpc64/usr/src/sys/SALERNO
powerpc
gcc version 7.3.0 (FreeBSD Ports Collection for powerpc64)
WARNING: Running on a broken hypervisor that does not support mandatory
H_CLEAR_MOD and H_CLEAR_REF hypercalls. Performance will be suboptimal.
cpu0: IBM POWER9 revision 2.0, 1000.00 MHz
cpu0: Features dc005180<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ARCH205,ARCH206,VSX>

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225629-21-l4MVgbPezn>