From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 28 19:27:39 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75181DC1 for ; Tue, 28 Apr 2015 19:27:39 +0000 (UTC) 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 567E71B7F for ; Tue, 28 Apr 2015 19:27:39 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3SJRd5k015738 for ; Tue, 28 Apr 2015 19:27:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199765] arm64: Clang consumes all memory and aborts when compiling with -g Date: Tue, 28 Apr 2015 19:27:39 +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 Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2015 19:27:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199765 Bug ID: 199765 Summary: arm64: Clang consumes all memory and aborts when compiling with -g Product: Base System Version: 11.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org -- hello.c -- #include int main(int argc, char *argv[]) { puts("hi!"); } -- root@:~ # clang --version FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225 Target: aarch64-unknown-freebsd11.0 Thread model: posix root@:~ # time clang -g hello.c Stack dump: 0. Program arguments: /usr/bin/clang -cc1 -triple aarch64-unknown-freebsd11.0 -emit-obj -mrelax-all -disable-free -main-file-name hello.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu generic -target-feature +neon -target-abi aapcs -gdwarf-2 -dwarf-column-info -resource-dir /usr/bin/../lib/clang/3.6.0 -fdebug-compilation-dir /root -ferror-limit 19 -fmessage-length 0 -mstackrealign -fallow-half-arguments-and-returns -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -o /tmp/hello-1af8b6.o -x c hello.c 1. parser at end of file 2. hello.c:4:1: LLVM IR generation of declaration 'main' 3. hello.c:4:1: Generating code for declaration 'main' 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.6.0 (tags/RELEASE_360/final 230434) 20150225 Target: aarch64-unknown-freebsd11.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/hello-233970.c clang: note: diagnostic msg: /tmp/hello-233970.sh clang: note: diagnostic msg: ******************** 130.454u 0.000s 2:27.73 88.3% 28980+279k 41+13468io 0pf+0w root@:~ # -- You are receiving this mail because: You are the assignee for the bug.