Bug 201759 - misc/bb crashes clang when building for AARCH64
Summary: misc/bb crashes clang when building for AARCH64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Some People
Assignee: Andrew Turner
URL:
Keywords:
Depends on:
Blocks: 201763
  Show dependency treegraph
 
Reported: 2015-07-22 15:21 UTC by Sean Bruno
Modified: 2015-11-08 08:49 UTC (History)
1 user (show)

See Also:


Attachments
.c and .sh output files from clang crashes. (345.00 KB, application/x-tar)
2015-07-22 15:21 UTC, Sean Bruno
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer 2015-07-22 15:21:46 UTC
Created attachment 159064 [details]
.c and .sh output files from clang crashes.

cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525
Target: aarch64-unknown-freebsd11.0
Thread model: posix
cc: 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.
--- image.o ---
image.c:179:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    image->decompressed = data;
                        ^ ~~~~
--- autopilo.o ---
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/autopilo-aaacd9.c
cc: note: diagnostic msg: /tmp/autopilo-aaacd9.sh
cc: note: diagnostic msg: 

********************
*** [autopilo.o] Error code 254

make[1]: stopped in /wrkdirs/usr/ports/misc/bb/work/bb-1.3.0
--- julia.o ---
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525
Target: aarch64-unknown-freebsd11.0
Thread model: posix
cc: 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.
--- formulas.o ---
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/formulas-5e9d6c.c
cc: note: diagnostic msg: /tmp/formulas-5e9d6c.sh
cc: note: diagnostic msg: 

********************

make[1]: stopped in /wrkdirs/usr/ports/misc/bb/work/bb-1.3.0
--- print.o ---
2 warnings generated.
--- julia.o ---
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/julia-15e9cb.c
cc: note: diagnostic msg: /tmp/julia-15e9cb.sh
cc: note: diagnostic msg: 

********************
*** [julia.o] Error code 254

make[1]: stopped in /wrkdirs/usr/ports/misc/bb/work/bb-1.3.0
--- main.o ---
3 warnings generated.
--- messager.o ---
2 warnings generated.
--- image.o ---
9 warnings generated.
--- bb.o ---
1 warning generated.
--- credits2.o ---
1 warning generated.
3 errors

make[1]: stopped in /wrkdirs/usr/ports/misc/bb/work/bb-1.3.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/bb
Comment 1 Andrew Turner freebsd_committer 2015-11-08 08:49:41 UTC
Fixed in Clang 3.7