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

Illegal instruction (core dumped) when running go on FreeBSD 12.2 on i386 Pentium III #42503

Closed
sanjayregmi opened this issue Nov 11, 2020 · 3 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@sanjayregmi
Copy link

sanjayregmi commented Nov 11, 2020

What version of Go are you using (go version)?

$ go version
1.15.2,1

Does this issue reproduce with the latest release?

Yes for the version packaged with FreeBSD which is noted above.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

Of course the command dumps an error but here is the system details:
uname -a >> FreeBSD bsd 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC i386
sysctl hw.model hw.machine hw.ncpu >>
hw.model: Intel(R) Pentium(R) III Mobile CPU 800MHz
hw.machine: i386
hw.ncpu: 1

What did you do?

type 'go' without quotes to get the error:
Illegal instruction (core dumped)

What did you expect to see?

Go to run.

What did you see instead?

Illegal instruction (core dumped)

@randall77
Copy link
Contributor

If you haven't already, try running with GO386=387. See https://github.com/golang/go/wiki/MinimumRequirements#386
(Note: this will change to GO386=softfloat in 1.16.)

If you could show us the output of the freebsd equivalent of cat /proc/cpuinfo (dmidecode? sysctl hw? Not sure.), that might help. In particular, does it have sse2?

@martisch
Copy link
Contributor

martisch commented Nov 11, 2020

The used CPU is noted in the issue title. There are no Pentium III with SSE2 (was introduced in Pentium 4) so this could just be not having compiled the binary with GO386=387 to avoid the SSE2 instructions that CPU doesnt support.

@martisch martisch added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Nov 11, 2020
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Dec 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants