[Bug 199765] arm64: Clang consumes all memory and aborts when compiling with -g
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 28 19:27:39 UTC 2015
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 at FreeBSD.org
Reporter: emaste at freebsd.org
-- hello.c --
#include <stdio.h>
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. <eof> 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.
More information about the freebsd-bugs
mailing list