[LLVMbugs] [Bug 22585] New: Out of memory compiling small wine-1.7.33/dlls/wineps.drv on i386 platform

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 14 02:52:42 PST 2015


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

            Bug ID: 22585
           Summary: Out of memory compiling small
                    wine-1.7.33/dlls/wineps.drv on i386 platform
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bsd at kobyla.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

[META] Compiling Wine with clang i386
Compilation quickly successes on amd64 platform, but fails on i386

clang eats more than 2GB, then dies - pid 43319 (clang), uid 0: exited on
signal 11 (core dumped)


Stack dump:
0.      Program arguments: /usr/local/llvm34/bin/clang -cc1 -triple
i386-portbld-freebsd8.4 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name driver.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu athlon-xp
-target-linker-version 2.15 -coverage-file
/usr/obj/work/usr/ports/emulators/wine-devel/work/wine-1.7.33/dlls/wineps.drv/driver.o
-resource-dir /usr/local/llvm34/bin/../lib/clang/3.4.2 -D __WINESRC__ -D
_REENTRANT -I . -I ../../include -I /usr/local/include -O2 -Wall
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith
-fconst-strings -fdebug-compilation-dir
/usr/obj/work/usr/ports/emulators/wine-devel/work/wine-1.7.33/dlls/wineps.drv
-ferror-limit 19 -fmessage-length 235 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o driver.o -x c driver.c
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'driver.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@PSDRV_DeviceCapabilities'
clang: error: unable to execute command: Segmentation fault: 11 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: i386-portbld-freebsd8.4
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************

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

********************
gmake[1]: *** [driver.o] Error 254
gmake[1]: Leaving directory
`/usr/obj/work/usr/ports/emulators/wine-devel/work/wine-1.7.33/dlls/wineps.drv'


----------- script to run 

 "/usr/local/llvm34/bin/clang" -cc1 -triple i386-portbld-freebsd8.4 -emit-obj
-disable-free -disable-llvm-verifier -main-file-name driver.c
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing
-masm-verbose -mconstructor-aliases -target-cpu athlon-xp
-target-linker-version 2.15 -D "__WINESRC__" -D "_REENTRANT" -O2 -Wall
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith
-fconst-strings -ferror-limit 19 -fmessage-length 235 -mstackrealign
-fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -x c driver-c7444a.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/20150214/6f8e50de/attachment.html>


More information about the llvm-bugs mailing list