<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Out of memory compiling small wine-1.7.33/dlls/wineps.drv on i386 platform"
href="http://llvm.org/bugs/show_bug.cgi?id=22585">22585</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Out of memory compiling small wine-1.7.33/dlls/wineps.drv on i386 platform
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bsd@kobyla.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>[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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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
-------------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>