Date: Fri, 01 Jun 2018 19:11:21 +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-zLD4K2NCHE@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 Kenneth Salerno <kennethsalerno@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kennethsalerno@yahoo.com --- Comment #18 from Kenneth Salerno <kennethsalerno@yahoo.com> --- (In reply to Mark Millard from comment #17) Mark, there is indeed a segfault that happens when you try to build lang/gcc5 with the system llvm/clang. I worked around the issue by avoiding building lang/gcc5 altogether (see attached patch). My system was built using lang/gcc7 amd64->ppc64 using the following config: _OSRELEASE != uname -r OSREL = ${_OSRELEASE:C/-.*//} . if exists(/usr/local/bin/powerpc64-unknown-freebsd${OSREL}-gcc) XCC = /usr/local/bin/powerpc64-unknown-freebsd${OSREL}-gcc XCXX = /usr/local/bin/powerpc64-unknown-freebsd${OSREL}-g++ XCPP = /usr/local/bin/powerpc64-unknown-freebsd${OSREL}-cpp CROSS_BINUTILS_PREFIX = /usr/local/bin/powerpc64-unknown-freebsd${OSREL}- WITHOUT_FORMAT_EXTENSIONS = yes NO_WERROR = WERROR = WITHOUT_GCC = yes WITHOUT_GCC_BOOTSTRAP = yes WITHOUT_GNUCXX = yes WITH_CLANG = yes WITH_CLANG_BOOTSTRAP = yes WITH_CLANG_FULL = yes WITH_CLANG_IS_CC = yes WITH_LLD = yes root@freebsd-ppc64# uname -rp 11.2-BETA2 powerpc64 root@freebsd-ppc64# cc -v FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: powerpc64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin root@freebsd-ppc64# pkg info gcc6 gcc6-6.4.0_7 Name : gcc6 Version : 6.4.0_7 Installed on : Fri Jun 1 01:49:58 2018 EDT Origin : lang/gcc6 Architecture : FreeBSD:11:powerpc64 Prefix : /usr/local Categories : lang java Licenses : GPLv3, GPLv3RLE Maintainer : gerald@FreeBSD.org WWW : https://gcc.gnu.org Comment : GNU Compiler Collection 6 Options : BOOTSTRAP : off GRAPHITE : off JAVA : off MULTILIB : off Shared Libs required: libmpc.so.3 libgmp.so.10 libmpfr.so.6 Shared Libs provided: libitm.so.1 libssp.so.0 libcc1plugin.so.0 libgomp.so.1 libcc1.so.0 libgcc_s.so.1 libatomic.so.1 liblto_plugin.so.0 libgfortran.so.3 libstdc++.so.6 Annotations : FreeBSD_version: 1101515 cpe : cpe:2.3:a:gnu:gcc:6.4.0:::::freebsd11:powerpc64:7 Flat size : 141MiB Description : GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, Fortran and Java front ends as gcc6, g++6, gfortran6, and gcj6, respectively. WWW: https://gcc.gnu.org Gerald Pfeifer <gerald@FreeBSD.org> -- 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-zLD4K2NCHE>
