Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

gox silently ignores unregistered targets #154

Open
mcandre opened this issue Aug 18, 2021 · 1 comment
Open

gox silently ignores unregistered targets #154

mcandre opened this issue Aug 18, 2021 · 1 comment

Comments

@mcandre
Copy link

mcandre commented Aug 18, 2021

Hi, I am configuring gox to output:

  • Linux RISV-V targets (linux/riscv)
  • Windows ARM64 targets (windows/arm64)
  • FreeBSD ARM64 targets (freebsd/arm64)
  • Linux, Windows, and FreeBSD AMD64 targets

The official Go release documentation says these should be perfectly valid targets. However, gox silently ignores the first three targets. No error emits to the console. No non-zero status code reports. Neither does gox actually produce the desired binaries.

I'm not even using cgo. This is Hello World I'm trying to port.

@mcandre mcandre changed the title gox silently ignores certain targets gox silently ignores unregistered targets Aug 18, 2021
@dsorm
Copy link

dsorm commented Oct 25, 2021

I know this is a kind of a late response but better than nothing I guess😁

The issue is that gox doesn't know any targets that are newer than Go 1.6, but yes, it's a good idea that it should at least output something when it doesn't know the target.
I did try to add new targets to my fork, since I needed them, you can try it out, it may help you.

I'll also try to add message when the target is not known by gox.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants