Date: Fri, 8 Apr 2016 13:23:07 +0200 From: Wojciech Macek <wma@semihalf.com> To: Ed Maste <emaste@freebsd.org>, arm@freebsd.org, arm64-dev <arm64-dev@semihalf.com> Subject: Re: ARM64 buildworld failure on ThunderX Message-ID: <CANsEV8fPSkx09DMGsZVOx63c6AT51rr8qQLnyikViz0EkjER2A@mail.gmail.com> In-Reply-To: <CANsEV8cRdGUmDmqFNNMOGFer7_0ptsmjr0kX-4q3CB4yv-Y-uQ@mail.gmail.com> References: <CANsEV8cRdGUmDmqFNNMOGFer7_0ptsmjr0kX-4q3CB4yv-Y-uQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ed, Do you have any comments on this? Should I create a bug in bugzilla? Regards, Wojtek 2016-03-22 13:34 GMT+01:00 Wojciech Macek <wma@semihalf.com>: > 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?CANsEV8fPSkx09DMGsZVOx63c6AT51rr8qQLnyikViz0EkjER2A>