Skip to content

Test failures: Int overflow on 32 bits arches #319

Closed
@eclipseo

Description

@eclipseo

Go 1.15 rc 1 on Fedora Rawhide armv7h and i686:

# github.com/prometheus/procfs [github.com/prometheus/procfs.test]
./proc_maps_test.go:67:4: constant 93905347534848 overflows uintptr
./proc_maps_test.go:68:4: constant 93905347543040 overflows uintptr
./proc_maps_test.go:76:4: constant 93905347579904 overflows uintptr
./proc_maps_test.go:77:4: constant 93905347584000 overflows uintptr
./proc_maps_test.go:85:4: constant 93905365065728 overflows uintptr
./proc_maps_test.go:86:4: constant 93905365200896 overflows uintptr
./proc_maps_test.go:94:4: constant 140598276243456 overflows uintptr
./proc_maps_test.go:95:4: constant 140598291931136 overflows uintptr
./proc_maps_test.go:103:4: constant 140598291931136 overflows uintptr
./proc_maps_test.go:104:4: constant 140598292082688 overflows uintptr
./proc_maps_test.go:104:4: too many errors
FAIL	github.com/prometheus/procfs [build failed]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions