Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the linker segfaults when compiling ufs.go #11

Closed
GoogleCodeExporter opened this issue Oct 3, 2015 · 2 comments
Closed

the linker segfaults when compiling ufs.go #11

GoogleCodeExporter opened this issue Oct 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

fixed.

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant