> Wiadomość napisana przez Krystian Lewandowski <k.lewandow...@me.com> w dniu > 01.07.2019, o godz. 21:50: > > I thought it would be a good idea to rebuild cross-tools because of LLVM > version bump > but - with recent src - I'm unable to do so: > $ doas make -f Makefile.cross TARGET=${target} CROSSDIR="${destdir}" > cross-tools > fails with: > aarch64-unknown-openbsd6: error: unable to execute command: Segmentation fault > (core dumped) > > With updated /etc/mk.conf: > DEBUG=-gline-tables-only > (I think it’s unused for clang but disables stripping during installation?) > > and src/gnu/usr.bin/clang/Makefile.inc: > CPPFLAGS+= -DNDEBUG -gline-tables-only > (I think it’s similar to what cmake RelWithDebugInfo does.) > > I was eventually able to get debug symbols. More details in attached files. > I reproduced this crash on other machine. > > Is this something for LLVM team to look at? > > If anyone would like to give it a quick try, then please just follow „Setup” > section from: > https://github.com/elewarr/openbsd-arm64-src-dev > > -- > Krystian > > <cxa_demangle-042165.cpp.tgz><crash_log.txt><cxa_demangle-042165.sh><stack.txt> > >
Reported to LLVM: https://bugs.llvm.org/show_bug.cgi?id=42478 -- Krystian