From owner-freebsd-arm@freebsd.org Sat Jan 9 10:32:00 2016 Return-Path: Delivered-To: freebsd-arm@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 2504CA68097 for ; Sat, 9 Jan 2016 10:32:00 +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 158D71AE1 for ; Sat, 9 Jan 2016 10:32:00 +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 u09AVx5O090888 for ; Sat, 9 Jan 2016 10:31:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 206066] base/projects/clang380-import's clang crashed targeting armv6 and requested a submittal Date: Sat, 09 Jan 2016 10:32:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@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 attachments.created 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-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2016 10:32:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206066 Bug ID: 206066 Summary: base/projects/clang380-import's clang crashed targeting armv6 and requested a submittal Product: Base System Version: 11.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: markmi@dsl-only.net Created attachment 165306 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165306&action= =3Dedit .zip of the /tmp/*.c and *.sh that clang left for the report I tried -Oz (for smaller code) to see if I could get linking involving cc1_= main to work for armv6 during buildworld of -r293430 (amd64 cross build targeting armv6). clang crashed and requested a submittal. (buildworld gets relocation truncations while linking and stops with default optimizations in my contex= t.) # gdb clang /var/crash/clang.40580.core=20 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. . . . This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `clang'. Program terminated with signal 6, Aborted. #0 0x00000000026550aa in thr_kill () [New Thread 80381b000 (LWP 100729/)] (gdb) bt #0 0x00000000026550aa in thr_kill () #1 0x0000000002655086 in raise () #2 0x0000000002655046 in abort () #3 0x000000000267497a in __assert () #4 0x00000000022aa13c in llvm::CallGraphNode::~CallGraphNode () #5 0x00000000022aa1ad in std::__1::__tree > >, std::__1::__map_value_compare > >, std::__1::less, true>, std::__1::allocator > > > >::erase () #6 0x00000000022a8020 in llvm::CallGraph::removeFunctionFromModule () #7 0x00000000014e943b in llvm::Inliner::removeDeadFunctions () #8 0x00000000021d3b58 in (anonymous namespace)::CGPassManager::runOnModule= () #9 0x00000000024149be in llvm::legacy::PassManagerImpl::run () #10 0x0000000000672910 in clang::EmitBackendOutput () #11 0x0000000000670569 in clang::BackendConsumer::HandleTranslationUnit () #12 0x000000000087c462 in clang::ParseAST () #13 0x000000000043f709 in clang::FrontendAction::Execute () #14 0x0000000000461e21 in clang::CompilerInstance::ExecuteAction () #15 0x0000000000409fc6 in clang::ExecuteCompilerInvocation () #16 0x00000000004008ae in cc1_main (Argv0=3D0x7fffffffda70 "/usr/bin/clang", MainAddr=3D0x405650) at /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver= /cc1_main.cpp:116 #17 0x000000000040831e in main (argc_=3D, argv_=3D) at /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver= /driver.cpp:301 #18 0x000000000040031f in _start () --=20 You are receiving this mail because: You are the assignee for the bug.=