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 weathercenter app fails on openbsd/mips64 #1

Open
peter-mount opened this issue Jun 21, 2023 · 0 comments
Open

Building weathercenter app fails on openbsd/mips64 #1

peter-mount opened this issue Jun 21, 2023 · 0 comments
Assignees
Labels

Comments

@peter-mount
Copy link
Owner

When building

GO BUILD openbsd mips64 weatherbot
GO BUILD openbsd mips64 weathercenter
# command-line-arguments
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x561686]

goroutine 1 [running]:
cmd/link/internal/ld.dynrelocsym(0xc000188000, 0x7f8fb73d5db9?)
        /usr/local/go/src/cmd/link/internal/ld/data.go:917 +0x306
cmd/link/internal/ld.(*dodataState).dynreloc(0xc000978f00, 0xc000188000)
        /usr/local/go/src/cmd/link/internal/ld/data.go:935 +0x9b
cmd/link/internal/ld.(*Link).dodata(0xc000188000, {0xc004d3a000, 0x61489, 0x61489})
        /usr/local/go/src/cmd/link/internal/ld/data.go:1566 +0x45d
cmd/link/internal/ld.Main(_, {0x8, 0x20, 0x1, 0x1d, 0x1f, 0x0, {0x0, 0x0}, {0x6902ba, ...}, ...})
        /usr/local/go/src/cmd/link/internal/ld/main.go:338 +0x153b
main.main()
        /usr/local/go/src/cmd/link/main.go:72 +0xedb
make[1]: *** [Makefile.gen:1168: builds/openbsd/mips64/bin/weathercenter] Error 1
make: *** [Makefile:69: build] Error 2

This seems to be related to golang/go#58240

Updating go from 1.19 to 1.20 doesn't fix it

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

No branches or pull requests

1 participant