Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2016 13:34:07 +0100
From:      Wojciech Macek <wma@semihalf.com>
To:        Ed Maste <emaste@freebsd.org>, arm@freebsd.org, arm64-dev <arm64-dev@semihalf.com>
Subject:   ARM64 buildworld failure on ThunderX
Message-ID:  <CANsEV8cRdGUmDmqFNNMOGFer7_0ptsmjr0kX-4q3CB4yv-Y-uQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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@thunder_crb4:~/freebsd-arm64 #
/usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim
Segmentation fault (core dumped)
root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANsEV8cRdGUmDmqFNNMOGFer7_0ptsmjr0kX-4q3CB4yv-Y-uQ>