Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 13:16:16 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        freebsd-arm@freebsd.org
Cc:        Bernd Walter <ticso@cicely7.cicely.de>
Subject:   buildworld selfbuild failure
Message-ID:  <20140910111616.GA31990@cicely7.cicely.de>

next in thread | raw e-mail | index | archive | help
The same source code was used to build with crochet and is running on
the system.
It's a Wandboard Quad with a -j8 buildworld run.
Source tree is on NFS /usr/obj on local SD.

=2E..
--- lib_tputs.So ---
cc  -fpic -DPIC  -O -pipe   -I. -I/usr/obj/home/builder/arm-build/head/lib/=
ncurses/ncurses/../ncurses -I/home/builder/arm-build/head/lib/ncurses/ncurs=
es/../ncurses -I/home/builder/arm-build/head/lib/ncurses/ncurses/../ncurses=
 -I/home/builder/arm-build/head/lib/ncurses/ncurses/../../../contrib/ncurse=
s/include -I/home/builder/arm-build/head/lib/ncurses/ncurses/../../../contr=
ib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIO=
S -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unuse=
d-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-u=
ninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-un=
used-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parent=
heses-equality -Wno-unused-function -Wno-enum-conversion -Qunused-arguments=
 -c /home/builder/arm-build/head/lib/ncurses/ncurses/../../../contrib/ncurs=
es/ncurses/tinfo/lib_tputs.c -o lib_tputs.So
--- lib/ncurses/ncursesw__L ---
--- free_ttype.So ---
cc  -fpic -DPIC  -O -pipe   -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I. -I/=
usr/obj/home/builder/arm-build/head/lib/ncurses/ncursesw/../ncursesw -I/hom=
e/builder/arm-build/head/lib/ncurses/ncursesw/../ncursesw -I/home/builder/a=
rm-build/head/lib/ncurses/ncursesw/../ncurses -I/home/builder/arm-build/hea=
d/lib/ncurses/ncursesw/../../../contrib/ncurses/include -I/home/builder/arm=
-build/head/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses -Wall -DN=
DEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=3Dgnu99 -Wsystem-head=
ers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototy=
pes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-si=
gn -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tau=
tological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-f=
unction -Wno-enum-conversion -Qunused-arguments -c /home/builder/arm-build/=
head/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses/tinfo/free_ttype=
=2Ec -o free_ttype.So
--- kerberos5/lib/libheimsqlite__L ---
cc: error: unable to execute command: Bus error (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invoc=
ation)
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebs=
d.org/submit/ and include the crash backtrace, preprocessed source, and ass=
ociated run script.
cc: note: diagnostic msg: Error generating preprocessed source(s).
*** [sqlite3.o] Error code 254

make[4]: stopped in /home/builder/arm-build/head/kerberos5/lib/libheimsqlite
--- lib/msun__L ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /home/builder/arm-build/head/lib/msun
--- lib/ncurses/ncursesw__L ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /home/builder/arm-build/head/lib/ncurses/ncursesw
--- lib/ncurses/ncurses__L ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /home/builder/arm-build/head/lib/ncurses/ncurses
--- kerberos5/lib/libheimsqlite__L ---
1 error

make[4]: stopped in /home/builder/arm-build/head/kerberos5/lib/libheimsqlite
--- secure/lib/libcrypto__L ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /home/builder/arm-build/head/secure/lib/libcrypto
A failure has been detected in another branch of the parallel make

make[3]: stopped in /home/builder/arm-build/head
*** [libraries] Error code 2

make[2]: stopped in /home/builder/arm-build/head
1 error

make[2]: stopped in /home/builder/arm-build/head
*** [_libraries] Error code 2

make[1]: stopped in /home/builder/arm-build/head
1 error

make[1]: stopped in /home/builder/arm-build/head
*** [buildworld] Error code 2

make: stopped in /home/builder/arm-build/head
1 error

make: stopped in /home/builder/arm-build/head
71773.091u 36752.279s 2:47:24.86 1080.4%        -40+98k 2728+6318io 4153pf+=
0w
Exit 2


