Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

clang33 crashes (sigabort) compiling perl module Math::Int128 on FreeBSD 9.1 i386 #16657

Open Quuxplusone opened 11 years ago

Quuxplusone commented 11 years ago
Bugzilla Link PR16658
Status NEW
Importance P normal
Reported by Kurt Jaeger (clang@opsec.eu)
Reported on 2013-07-19 00:17:34 -0700
Last modified on 2013-09-17 06:30:28 -0700
Version 3.3
Hardware PC FreeBSD
CC anakin.cs@gmail.com, llvm-bugs@lists.llvm.org, rafael@espindo.la
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
clang33 fails with

clang33 -c  -I.  -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing
-DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\" -DPIC -fPIC "-
I/usr/local/lib/perl5/5.16/mach/CORE"   Int128.c
[...]
UNREACHABLE executed!
Stack dump:
0.      Program arguments: /usr/local/llvm33/bin/clang -cc1 -triple i386-
portbld-freebsd9.1 -emit-obj -disable-free -disable-llvm-verifier -main-file-
name Int128.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-
aliasing -masm-verbose -mconstructor-aliases -target-cpu i486 -target-linker-
version 2.23.2 -coverage-file /usr/local/home/pi/myp/math/p5-Math-
Int128/work/Math-Int128-0.10/Int128.o -resource-dir
/usr/local/llvm33/bin/../lib/clang/3.3 -D VERSION="0.10" -D XS_VERSION="0.10" -
D PIC -I . -I /usr/local/lib/perl5/5.16/mach/CORE -O2 -fdebug-compilation-dir
/usr/local/home/pi/myp/math/p5-Math-Int128/work/Math-Int128-0.10 -ferror-limit
19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep -fobjc-default-
synthesize-properties -fdiagnostics-show-option -backend-option -vectorize-
loops -o Int128.o -x c Int128.c
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'Int128.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@XS_Math__Int128__mul'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
[...]
clang: note: diagnostic msg: /tmp/Int128-apBJtv.c
clang: note: diagnostic msg: /tmp/Int128-apBJtv.sh
[...]

The full details see

http://opsec.eu/backup/misc.tgz with
the full compile log and the two files mentioned above
and
http://opsec.eu/backup/port.tgz
with the full contents of the ports directory.

The problem came up updating and debugging the freebsd math/p5-Math-Int128 port,
see

http://www.freebsd.org/cgi/query-pr.cgi?pr=180487

for details.
Quuxplusone commented 11 years ago

Same problem with Math::Int128 0.11.

Quuxplusone commented 11 years ago

Same problem with Math::Int128 0.12