[LLVMbugs] [Bug 18337] New: ppc32 C compiler aborts with unreachable executed compiling last vlc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 28 07:28:43 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18337

            Bug ID: 18337
           Summary: ppc32 C compiler aborts with unreachable executed
                    compiling last vlc
           Product: clang
           Version: 3.3
          Hardware: Macintosh
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: luciano at mannucci.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11787
  --> http://llvm.org/bugs/attachment.cgi?id=11787&action=edit
Preprocessed source

here is the stack dump:
UNREACHABLE executed at
/usr/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1451!
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple powerpc-unknown-freebsd9.2
-S -disable-free -main-file-name subtitles.c -mrelocation-model pic -pic-level
2 -relaxed-aliasing -mconstructor-aliases -target-cpu ppc -target-feature
+altivec -coverage-file /tmp/subtitles-uGZ0sq.s -resource-dir
/usr/bin/../lib/clang/3.3 -dependency-file input/.deps/subtitles.Tpo
-sys-header-deps -MP -MT input/subtitles.lo -D HAVE_CONFIG_H -D
MODULE_STRING="main" -D LOCALEDIR="/usr/local/share/locale" -D
PKGDATADIR="/usr/local/share/vlc" -D PKGLIBDIR="/usr/local/lib/vlc" -D
HAVE_DYNAMIC_PLUGINS -D HAVE_DBUS -D PIC -I . -I .. -I /usr/local/include -I
../include -I ../include -I /usr/ports/multimedia/vlc/work/vlc-2.1.2/include -I
/usr/local/include/dirac -I /usr/local/include/speex -I /usr/local/include -I
/usr/local/include/dbus-1.0 -I /usr/local/include/dbus-1.0/include -O2 -Wall
-Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var
-Werror-implicit-function-declaration -std=gnu99 -fconst-strings
-fno-dwarf-directory-asm -fdebug-compilation-dir
/usr/ports/multimedia/vlc/work/vlc-2.1.2/src -ferror-limit 19 -fmessage-length
80 -fvisibility hidden -faltivec -pthread -mstackrealign -fno-signed-char
-fobjc-runtime=gnustep -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops
-o /tmp/subtitles-uGZ0sq.s -x c input/subtitles.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'input/subtitles.c'.
4.    Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@subtitles_Detect'
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)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: powerpc-unknown-freebsd9.2
Thread model: posix

and the run script:
/usr/bin/clang -cc1 -triple powerpc-unknown-freebsd9.2 -S -disable-free
-main-file-name subtitles.c -mrelocation-model pic -pic-level 2
-relaxed-aliasing -mconstructor-aliases -target-cpu ppc -target-feature
+altivec -sys-header-deps -D "HAVE_CONFIG_H" -D ""MODULE_STRING=\"main\""" -D
""LOCALEDIR=\"/usr/local/share/locale\""" -D
""PKGDATADIR=\"/usr/local/share/vlc\""" -D ""PKGLIBDIR=\"/usr/local/lib/vlc\"""
-D "HAVE_DYNAMIC_PLUGINS" -D "HAVE_DBUS" -D "PIC" -O2 -Wall -Wextra
-Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings
-Wmissing-prototypes -Wvolatile-register-var
-Werror-implicit-function-declaration -std=gnu99 -fconst-strings
-fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length 80 -fvisibility
hidden -faltivec -pthread -mstackrealign -fno-signed-char
-fobjc-runtime=gnustep -fobjc-default-synthesize-properties
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops
-x c subtitles-wCwNW0.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131228/040f6b18/attachment.html>


More information about the llvm-bugs mailing list