Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Out of memory compiling small wine-1.7.33/dlls/wineps.drv on i386 platform #22584

Open Quuxplusone opened 9 years ago

Quuxplusone commented 9 years ago
Bugzilla Link PR22585
Status NEW
Importance P normal
Reported by Pavel Polyakov (bsd@kobyla.org)
Reported on 2015-02-14 04:52:42 -0800
Last modified on 2015-02-18 12:20:09 -0800
Version 3.4
Hardware PC FreeBSD
CC llvm-bugs@lists.llvm.org, rafael@espindo.la
Fixed by commit(s)
Attachments driver-c7444a.c.gz (284787 bytes, application/gzip)
driver-c7444a.sh (668 bytes, application/octet-stream)
Blocks
Blocked by
See also
[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

-------------
Quuxplusone commented 9 years ago
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
Quuxplusone commented 9 years ago

Attached driver-c7444a.c.gz (284787 bytes, application/gzip): driver-c7444a.c.gz

Quuxplusone commented 9 years ago

Attached driver-c7444a.sh (668 bytes, application/octet-stream): driver-c7444a.sh