Skip to content

math/big: broken mips and mips64 builders #73472

Closed
@randall77

Description

@randall77

After https://go-review.googlesource.com/c/go/+/664938 the linux/mips and linux/mips64 builders are failing, with errors like

../../go/src/internal/runtime/math/math.go:9:20: ^uintptr(0) (constant 8589934591 of type uintptr) overflows uintptr

I suspect something is wrong with the mips & mips64 assembly. That is causing the compiler's constant computations, which use math/big, to be wrong.

Cross-compiling mips binaries from linux/amd64 works fine. I think the toolchain itself needs to be running on mips to demonstrate the problem.

@rsc

Metadata

Metadata

Assignees

Labels

FixPendingIssues that have a fix which has not yet been reviewed or submitted.arch-mips

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions