From owner-freebsd-bugs@freebsd.org Thu Jul 21 00:46:18 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF2F3B83858 for ; Thu, 21 Jul 2016 00:46:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C5737161D for ; Thu, 21 Jul 2016 00:46:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6L0kIOg059690 for ; Thu, 21 Jul 2016 00:46:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211259] 10.3-RELEASE-p5 base clang++ crash with github.com/pwsafe/psafe Date: Thu, 21 Jul 2016 00:46:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dereks@lifeofadishwasher.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 00:46:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211259 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: dereks@lifeofadishwasher.com After installing: - archivers/zip - devel/gmake-lite - devel/googletest - misc/e2fsprogs-libuuid - textproc/xerces-c3 - x11-toolkits/wxgtk30 and running 'NO_YUBI=3D1 gmake release' per original instructions, clang++ (3.4.1) from 10.3-RELEASE-p5 crashes: ... clang++ --stdlib=3Dlibc++ -I/usr/local/include --stdlib=3Dlibc++ -I/usr/local/include -fPIC -Wall -I../../core -I../.. `/usr/local/bin/wxgtk2u-3.0-config --debug=3Dno --unicode=3Dyes --inplace --cxxflags` --stdlib=3Dlibc++ -I/usr/local/include --stdlib=3Dlibc++ -I/usr/local/include -fPIC -Wall -I../../core -I../.. `/usr/local/bin/wxgtk2u-3.0-config --debug=3Dno --unicode=3Dyes --inplace --cxxflags` -std=3Dc++11 -std=3Dc++11 -O0 -g -ggdb -DUNICODE -DDEBUG -O -D= UNICODE -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/unicodereleas= e/os/xsendstring.o -resource-dir /usr/bin/../lib/clang/3.4.1 -D _FILE_OFFSET_BITS=3D64 -D WXUS= INGDLL -D __WXGTK__ -D _THREAD_SAFE -D _FILE_OFFSET_BITS=3D64 -D WXUSINGDLL -D __W= XGTK__ -D _THREAD_SAFE -D UNICODE -D DEBUG -D UNICODE -D NDEBUG -I /usr/local/incl= ude -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=3Dc++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=3Dgnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o ../../../obj/unicoderelease/os/xsendstri= ng.o -x c++ xsendstring.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. xsendstring.cpp:428:5: Generating code for declaration 'ModifierFactory::ModifierCreator::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, preproces= sed 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] E= rror 254 gmake[3]: Leaving directory '/usr/home/dereks/repos/pwsafe-master/src/os/un= ix' gmake[2]: *** [Makefile:84: unicoderelease] Error 2 gmake[2]: Leaving directory '/usr/home/dereks/repos/pwsafe-master/src/os/un= ix' 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 fixe= d or is there a recommendation for the author to support clang34? Otherwise use= a newer version of clang than 10.3-RELEASE's base? --=20 You are receiving this mail because: You are the assignee for the bug.=