https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119110
Bug ID: 119110
Summary: [15 regression] 25_algorithms/move/constrained.cc etc.
FAIL
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: sparc-sun-solaris2.11, i386-pc-solaris2.11
Between 20250226 (55bf33f37fe3d5acf1d21773587fdaaf9452db28) and 20250303
(2a502f9e4c5c6a8e908ef1b0b5c03fb2e4bd4390),
several tests regressed on Solaris, both SPARC and x86, 32 and 64-bit:
+FAIL: 25_algorithms/move/constrained.cc -std=gnu++20 (test for excess errors)
+UNRESOLVED: 25_algorithms/move/constrained.cc -std=gnu++20 compilation failed
to produce executable
+FAIL: 25_algorithms/move/constrained.cc -std=gnu++26 (test for excess errors)
+UNRESOLVED: 25_algorithms/move/constrained.cc -std=gnu++26 compilation failed
to produce executable
+FAIL: 25_algorithms/move_backward/constrained.cc -std=gnu++20 (test for
excess
errors)
+UNRESOLVED: 25_algorithms/move_backward/constrained.cc -std=gnu++20
compilatio
n failed to produce executable
+FAIL: 25_algorithms/move_backward/constrained.cc -std=gnu++26 (test for
excess
errors)
+UNRESOLVED: 25_algorithms/move_backward/constrained.cc -std=gnu++26
compilatio
n failed to produce executable
FAIL: 25_algorithms/move/constrained.cc -std=gnu++20 (test for excess errors)
Excess errors:
Undefined first referenced
symbol in file
_ZN8pr1056099iter_moveERKNS_1IE /var/tmp//cc2d8BBd.o
_ZNK8pr1056091IeqES0_ /var/tmp//cc2d8BBd.o
_ZN8pr1056091IppEv /var/tmp//cc2d8BBd.o
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
The failure only happens when using Solaris ld, GNU ld is fine.