https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211259
Bug ID: 211259 Summary: 10.3-RELEASE-p5 base clang++ crash with github.com/pwsafe/psafe Product: Base System Version: 10.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: der...@lifeofadishwasher.com After installing: - archivers/zip - devel/gmake-lite - devel/googletest - misc/e2fsprogs-libuuid - textproc/xerces-c3 - x11-toolkits/wxgtk30 and running 'NO_YUBI=1 gmake release' per original instructions, clang++ (3.4.1) from 10.3-RELEASE-p5 crashes: ... clang++ --stdlib=libc++ -I/usr/local/include --stdlib=libc++ -I/usr/local/include -fPIC -Wall -I../../core -I../.. `/usr/local/bin/wxgtk2u-3.0-config --debug=no --unicode=yes --inplace --cxxflags` --stdlib=libc++ -I/usr/local/include --stdlib=libc++ -I/usr/local/include -fPIC -Wall -I../../core -I../.. `/usr/local/bin/wxgtk2u-3.0-config --debug=no --unicode=yes --inplace --cxxflags` -std=c++11 -std=c++11 -O0 -g -ggdb -DUNICODE -DDEBUG -O -DUNICODE -DNDEBUG -c xsendstring.cpp -o ../../../obj/unicoderelease/os/xsendstring.o Stack dump: 0. Program arguments: /usr/bin/clang++ -cc1 -triple x86_64-unknown-freebsd10.3 -emit-obj -disable-free -disable-llvm-verifier -main-file-name xsendstring.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -gdwarf-2 -coverage-file /usr/home/dereks/repos/pwsafe-master/src/os/unix/../../../obj/unicoderelease/os/xsendstring.o -resource-dir /usr/bin/../lib/clang/3.4.1 -D _FILE_OFFSET_BITS=64 -D WXUSINGDLL -D __WXGTK__ -D _THREAD_SAFE -D _FILE_OFFSET_BITS=64 -D WXUSINGDLL -D __WXGTK__ -D _THREAD_SAFE -D UNICODE -D DEBUG -D UNICODE -D NDEBUG -I /usr/local/include -I /usr/local/include -I ../../core -I ../.. -I /usr/local/lib/wx/include/gtk2-unicode-3.0 -I /usr/local/include/wx-3.0 -I /usr/local/include -I /usr/local/include -I ../../core -I ../.. -I /usr/local/lib/wx/include/gtk2-unicode-3.0 -I /usr/local/include/wx-3.0 -internal-isystem /usr/include/c++/v1 -O2 -Wall -Wall -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /usr/home/dereks/repos/pwsafe-master/src/os/unix -ferror-limit 19 -fmessage-length 204 -pthread -mstackrealign -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o ../../../obj/unicoderelease/os/xsendstring.o -x c++ xsendstring.cpp 1. <eof> parser at end of file 2. Per-file LLVM IR generation 3. xsendstring.cpp:428:5: Generating code for declaration 'ModifierFactory::ModifierCreator<unsigned long>::ModifierCreator' clang++: error: unable to execute command: Segmentation fault (core dumped) clang++: 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: x86_64-unknown-freebsd10.3 Thread model: posix clang++: 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. clang++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /tmp/xsendstring-88f1f7.cpp clang++: note: diagnostic msg: /tmp/xsendstring-88f1f7.sh clang++: note: diagnostic msg: ******************** gmake[3]: *** [Makefile:79: ../../../obj/unicoderelease/os/xsendstring.o] Error 254 gmake[3]: Leaving directory '/usr/home/dereks/repos/pwsafe-master/src/os/unix' gmake[2]: *** [Makefile:84: unicoderelease] Error 2 gmake[2]: Leaving directory '/usr/home/dereks/repos/pwsafe-master/src/os/unix' gmake[1]: *** [Makefile.freebsd:59: unicoderelease] Error 2 gmake[1]: Leaving directory '/usr/home/dereks/repos/pwsafe-master' gmake: *** [Makefile.freebsd:68: release] Error 2 Attached xsendstring-88f1f7.cpp and xsendstring-88f1f7.sh backtrace from stripped clang++: (gdb) #0 0x00000000005fcb3c in ?? () #1 0x00000000005fe165 in ?? () #2 0x00000000005f6f08 in ?? () #3 0x000000000064a818 in ?? () #4 0x000000000064c8eb in ?? () #5 0x0000000000657a3b in ?? () #6 0x000000000065d23b in ?? () #7 0x0000000000659090 in ?? () #8 0x0000000000658761 in ?? () #9 0x00000000005d555d in ?? () #10 0x000000000065f68c in ?? () #11 0x000000000058a5cb in ?? () #12 0x00000000005877ab in ?? () #13 0x00000000005875e1 in ?? () #14 0x0000000000583a30 in ?? () #15 0x00000000006aca74 in ?? () #16 0x0000000000582fcf in ?? () #17 0x00000000004323f5 in ?? () #18 0x000000000044ca5f in ?? () #19 0x000000000040723d in ?? () #20 0x0000000000400694 in ?? () #21 0x0000000000403db7 in ?? () #22 0x000000000040030f in ?? () #23 0x0000000000000000 in ?? () Using lang/clang38 pwsafe/pwsafe builds without issue. Can clang34 be fixed or is there a recommendation for the author to support clang34? Otherwise use a newer version of clang than 10.3-RELEASE's base? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"