Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Dec 2017 12:07:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202265] clang++: error: unable to execute command: Segmentation fault  (core dumped)
Message-ID:  <bug-202265-8-Wil77NPb9N@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202265-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202265-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202265

--- Comment #1 from ofriedman@acm.org ---
$ sudo svn update /usr/src
Updating '.':
At revision 326690.
$ svn info /usr/src
Path: .
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/releng/11.1
Relative URL: ^/releng/11.1
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 326690
Node Kind: directory
Schedule: normal
Last Changed Author: delphij
Last Changed Rev: 326360
Last Changed Date: 2017-11-29 02:41:39 -0500 (Wed, 29 Nov 2017)

$ uname -r
11.1-RELEASE-p1
$ sysctl hw.ncpu
hw.ncpu: 8
$ sudo make cleanworld
Password:
rm -rf /usr/obj/usr/src/*
chflags -R 0 /usr/obj/usr/src
rm -rf /usr/obj/usr/src/*

$ sudo make -j4 buildworld
--- buildworld ---
make[1]: "/usr/src/Makefile.inc1" line 158: SYSTEM_COMPILER: Determined that
CC=3Dcc matches the source tree.  Not bootstrapping a cross-compiler.
--- buildworld_prologue ---
--------------------------------------------------------------
>>> World build started on Fri Dec  8 06:40:51 EST 2017
--------------------------------------------------------------
--- _worldtmp ---
--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr/src/tmp
rm -rf /usr/obj/usr/src/lib32
mkdir -p /usr/obj/usr/src/tmp/lib
mkdir -p /usr/obj/usr/src/tmp/lib/casper
mkdir -p /usr/obj/usr/src/tmp/usr
mkdir -p /usr/obj/usr/src/tmp/legacy/bin
mkdir -p /usr/obj/usr/src/tmp/legacy/usr
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist  -p
/usr/obj/usr/src/tmp/legacy/usr >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.groff.dist  -p
/usr/obj/usr/src/tmp/legacy/usr >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p
/usr/obj/usr/src/tmp/legacy/usr/include >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist  -p /usr/obj/usr/src/tmp/usr
>/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p
/usr/obj/usr/src/tmp/usr/include >/dev/null
ln -sf /usr/src/sys /usr/obj/usr/src/tmp
mtree -deU -f /usr/src/etc/mtree/BSD.debug.dist  -p
/usr/obj/usr/src/tmp/legacy/usr/lib >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.debug.dist  -p
/usr/obj/usr/src/tmp/usr/lib >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.lib32.dist  -p /usr/obj/usr/src/tmp/usr
>/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.lib32.dist  -p
/usr/obj/usr/src/tmp/legacy/usr/lib/debug/usr >/dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.lib32.dist  -p
/usr/obj/usr/src/tmp/usr/lib/debug/usr >/dev/null
mkdir -p /usr/obj/usr/src/tmp/usr/tests
mtree -deU -f /usr/src/etc/mtree/BSD.tests.dist  -p
/usr/obj/usr/src/tmp/usr/tests >/dev/null
mkdir -p /usr/obj/usr/src/tmp/usr/lib/debug//usr/tests
mtree -deU -f /usr/src/etc/mtree/BSD.tests.dist  -p
/usr/obj/usr/src/tmp/usr/lib/debug//usr/tests >/dev/null
--- _legacy ---
--------------------------------------------------------------
>>> stage 1.1: legacy release compatibility shims
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp  INSTALL=3D"sh
/usr/src/tools/install.sh"  TOOLS_PREFIX=3D/usr/obj/usr/src/tmp=20
PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr=
/bin:/usr/obj/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=3D/usr/obj/usr/src/tmp  MAKEFLAGS=3D"-m /usr/src/tools/build/mk  =
-j 4 -J
15,16 -m /usr/src/share/mk" make  -f Makefile.inc1  DESTDIR=3D=20
BOOTSTRAPPING=3D1101001  SSP_CFLAGS=3D  MK_HTML=3Dno NO_LINT=3Dyes MK_MAN=
=3Dno  -DNO_PIC
MK_PROFILE=3Dno -DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=3Dno MK_CTF=3Dno=20
MK_CLANG_EXTRAS=3Dno MK_CLANG_FULL=3Dno  MK_LLDB=3Dno MK_TESTS=3Dno  MK_INC=
LUDES=3Dyes
legacy
--- legacy ---
=3D=3D=3D> tools/build (obj,includes,all,install)
--- obj ---
/usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/build
--- dummy.o ---
cc  -O2 -pipe  -MD  -MF.depend.dummy.o -MTdummy.o -std=3Dgnu99=20
-Qunused-arguments  -I/usr/obj/usr/src/tmp/legacy/usr/include -c
/usr/src/tools/build/dummy.c -o dummy.o
--- libegacy.a ---
building static egacy library
ar -crD libegacy.a `NM=3D'nm' NMFLAGS=3D'' lorder dummy.o  | tsort -q`=20
ranlib -D libegacy.a
--- _libinstall ---
sh /usr/src/tools/install.sh  -C -o root -g wheel -m 444   libegacy.a
/usr/obj/usr/src/tmp/legacy/usr/lib/
--- _bootstrap-tools ---
--------------------------------------------------------------
>>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp  INSTALL=3D"sh
/usr/src/tools/install.sh"  TOOLS_PREFIX=3D/usr/obj/usr/src/tmp=20
PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr=
/bin:/usr/obj/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=3D/usr/obj/usr/src/tmp  MAKEFLAGS=3D"-m /usr/src/tools/build/mk  =
-j 4 -J
15,16 -m /usr/src/share/mk" make  -f Makefile.inc1  DESTDIR=3D=20
BOOTSTRAPPING=3D1101001  SSP_CFLAGS=3D  MK_HTML=3Dno NO_LINT=3Dyes MK_MAN=
=3Dno  -DNO_PIC
MK_PROFILE=3Dno -DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=3Dno MK_CTF=3Dno=20
MK_CLANG_EXTRAS=3Dno MK_CLANG_FULL=3Dno  MK_LLDB=3Dno MK_TESTS=3Dno  MK_INC=
LUDES=3Dyes
bootstrap-tools
--- _bootstrap-tools-lib/clang/libllvmminimal ---
--- _bootstrap-tools-kerberos5/tools/make-roken ---
--- _bootstrap-tools-usr.bin/fortune/strfile ---
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- _bootstrap-tools-lib/clang/libllvmminimal ---
=3D=3D=3D> lib/clang/libllvmminimal (obj,all,install)
--- _bootstrap-tools-kerberos5/tools/make-roken ---
=3D=3D=3D> kerberos5/tools/make-roken (obj,all,install)
--- _bootstrap-tools-usr.bin/fortune/strfile ---
=3D=3D=3D> usr.bin/fortune/strfile (obj,all,install)
--- _bootstrap-tools-gnu/usr.bin/groff ---
=3D=3D=3D> gnu/usr.bin/groff (obj,all,install)
--- _bootstrap-tools-lib/clang/libllvmminimal ---
--- obj ---
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal created for
/usr/src/lib/clang/libllvmminimal
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/Support created for
/usr/src/lib/clang/libllvmminimal
/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/TableGen created for
/usr/src/lib/clang/libllvmminimal
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- obj_subdir_gnu/usr.bin/groff/contrib ---
=3D=3D=3D> gnu/usr.bin/groff/contrib (obj)
--- _bootstrap-tools-usr.bin/fortune/strfile ---
--- obj ---
--- _bootstrap-tools-kerberos5/tools/make-roken ---
--- obj ---
/usr/obj/usr/src/tmp/usr/src/kerberos5/tools/make-roken created for
/usr/src/kerberos5/tools/make-roken
--- _bootstrap-tools-usr.bin/fortune/strfile ---
/usr/obj/usr/src/tmp/usr/src/usr.bin/fortune/strfile created for
/usr/src/usr.bin/fortune/strfile
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- obj_subdir_gnu/usr.bin/groff/contrib/mm ---
=3D=3D=3D> gnu/usr.bin/groff/contrib/mm (obj)
--- _bootstrap-tools-kerberos5/tools/make-roken ---
--- make-roken.c ---
--- _bootstrap-tools-usr.bin/fortune/strfile ---
--- .depend ---
--- _bootstrap-tools-kerberos5/tools/make-roken ---
awk -f /usr/src/crypto/heimdal/lib/roken/roken.awk
/usr/src/crypto/heimdal/lib/roken/roken.h.in > make-roken.c
--- _bootstrap-tools-usr.bin/fortune/strfile ---
echo strfile.full: /usr/lib/libc.a
/usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
--- strfile.o ---
cc -O2 -pipe  -g -MD  -MF.depend.strfile.o -MTstrfile.o -std=3Dgnu99=20
-Qunused-arguments  -I/usr/obj/usr/src/tmp/legacy/usr/include -c
/usr/src/usr.bin/fortune/strfile/strfile.c -o strfile.o
--- _bootstrap-tools-lib/clang/libllvmminimal ---
--- Support/APInt.o ---
c++  -O2 -pipe -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MA=
CROS
-DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.1\"
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.1\"
-DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/tmp\" -ffunction-sections -fdata-sec=
tions
-MD -MF.depend.Support_APInt.o -MTSupport/APInt.o -Qunused-arguments
-I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-exceptions -fno=
-rtti=20
-stdlib=3Dlibc++ -Wno-c++11-extensions  -c
/usr/src/contrib/llvm/lib/Support/APInt.cpp -o Support/APInt.o
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- obj ---
/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/groff/contrib/mm created for
/usr/src/gnu/usr.bin/groff/contrib/mm
--- obj_subdir_gnu/usr.bin/groff/font ---
=3D=3D=3D> gnu/usr.bin/groff/font (obj)
--- obj_subdir_gnu/usr.bin/groff/font/devX100 ---
=3D=3D=3D> gnu/usr.bin/groff/font/devX100 (obj)
--- _bootstrap-tools-kerberos5/tools/make-roken ---
--- .depend ---
echo make-roken.full: /usr/lib/libc.a
/usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
--- make-roken.o ---
cc -O2 -pipe  -DHAVE_CONFIG_H -I/usr/src/kerberos5/include -DHAVE_CONFIG_H
-I/usr/src/kerberos5/include -g -MD  -MF.depend.make-roken.o -MTmake-roken.o
-std=3Dgnu99  -Qunused-arguments  -I/usr/obj/usr/src/tmp/legacy/usr/include=
 -c
make-roken.c -o make-roken.o
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- obj ---
/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/groff/font/devX100 created for
/usr/src/gnu/usr.bin/groff/font/devX100
--- obj_subdir_gnu/usr.bin/groff/font/devX100-12 ---
=3D=3D=3D> gnu/usr.bin/groff/font/devX100-12 (obj)
--- _bootstrap-tools-usr.bin/fortune/strfile ---
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces=
sed
source, and associated run script.
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- obj ---
/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/groff/font/devX100-12 created for
/usr/src/gnu/usr.bin/groff/font/devX100-12
--- obj_subdir_gnu/usr.bin/groff/font/devX75 ---
=3D=3D=3D> gnu/usr.bin/groff/font/devX75 (obj)
--- _bootstrap-tools-kerberos5/tools/make-roken ---
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces=
sed
source, and associated run script.
--- _bootstrap-tools-usr.bin/fortune/strfile ---
cc: note: diagnostic msg:=20
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/strfile-4fe07a.c
cc: note: diagnostic msg: /tmp/strfile-4fe07a.sh
cc: note: diagnostic msg:=20

********************
*** [strfile.o] Error code 254

make[3]: stopped in /usr/src/usr.bin/fortune/strfile
1 error

make[3]: stopped in /usr/src/usr.bin/fortune/strfile
*** [_bootstrap-tools-usr.bin/fortune/strfile] Error code 2

make[2]: stopped in /usr/src
--- _bootstrap-tools-gnu/usr.bin/groff ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/gnu/usr.bin/groff/font/devX75
*** [obj_subdir_gnu/usr.bin/groff/font/devX75] Error code 2

make[4]: stopped in /usr/src/gnu/usr.bin/groff/font
1 error

make[4]: stopped in /usr/src/gnu/usr.bin/groff/font
*** [obj_subdir_gnu/usr.bin/groff/font] Error code 2

make[3]: stopped in /usr/src/gnu/usr.bin/groff
1 error

make[3]: stopped in /usr/src/gnu/usr.bin/groff
*** [_bootstrap-tools-gnu/usr.bin/groff] Error code 2

make[2]: stopped in /usr/src
--- _bootstrap-tools-kerberos5/tools/make-roken ---
cc: note: diagnostic msg:=20
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/make-roken-dff21e.c
cc: note: diagnostic msg: /tmp/make-roken-dff21e.sh
cc: note: diagnostic msg:=20

********************
*** [make-roken.o] Error code 254

make[3]: stopped in /usr/src/kerberos5/tools/make-roken
1 error

make[3]: stopped in /usr/src/kerberos5/tools/make-roken
*** [_bootstrap-tools-kerberos5/tools/make-roken] Error code 2

make[2]: stopped in /usr/src
--- _bootstrap-tools-lib/clang/libllvmminimal ---
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces=
sed
source, and associated run script.
c++: note: diagnostic msg:=20
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/APInt-76ca10.cpp
c++: note: diagnostic msg: /tmp/APInt-76ca10.sh
c++: note: diagnostic msg:=20

********************
*** [Support/APInt.o] Error code 254

make[3]: stopped in /usr/src/lib/clang/libllvmminimal
1 error

make[3]: stopped in /usr/src/lib/clang/libllvmminimal
*** [_bootstrap-tools-lib/clang/libllvmminimal] Error code 2

make[2]: stopped in /usr/src
4 errors

make[2]: stopped in /usr/src
*** [_bootstrap-tools] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202265-8-Wil77NPb9N>