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

gccgo: compilation fails on Darwin #463

Open
gopherbot opened this issue Dec 25, 2009 · 18 comments

Comments

@gopherbot
Copy link

commented Dec 25, 2009

by f.guerrieri:

What steps will reproduce the problem?
1. After the fix of issue #392 I updated the svn repo
2. from a clean objdir run configure and make
3. wait for the compilation to fail

What is the expected output? What do you see instead?

go1: warning: internal and protected visibility attributes not supported in
this configuration; ignored
go1: warning: internal and protected visibility attributes not supported in
this configuration; ignored
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Expected
comma after segment-name
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Rest of
line ignored. 1st junk character valued 32 ( ).
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Junk
character 92 (\).
/var/folders/q1/q1Dz7ZzsFY4lXXLuWTaMgU+++TI/-Tmp-//cc2HM7VZ.s:31:Rest of
line ignored. 1st junk character valued 49 (1).
make[3]: *** [runtime/libruntime.a] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgo] Error 2
make: *** [all] Error 2


What is your $GOOS?  $GOARCH?
darwin, 386

Which revision are you using? 

~/projects/gccgo 506 $ svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/branches/gccgo
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 155457
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 155452
Last Changed Date: 2009-12-24 08:51:30 +0100 (Gio, 24 Dic 2009)


Please provide any additional information below.

Tell me if you need the output of make and/or of configure. I get a good
number of warning during the build.
@gopherbot

This comment has been minimized.

Copy link
Author

commented Dec 25, 2009

Comment 1 by f.guerrieri:

oops, I meant issue #329, not issue #392 which is unrelated.
@rsc

This comment has been minimized.

Copy link
Contributor

commented Dec 28, 2009

Comment 2:

Labels changed: added gccgo.

Owner changed to i...@golang.org.

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Feb 26, 2010

Comment 3:

This error is coming from the .go_export section.  The gccgo import/export machinery 
will need an overhaul for Mac OS.  I don't know who will do that.

Status changed to LongTerm.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Jul 15, 2010

Comment 4:

Labels changed: added expertneeded.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Apr 20, 2011

Comment 5:

Status changed to HelpWanted.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Apr 20, 2011

Comment 6:

Issue #1721 has been merged into this issue.

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Apr 21, 2011

Comment 7:

See also http://gcc.gnu.org/PR46986
@gopherbot

This comment has been minimized.

Copy link
Author

commented Jun 13, 2011

Comment 8 by khronnuz:

When I try to compile on Snow Leopard 10.6.7 with xcode 4.2 I get:
cgo_bsd.go:5[_obj/cgo_bsd.cgo1.go:8]: undefined: _Cconst_AI_MASK
cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_ALL
cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_V4MAPPED
cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_CANONNAME
make[1]: *** [_go_.6] Error 1
make: *** [net.install] Error 1
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Jun 13, 2011

Comment 9:

This issue is about gccgo, not 6g.  Comment #8 is about 6g.  You should open a new issue
for 6g.
@rsc

This comment has been minimized.

Copy link
Contributor

commented Jun 13, 2011

Comment 10:

issue #1881
@gopherbot

This comment has been minimized.

Copy link
Author

commented Sep 2, 2011

Comment 11 by anders.f.bjorklund:

The gcc bug report (46896) has patches for import/export as per Comment #3:
http://gcc.gnu.org/bugzilla/attachment.cgi?id=25177 (__GNU_GO __go_export)
@rsc

This comment has been minimized.

Copy link
Contributor

commented Oct 6, 2011

Comment 12:

Labels changed: added priority-low.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Dec 9, 2011

Comment 13:

Labels changed: added priority-someday.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Dec 4, 2013

Comment 15:

Labels changed: added repo-gccgo.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Mar 3, 2014

Comment 16:

Adding Release=None to all Priority=Someday bugs.

Labels changed: added release-none.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc added Gccgo and removed priority-someday labels Apr 10, 2015

@rsc rsc modified the milestones: Gccgo, Unplanned Apr 15, 2015

@ALTree

This comment has been minimized.

Copy link
Member

commented Jan 29, 2018

Since

OS X 10.6 (Snow Leopard) is explicitly unsupported.

this issue can be closed.

@ALTree ALTree closed this Jan 29, 2018

@ianlancetaylor ianlancetaylor changed the title gccgo: compilation fails on snow leopard gccgo: compilation fails on Darwin Jan 29, 2018

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Jan 29, 2018

I like the way you think, but it doesn't work on any more recent release of Darwin either. I changed the title.

@ALTree

This comment has been minimized.

Copy link
Member

commented Jan 30, 2018

@ianlancetaylor oops. Thanks for noticing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.