Date: Fri, 05 Sep 2014 13:57:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193347] New: clang++ 3.4.1 segfault Message-ID: <bug-193347-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193347 Bug ID: 193347 Summary: clang++ 3.4.1 segfault Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org Preprocessed source and run script in https://github.com/emaste/clangstuff (will attach in a moment) [3/1183] Building CXX object lib/Objec...es/LLVMObject.dir/MachOUniversal.cpp.o FAILED: /usr/bin/clang++ -DLLVMObject_EXPORTS -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DGTEST_HAS_RTTI=0 -std=c++11 -stdlib=libc++ -fno-limit-debug-info -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -fcolor-diagnostics -fdata-sections -g -fPIC -Ilib/Object -I../lib/Object -Iinclude -I../include -I/usr/local/include -fno-exceptions -fno-rtti -MMD -MT lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o -MF "lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o.d" -o lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o -c ../lib/Object/MachOUniversal.cpp Stack dump: 0. Program arguments: /usr/bin/clang++ -cc1 -triple x86_64-unknown-freebsd10.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name MachOUniversal.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -gdwarf-2 -fdata-sections -coverage-file /tank/emaste/ctsrd/llvm/Build/lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o -resource-dir /usr/bin/../lib/clang/3.4.1 -dependency-file lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o.d -MT lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o -D LLVMObject_EXPORTS -D _DEBUG -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D GTEST_HAS_RTTI=0 -I lib/Object -I ../lib/Object -I include -I ../include -I /usr/local/include -internal-isystem /usr/include/c++/v1 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /tank/emaste/ctsrd/llvm/Build -ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -fstandalone-debug -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o -x c++ ../lib/Object/MachOUniversal.cpp 1. ../lib/Object/MachOUniversal.cpp:98:1: current parser token 'void' 2. ../lib/Object/MachOUniversal.cpp:82:54: LLVM IR generation of declaration 'llvm::object::MachOUniversalBinary::ObjectForArch::getAsArchive' 3. ../lib/Object/MachOUniversal.cpp:82:54: Generating code for declaration 'llvm::object::MachOUniversalBinary::ObjectForArch::getAsArchive' 4. ../lib/Object/MachOUniversal.cpp:84:15: LLVM IR generation of compound statement ('{}') 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.0 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/MachOUniversal-aa92c5.cpp clang++: note: diagnostic msg: /tmp/MachOUniversal-aa92c5.sh clang++: note: diagnostic msg: -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193347-8>