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

all: Running golang compiled binary on QNX #23633

Closed
iamsaanvi opened this issue Jan 31, 2018 · 2 comments
Closed

all: Running golang compiled binary on QNX #23633

iamsaanvi opened this issue Jan 31, 2018 · 2 comments

Comments

@iamsaanvi
Copy link

Hello All ,

I need solution for this issue .

I was wondering if anybody managed to get golang compiled binary to run on 32-bit QNX?

I compiled it with GOARCH=386 GOOS=linux go build -o blah

But when I start it in QNX I get core dump. I double check and the time of executable matches type of native qnx binaries. Appreciate any suggestions.

Thank you
Saanvi S

@mvdan
Copy link
Member

mvdan commented Jan 31, 2018

I assume that it doesn't run Linux? What makes you think that a Linux binary would run on it?

@ALTree
Copy link
Member

ALTree commented Jan 31, 2018

This is more or less a dup of issue #12045 ("Is there a plan to support QNX operating system?").

The answer is that no, Go does not support QNX, and for this reason it is expected that go binaries targeting linux/386 will not work on QNX. There are no plans for a QNX port (that I know of).

Closing this, since it sounds more like a question ("does go work on QNX?") than a Go bug, and the Go project does not use the issue tracker for questions, only for Go bugs.

@ALTree ALTree closed this as completed Jan 31, 2018
@mikioh mikioh changed the title Running golang compiled binary on QNX all: Running golang compiled binary on QNX Feb 1, 2018
@golang golang locked and limited conversation to collaborators Feb 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants