[Bug 229754] devel/libslang2 crash during build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 13 13:30:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229754

            Bug ID: 229754
           Summary: devel/libslang2 crash during build
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga at FreeBSD.org
          Reporter: mi at FreeBSD.org
                CC: dim at FreeBSD.org
             Flags: maintainer-feedback?(garga at FreeBSD.org)
          Assignee: garga at FreeBSD.org

Created attachment 195110
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195110&action=edit
The C file after preprocessing

Trying to update this port on FreeBSD 10.4-STABLE (clang-3.4.1) as of January
6:

cc -I/home/usr/ports/devel/libslang2/work/slang-2.3.2/src -shared -fPIC -O2
-pipe -march=nocona  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing
-I/home/usr/ports/devel/libslang2/work/slang-2.3.2/src -c
/home/usr/ports/devel/libslang2/work/slang-2.3.2/modules/stats_kendall.c
cc: warning: argument unused during compilation: '-shared'
Stack dump:
0.      Program arguments: /usr/bin/cc -cc1 -triple i386-unknown-freebsd10.4
-emit-obj -disable-free -disable-llvm-verifier -main-file-name stats_kendall.c
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing
-masm-verbose -mconstructor-aliases -target-cpu nocona -coverage-file
/home/usr/ports/devel/libslang2/work/slang-2.3.2/modules/i386objs/stats_kendall.o
-resource-dir /usr/bin/../lib/clang/3.4.1 -D LIBICONV_PLUG -I
/home/usr/ports/devel/libslang2/work/slang-2.3.2/src -I
/home/usr/ports/devel/libslang2/work/slang-2.3.2/src -O2
-fdebug-compilation-dir
/home/usr/ports/devel/libslang2/work/slang-2.3.2/modules/i386objs -ferror-limit
19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o stats_kendall.o -x c
/home/usr/ports/devel/libslang2/work/slang-2.3.2/modules/stats_kendall.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/home/usr/ports/devel/libslang2/work/slang-2.3.2/modules/stats_kendall.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_pSLstats_kendall_tau'
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: i386-unknown-freebsd10.4
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/stats_kendall-bc8f2f.c
cc: note: diagnostic msg: /tmp/stats_kendall-bc8f2f.sh
cc: note: diagnostic msg: 

********************
*** Error code 254

Stop.
make[4]: stopped in
/home/usr/ports/devel/libslang2/work/slang-2.3.2/modules/i386objs
*** Error code 1


The above cited .c file is attached. The .sh is below:

 "/usr/bin/cc" -cc1 -triple i386-unknown-freebsd10.4 -emit-obj -disable-free
-disable-llvm-verifier -main-file-name stats_kendall.c -mrelocation-model pic
-pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-mconstructor-aliases -target-cpu nocona -D "LIBICONV_PLUG" -O2 -ferror-limit
19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-x c stats_kendall-bc8f2f.c


Quite possibly, a problem with the base (compiler), rather than the compiler,
but the port-maintainer needs to know too...

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


More information about the freebsd-ports-bugs mailing list