Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528076 - dev-lang/go: linked to system dylib file?
Summary: dev-lang/go: linked to system dylib file?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 05:47 UTC by yegle
Modified: 2014-11-03 20:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yegle 2014-11-03 05:47:33 UTC
Looks like clang was used to compile go and system level dylib was linked:

$ otool -L `which go`
/Users/ych/.gentoo/usr/bin/go:
	/usr/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 0.0.0, current version 0.0.0)
	/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 0.0.0, current version 0.0.0)

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2014-11-03 10:35:41 UTC
libSystem is like libc.  How does that indicate clang was used?
Comment 2 yegle 2014-11-03 17:20:59 UTC
Sorry I thought the link status is enough to prove system clang was used.

In fact I noticed this problem because I just updated XCode Command Line Tools before emerging dev-lang/go and the emerge failed with a message telling me to accept EULA before running clang command.
Comment 3 Fabian Groffen gentoo-dev 2014-11-03 20:23:06 UTC
Go's make.bash indeed seems to prefer Clang, fixed now.