panic: unexpected 32-bit segment
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
```shell
(base) ➜ hello_bud bud build
# command-line-arguments
panic: unexpected 32-bit segment
goroutine 1 [running]:
cmd/link/internal/ld.machoCombineDwarf(0x10505d798?, 0x14001b5e060?, 0x14000e76080, {0x14001496140?, 0x1?}, {0x14002ad6060, 0x53})
/usr/local/go/src/cmd/link/internal/ld/macho_combine_dwarf.go:218 +0xfb4
cmd/link/internal/ld.(*Link).hostlink(0x1400014e000)
/usr/local/go/src/cmd/link/internal/ld/lib.go:1824 +0x44b0
cmd/link/internal/ld.Main(_, {0x10, 0x20, 0x1, 0x1f, 0x1e, 0x7c00000, {0x104f93ed6, 0x14}, {0x104f9785b, ...}, ...})
/usr/local/go/src/cmd/link/internal/ld/main.go:378 +0x1444
main.main()
/usr/local/go/src/cmd/link/main.go:72 +0xd98
| exit status 2
```
go version go1.19.1 darwin/arm64
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `bud build` with Go 1.19.1 on darwin/arm64 and inspect the Go linker stack trace at `cmd/link/internal/ld/macho_combine_dwarf.go:218`. Determine whether the failure is specific to this environment; done means the build completes without the `unexpected 32-bit segment` panic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100