Bug 448868

Summary: gcc Segmentation fault building Wine-1.0-rc2
Product: [Fedora] Fedora Reporter: Justin Venus <justin.venus>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-29 07:48:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
SPEC file used to reproduce the Seg-Fault
none
rpm-tmp.43477.txt none

Description Justin Venus 2008-05-29 05:46:00 UTC
Description of problem:
gcc Segmentation fault when building an rpm for Wine-1.0-rc2

Version-Release number of selected component (if applicable):


How reproducible:
Build a RPM for Wine-1.0-rc2 using the source RPM for wine-0.9.58-1 as a
template.  The attached specfile has the %patch directives commented out and is
modified just enough to make use of wine-1.0-rc2.tar.bz2 as the source.  This
happens everytime I attempt to build a RPM for Wine-1.0-rc2

Steps to Reproduce:
1. rpm -ihv
http://mirror.anl.gov/pub/fedora/linux/releases/9/Everything/source/SRPMS/wine-0.9.58-1.fc9.src.rpm
2. cd SOURCE; curl -LO
http://voxel.dl.sourceforge.net/sourceforge/wine/wine-1.0-rc2.tar.bz2
3. copy the attached specfile to your SPEC dir
4. rpmbuild -ba wine.spec
5. Segfault happens after 23 minutes on a Lenovo T60

Actual results:
gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall
-pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings
-Wtype-limits -Wpointer-arith  -O2 -g -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables  -o testlist.o testlist.c
{standard input}: Assembler messages:
{standard input}:7412: Warning: end of file not at end of a line; newline inserted
{standard input}:7745: Error: unknown pseudo-op: `.l'
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [menu.o] Error 1
make[2]: Leaving directory `/home/jvenus/rpm/BUILD/wine-1.0-rc2/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: *** Waiting for unfinished jobs....
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole capture.o
mci.o mixer.o mmio.o timer.o wave.o    testlist.o  -o winmm_test.exe.so
../../../libs/port/libwine_port.a -lwinmm -luser32 -lkernel32
make[2]: Leaving directory `/home/jvenus/rpm/BUILD/wine-1.0-rc2/dlls/winmm/tests'
make[1]: Leaving directory `/home/jvenus/rpm/BUILD/wine-1.0-rc2/dlls'
make: *** [dlls] Error 2
error: Bad exit status from /home/jvenus/rpm/tmp/rpm-tmp.43477 (%build)


Expected results:
build a source RPM and an installation RPM for Wine-1.0-rc2

Additional info:

Comment 1 Justin Venus 2008-05-29 05:46:00 UTC
Created attachment 307019 [details]
SPEC file used to reproduce the Seg-Fault

Comment 2 Justin Venus 2008-05-29 05:50:34 UTC
Created attachment 307020 [details]
rpm-tmp.43477.txt

contains information about my rpmbuild setup.

Comment 3 Jakub Jelinek 2008-05-29 07:48:10 UTC

*** This bug has been marked as a duplicate of 440139 ***