Bug 643800

Summary: Internal error: Segmentation fault (program ld) when compiling Google Go
Product: [Fedora] Fedora Reporter: Albert Strasheim <fullung>
Component: mingw32-gccAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: fedora-mingw, kalevlember, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-18 07:13:59 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:

Description Albert Strasheim 2010-10-18 07:04:55 UTC
Description of problem:

mingw32-gcc's ld segfaults when compiling Google Go.

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

mingw32-gcc-4.4.2-2.fc13.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Read http://golang.org/doc/install.html
2. hg clone -r release https://go.googlecode.com/hg/ go (might need tip)
3. cd go
4. hg patch --no-commit go_make_mingw.diff
5. cd src
6. AR=i686-pc-mingw32-ar GOHOSTARCH=386 CC=i686-pc-mingw32-gcc GOOS=windows GOARCH=386 ./make.bash
  
Actual results:

quietgcc -o 8g -L"/home/alberts/go"/lib ../8l/enam.o list.o galign.o gobj.o ggen.o gsubr.o cgen.o cgen64.o cplx.o peep.o reg.o  ../gc/gc.a  -lbio -l9 -lm
i686-pc-mingw32-gcc: Internal error: Segmentation fault (program ld)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

Expected results:

8g command should compile

Additional info:

Comment 1 Albert Strasheim 2010-10-18 07:13:59 UTC
D

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