larsth / go9p

Automatically exported from code.google.com/p/go9p
Other
0 stars 0 forks source link

the linker segfaults when compiling ufs.go #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. goinstall go9p.googlecode.com/hg/p && goinstall go9p.googlecode.com/hg/p/srv 
&& goinstall go9p.googlecode.com/hg/p/clnt
2. cd $GOROOT/src/pkg/go9p.googlecode.com/hg/p/srv/examples
3. make

What is the expected output? What do you see instead?
expected: compilation succeeds
actual result:
$ make
8g -o ufs.8 ufs.go
8l -o ufs ufs.8
8l: conflicting definitions for "http".URL
ufs.8:  type "http".URL struct { Raw string; Scheme string; RawAuthority 
string; RawUserinfo string; Host string; RawPath string; Path string; 
OpaquePath bool; RawQuery string; Fragment string }
        func (url *"http".URL) IsAbs () bool
        func (base *"http".URL) ParseURL (ref string) (? *"http".URL, ? "os".Error)
        func (base *"http".URL) ResolveReference (ref *"http".URL) *"http".URL
        func (url *"http".URL) String () string
/home/johnny/dev/golang/pkg/linux_386/go9p.googlecode.com/hg/p/srv.a(_go_.8):   
type "http".URL struct { Raw string; Scheme string; RawAuthority string; 
RawUserinfo string; Host string; RawPath string; Path string; OpaquePath bool; 
RawQuery string; Fragment string }
        func (url *"http".URL) String () string
make: *** [ufs] Segmentation fault
make: *** Deleting file `ufs'

What version of the product are you using? On what operating system?
latest hg tip:
$ hg identify
99d3f81dd91e tip

Please provide any additional information below.
I noticed this when my project wouldn't compile: 
http://github.com/soul9/go-ircfs , in this case I know it's the linker that 
segfaults

Original issue reported on code.google.com by sor...@gmail.com on 22 Jan 2011 at 4:03

GoogleCodeExporter commented 9 years ago
trying to track down the bug: this happens on a machine with a rather new gcc 
(unstalble gentoo), and i can't reproduce on an other machine now (neither 
ubuntu 10.10 or archlinux) so i'm going for gcc brokenness.
You can probably close this bug if you can't reproduce.
sorry for the noise

Original comment by sor...@gmail.com on 22 Jan 2011 at 4:41

GoogleCodeExporter commented 9 years ago
fixed.

Original comment by mirtchov...@gmail.com on 27 Mar 2012 at 4:54