From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 5 13:57:54 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98E1AF57 for ; Fri, 5 Sep 2014 13:57:54 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8012D1873 for ; Fri, 5 Sep 2014 13:57:54 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s85Dvs8h094915 for ; Fri, 5 Sep 2014 13:57:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193347] New: clang++ 3.4.1 segfault Date: Fri, 05 Sep 2014 13:57:54 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 13:57:54 -0000 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.