Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951368 - dev-lang/go-1.24.1: multiple redeclared functions
Summary: dev-lang/go-1.24.1: multiple redeclared functions
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-15 11:00 UTC by Rin Cat
Modified: 2025-03-16 15:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info (emerge-info.log,7.08 KB, text/x-log)
2025-03-15 11:00 UTC, Rin Cat
Details
build.log (build.log,5.18 KB, text/x-log)
2025-03-15 11:02 UTC, Rin Cat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rin Cat 2025-03-15 11:00:11 UTC
All go packages, includes the go compiler itself (self bootstrap, not dev-lang/go-bootstrap
)  failed to build due to:

+ /usr/lib/go/bin/go build -o cmd/dist/dist ./cmd/dist
# runtime
/usr/lib/go/src/runtime/map.go:877:6: mapiterinit redeclared in this block
        /usr/lib/go/src/runtime/linkname_swiss.go:91:6: other declaration of mapiterinit
/usr/lib/go/src/runtime/map.go:937:6: mapiternext redeclared in this block
        /usr/lib/go/src/runtime/linkname_swiss.go:144:6: other declaration of mapiternext
/usr/lib/go/src/runtime/map.go:1519:6: reflect_mapiterinit redeclared in this block
        /usr/lib/go/src/runtime/linkname_swiss.go:123:6: other declaration of reflect_mapiterinit
/usr/lib/go/src/runtime/map.go:1536:6: reflect_mapiternext redeclared in this block
        /usr/lib/go/src/runtime/linkname_swiss.go:173:6: other declaration of reflect_mapiternext
/usr/lib/go/src/runtime/map.go:1550:6: reflect_mapiterkey redeclared in this block
        /usr/lib/go/src/runtime/linkname_swiss.go:191:6: other declaration of reflect_mapiterkey
/usr/lib/go/src/runtime/map.go:1564:6: reflect_mapiterelem redeclared in this block
        /usr/lib/go/src/runtime/linkname_swiss.go:209:6: other declaration of reflect_mapiterelem
/usr/lib/go/src/runtime/map_fast32_swiss.go:18:6: mapaccess1_fast32 redeclared in this block
        /usr/lib/go/src/runtime/map_fast32.go:13:6: other declaration of mapaccess1_fast32
/usr/lib/go/src/runtime/map_fast32_swiss.go:29:6: mapaccess2_fast32 redeclared in this block
        /usr/lib/go/src/runtime/map_fast32.go:62:6: other declaration of mapaccess2_fast32
/usr/lib/go/src/runtime/map_fast32_swiss.go:41:6: mapassign_fast32 redeclared in this block
        /usr/lib/go/src/runtime/map_fast32.go:113:6: other declaration of mapassign_fast32
/usr/lib/go/src/runtime/map_fast32_swiss.go:52:6: mapassign_fast32ptr redeclared in this block
        /usr/lib/go/src/runtime/map_fast32.go:212:6: other declaration of mapassign_fast32ptr
/usr/lib/go/src/runtime/map_fast32_swiss.go:52:6: too many errors

Notice this is in a mixed LLVM/clang system.

Reproducible: Always
Comment 1 Rin Cat 2025-03-15 11:00:40 UTC
Created attachment 920852 [details]
emerge-info
Comment 2 Rin Cat 2025-03-15 11:02:27 UTC
Created attachment 920853 [details]
build.log