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

sanjayregmi opened this issue Nov 11, 2020 · 3 comments


Copy link

@sanjayregmi sanjayregmi commented Nov 11, 2020

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

$ go version

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)

Copy link

@randall77 randall77 commented Nov 11, 2020

If you haven't already, try running with GO386=387. See
(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?

Copy link

@martisch 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.

Copy link

@gopherbot gopherbot commented Dec 11, 2020

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.)

@gopherbot gopherbot closed this Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants