buildworld selfbuild failure

Bernd Walter ticso at cicely7.cicely.de
Wed Sep 10 11:16:47 UTC 2014


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.

...
--- 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/ncurses/../ncurses -I/home/builder/arm-build/head/lib/ncurses/ncurses/../ncurses -I/home/builder/arm-build/head/lib/ncurses/ncurses/../../../contrib/ncurses/include -I/home/builder/arm-build/head/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Qunused-arguments -c /home/builder/arm-build/head/lib/ncurses/ncurses/../../../contrib/ncurses/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/home/builder/arm-build/head/lib/ncurses/ncursesw/../ncursesw -I/home/builder/arm-build/head/lib/ncurses/ncursesw/../ncurses -I/home/builder/arm-build/head/lib/ncurses/ncursesw/../../../contrib/ncurses/include -I/home/builder/arm-build/head/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Qunused-arguments -c /home/builder/arm-build/head/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses/tinfo/free_ttype.c -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 invocation)
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.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated 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 
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 conditions.
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 found)...
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) 


Retry without -j:
CC='cc ' mkdep -f .depend -a    -I/home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../../crypto/heimdal/lib/sqlite -DHAVE_CONFIG_H -I/home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../include -std=gnu99   /home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../../crypto/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-aliases -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/usr/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/libheimsqlite/../../../crypto/heimdal/lib/sqlite -I /home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../include -isysroot /usr/obj/home/builder/arm-build/head/tmp -std=gnu99 -fno-dwarf-directory-asm -fdebug-compilation-dir /usr/obj/home/builder/arm-build/head/kerberos5/lib/libheimsqlite -ferror-limit 19 -fmessage-length 132 -mstackrealign -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -x c /home/builder/arm-build/head/kerberos5/lib/libheimsqlite/../../../crypto/heimdal/lib/sqlite/sqlite3.c 
cc: error: unable to execute command: Bus error (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
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.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated 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# 

[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 conditions.
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 found)...
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.

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


More information about the freebsd-arm mailing list