Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2015 02:11:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 196987] clang failure report for build of devel/radare2
Message-ID:  <bug-196987-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196987

            Bug ID: 196987
           Summary: clang failure report for build of devel/radare2
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: arm
               URL: http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015
                    -01-19_15h28m19s/logs/errors/radare2-0.9.6.log
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: sbruno@FreeBSD.org

Created attachment 151996
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151996&action=edit
json source file in c and shell script to compile it.  Probably have to change
to /usr/bin/cc instead of /nxb-bin/usr/bin/cc to generate failure.

Using the base system clang 3.5 on head, the following port will crash clang:

Stack dump:
0.    Program arguments: /nxb-bin/usr/bin/cc -cc1 -triple
armv6--freebsd11.0-gnueabi -emit-obj -disable-free -main-file-name json.c
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing
-masm-verbose -mconstructor-aliases -target-cpu arm1176jzf-s -target-feature
+soft-float -target-feature +soft-float-abi -target-feature -neon
-target-feature -crypto -target-abi aapcs-linux -msoft-float -mfloat-abi soft
-gdwarf-2 -dwarf-column-info -coverage-file
/wrkdirs/usr/ports/devel/radare2/work/radare2-0.9.6/shlr/sdb/src/json.o
-resource-dir /nxb-bin/usr/bin/../lib/clang/3.5.0 -dependency-file json.d -MT
json.o -sys-header-deps -D _POSIX_C_SOURCE=200809L -D _XOPEN_SOURCE=700 -D
_POSIX_C_SOURCE=200809L -D _XOPEN_SOURCE=700 -O2 -Wall -Wall
-fdebug-compilation-dir
/wrkdirs/usr/ports/devel/radare2/work/radare2-0.9.6/shlr/sdb/src -ferror-limit
19 -fmessage-length 0 -fvisibility hidden -mstackrealign -fno-signed-char
-fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o json.o -x c json.c 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module 'json.c'.
4.    Running pass 'Loop Pass Manager' on function '@js0n'
5.    Running pass 'Rotate Loops' on basic block '%for.cond'
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.5.0 (tags/RELEASE_350/final 216957) 20141124
Target: armv6--freebsd11.0-gnueabi
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.
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/json-3ed7b4.c
cc: note: diagnostic msg: /tmp/json-3ed7b4.sh
cc: note: diagnostic msg: 

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

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196987-7>