[170]wandboard# gdb /usr/obj/home/builder/arm-build/head/tmp/usr/bin/cc cc.=
core=20
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "armv6-marcel-freebsd"...(no debugging symbols f=
ound)...
Core was generated by `cc'.
Program terminated with signal 10, Bus error.
#0  0x008dc410 in clang::SrcMgr::ContentCache::getBuffer ()
(gdb) bt
#0  0x008dc410 in clang::SrcMgr::ContentCache::getBuffer ()
#1  0x00914330 in clang::SourceManager::getBuffer ()
#2  0x00912260 in clang::Preprocessor::EnterSourceFile ()
#3  0x008f70e8 in clang::Preprocessor::EnterMainSourceFile ()
#4  0x0030e760 in clang::ParseAST ()
#5  0x000411bc in clang::ASTFrontendAction::ExecuteAction ()
#6  0x001c0998 in clang::CodeGenAction::ExecuteAction ()
#7  0x00040a38 in clang::FrontendAction::Execute ()
#8  0x00060120 in clang::CompilerInstance::ExecuteAction ()
#9  0x00010340 in $a ()
#10 0x00010340 in $a ()
(gdb)=20


Retry without -j:
CC=3D'cc ' mkdep -f .depend -a    -I/home/builder/arm-build/head/kerberos5/=
lib/libheimsqlite/../../../crypto/heimdal/lib/sqlite -DHAVE_CONFIG_H -I/hom=
e/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../include -std=3Dg=
nu99   /home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../../cr=
ypto/heimdal/lib/sqlite/sqlite3.c
Stack dump:
0.      Program arguments: /usr/obj/home/builder/arm-build/head/tmp/usr/bin=
/cc -cc1 -triple armv6--freebsd11.0-gnueabi -Eonly -disable-free -main-file=
-name sqlite3.c -mrelocation-model static -mdisable-fp-elim -mconstructor-a=
liases -target-cpu arm1176jzf-s -target-feature +soft-float -target-feature=
 +soft-float-abi -target-feature -neon -target-abi aapcs-linux -msoft-float=
 -mfloat-abi soft -resource-dir /usr/obj/home/builder/arm-build/head/tmp/us=
r/bin/../lib/clang/3.4.1 -dependency-file - -MT sqlite3.o -sys-header-deps =
-D HAVE_CONFIG_H -I /home/builder/arm-build/head/kerberos5/lib/libheimsqlit=
e/../../../crypto/heimdal/lib/sqlite -I /home/builder/arm-build/head/kerber=
os5/lib/libheimsqlite/../../include -isysroot /usr/obj/home/builder/arm-bui=
ld/head/tmp -std=3Dgnu99 -fno-dwarf-directory-asm -fdebug-compilation-dir /=
usr/obj/home/builder/arm-build/head/kerberos5/lib/libheimsqlite -ferror-lim=
it 19 -fmessage-length 132 -mstackrealign -fno-signed-char -fobjc-runtime=
=3Dgnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -x =
c /home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../../crypto/=
heimdal/lib/sqlite/sqlite3.c=20
cc: error: unable to execute command: Bus error (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invoc=
ation)
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebs=
d.org/submit/ and include the crash backtrace, preprocessed source, and ass=
ociated run script.
cc: error: unable to execute command: Bus error (core dumped)
cc: note: diagnostic msg: Error generating preprocessed source(s).
mkdep: compile failed
*** Error code 1

Stop.
make[4]: stopped in /home/builder/arm-build/head/kerberos5/lib/libheimsqlite
*** Error code 1

Stop.
make[3]: stopped in /home/builder/arm-build/head
*** Error code 1

Stop.
make[2]: stopped in /home/builder/arm-build/head
*** Error code 1

Stop.
make[1]: stopped in /home/builder/arm-build/head
*** Error code 1

Stop.
make: stopped in /home/builder/arm-build/head
24569.709u 5898.985s 6:06:54.09 138.4%  116+219k 2557+11302io 77pf+0w
Exit 1
[175]wandboard#=20

[180]wandboard# date
Wed Sep 10 10:20:14 UTC 2014
[181]wandboard# gdb /usr/obj/home/builder/arm-build/head/tmp/usr/bin/cc cc.=
core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "armv6-marcel-freebsd"...(no debugging symbols f=
ound)...
Core was generated by `cc'.
Program terminated with signal 10, Bus error.
#0  0x008dc410 in clang::SrcMgr::ContentCache::getBuffer ()
(gdb) bt
#0  0x008dc410 in clang::SrcMgr::ContentCache::getBuffer ()
#1  0x00914330 in clang::SourceManager::getBuffer ()
#2  0x00912260 in clang::Preprocessor::EnterSourceFile ()
#3  0x008f70e8 in clang::Preprocessor::EnterMainSourceFile ()
#4  0x00013ac8 in clang::PreprocessOnlyAction::ExecuteAction ()
#5  0x00040a38 in clang::FrontendAction::Execute ()
#6  0x00060120 in clang::CompilerInstance::ExecuteAction ()
#7  0x00010340 in $a ()
#8  0x00010340 in $a ()


It's not obvious from -j8 run, but it happened when compiling in the same
directory, maybe even the same file.

--=20
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140910111616.GA31990>