https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123908
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |---
Last reconfirmed|2026-01-31 00:00:00 |2026-02-11
Ever confirmed|0 |1
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #11)
> This is why I mentioned there is package mistake of a stale version of the
> .dll.a here.
I don't think that's possible, the package build stars from a completely fresh
system and builds from scratch. There is no way to get a stale file.
I can confirm it with a local build. The symbols are in libstdc++-6.dll but not
in libstdc++.dll.a:
$ objdump -t src/.libs/libstdc++-6.dll | grep get_once
[52469](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 1) 0x0000000000137490
_ZSt19__get_once_callablev
[52471](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x0000000000135660
_ZSt15__get_once_callv
[52473](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x0000000000137490
.text$_ZSt19__get_once_callablev
[52475](sec 5)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000000043fc
.xdata$_ZSt19__get_once_callablev
[52477](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x0000000000003540
.pdata$_ZSt19__get_once_callablev
[52479](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x0000000000135660
.text$_ZSt15__get_once_callv
[52481](sec 5)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x0000000000004400
.xdata$_ZSt15__get_once_callv
[52483](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x000000000000354c
.pdata$_ZSt15__get_once_callv
$ objdump -t src/.libs/libstdc++.dll.a | grep get_once
$ objdump -t src/.libs/libstdc++.dll.a | grep once
[ 5](sec 1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000000000000000 __once_proxy
[ 6](sec 3)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000000000000000
__imp___once_proxy
[ 5](sec 3)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000000000000000
__imp___emutls_v._ZSt15__once_callable
[ 6](sec 5)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000000000000000
__nm___emutls_v._ZSt15__once_callable
[ 5](sec 3)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000000000000000
__imp___emutls_v._ZSt11__once_call
[ 6](sec 5)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0000000000000000
__nm___emutls_v._ZSt11__once_call