[Bug 225629] powerpc64 (POWER9) segfaults randomly (e.g., building lang/gcc5)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 1 19:21:29 UTC 2018


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

--- Comment #19 from Kenneth Salerno <kennethsalerno at 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 at 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 at 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 on the CC list for the bug.


More information about the freebsd-ppc mailing list