Bug 448868 - gcc Segmentation fault building Wine-1.0-rc2
Summary: gcc Segmentation fault building Wine-1.0-rc2
Keywords:
Status: CLOSED DUPLICATE of bug 440139
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4
Version: 9
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-29 05:46 UTC by Justin Venus
Modified: 2008-05-29 07:48 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-29 07:48:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
SPEC file used to reproduce the Seg-Fault (42.36 KB, application/octet-stream)
2008-05-29 05:46 UTC, Justin Venus
no flags Details
rpm-tmp.43477.txt (1.64 KB, application/octet-stream)
2008-05-29 05:50 UTC, Justin Venus
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.