-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: unable to run go in solaris 5.10 #36335
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
Comments
Hi, unfortunately solaris/sparc is not an officially supported combination, so issues encountered when using the port at github.com/4ad/go should not be reported in this issue tracker. In this golang-dev message, Aram wrote:
Moreover, in this other message he noted that
If this information is up to date and I'm closing this issue, since I don't believe this is actionable from the official Go compiler side. |
For what it's worth, gccgo does support SPARC Solaris. |
@ianlancetaylor , can you brief a little on how I can make use of this to build the usql library that I have mentioned. Thanks in advance. |
The simplest way would be to find a prebuilt version of GCC for Solaris that has been configured to include gccgo support. If you want to build gccgo yourself, which is not an easy task, see https://golang.org/doc/install/gccgo . |
What version of Go are you using (
go version
)?Using this port "https://github.com/4ad/go" to use for Solaris 5.10. Compiled the above port using go1.13.3
Does this issue reproduce with the latest release?
No support for GOOS=solaris/GOARCH=sparc64 combination with Go out of box
What operating system and processor architecture are you using (
go env
)?Compiled sparc64 port on Linux 4.15.0-72-generic ubuntu 16.04.1
What did you do?
Compiled the sparc64 port(https://github.com/4ad/go) in Linux machine with GOOS=solaris and GOARCH=sparc64
Copied the compiled sparc64 GO package to solaris 5.10 to compile usql, but unable to check go version command also
file command output is as follows:
$file go
go : ELF 64-bit MSB executable SPARCv9 version 1, dynamically linked, not stripped, no debugging information available
./go version output is attached in screenshot
What did you expect to see?
Go running so that I can build usql (https://github.com/xo/usql)
What did you see instead?
Attached the screenshot

The text was updated successfully, but these errors were encountered: