ARM64 buildworld failure on ThunderX
Wojciech Macek
wma at semihalf.com
Tue Mar 22 12:34:28 UTC 2016
Hello,
I was debugging strange userspace crashes during native aarch64 buildworld,
and I think that it is highly probable that they are caused by issues with
recent toolchain or system libraries.
The same test as below, but run on older sources (the one with clang-3.6)
is just fine, build succeeds and soelim does not crash.
I'd like to get some feedback if anyone do or did see similar behavior or
how this might be pushed forward. I can provide binaries, logs and whatever
is necessary.
The application that fails is a soelim (in about 95% of all cases):
--- be_BY.CP1131.LC_CTYPE ---
--- all_subdir_share/doc ---
--- all_subdir_share/doc/usd ---
groff: soelim: Signal 11 (core dumped)
--- all_subdir_share/i18n ---
sed "s/CPx/CP10007/" /root/freebsd-arm64/share/i18n/esdb/CP/CP.src >
CP10007.src
--- all_subdir_share/i18n/csmapper ---
--- UCS%CP950.mps ---
--- all_subdir_share/ctypedef ---
When I try to manually call the application, it coredumps too.
root at thunder_crb4:~/freebsd-arm64 # find /usr/obj/ -name soelim
/usr/obj/root/freebsd-arm64/tmp/usr/lib/debug/usr/tests/usr.bin/soelim
/usr/obj/root/freebsd-arm64/tmp/usr/tests/usr.bin/soelim
/usr/obj/root/freebsd-arm64/tmp/legacy/usr/bin/soelim
/usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim
/usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim
/usr/obj/root/freebsd-arm64/usr.bin/soelim
root at thunder_crb4:~/freebsd-arm64 #
/usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim
Segmentation fault (core dumped)
root at thunder_crb4:~/freebsd-arm64 #
Steps to reproduce:
1. Clone the FreeBSD HEAD
2. Call "make buildworld -j48 -DNO_CLEAN"
3. Relax and wait for the crash to happen...
Regards,
wma
More information about the freebsd-arm
mailing list