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

Building with GOARCH=386 no longer works #1703

Closed
zyxophoj opened this issue Jan 27, 2025 · 2 comments
Closed

Building with GOARCH=386 no longer works #1703

zyxophoj opened this issue Jan 27, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@zyxophoj
Copy link

Here's the shortest failing program I can make:

package main
import "go.opentelemetry.io/otel"
func main() {}

Building with GOARCH=386 (e.g. GOPATH=wherever GO111MODULE=off GOARCH=386 test.go ) fails with:

src/go/src/go.opentelemetry.io/auto/sdk/tracer.go:79:38: math.MaxUint32 (untyped int constant 4294967295) overflows int
src/go/src/go.opentelemetry.io/auto/sdk/tracer.go:84:38: math.MaxUint32 (untyped int constant 4294967295) overflows int

It looks like len() returns a signed int, causing min to compare signed ints, and MaxUint32 is too big to be a signed int in 32-bit mode.

This is happening on Ubuntu 22.04.4 with go 1.21.0 and go 1.23.5; I suspect any version of go that supports min will have this problem.

@zyxophoj zyxophoj added the bug Something isn't working label Jan 27, 2025
@MrAlias
Copy link
Contributor

MrAlias commented Jan 28, 2025

Thank you for your interest in the project. We do not currently support this architecture. If you would like to submit a PR to fix this, and the other build issues for this architecture, we can help review them. However, we do not plan to prioritize this in the near future.

@MrAlias
Copy link
Contributor

MrAlias commented Feb 7, 2025

Closing as this is not an issue we currently plan to resolve.

@MrAlias MrAlias closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants