-- 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@:~ #
Fixed by r284707