[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 --- Comment #8 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #7) > Some of them, no? Only if one rebuilds all the new ABI std::regex using > objects with newer gcc. Ah yes, good point. > On the other side, was std::regex a

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 --- Comment #7 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #4) > (In reply to TC from comment #0) > - some programs consistently using the new ABI would get two identical > definitions of _Scanner member functions, but that

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 --- Comment #5 from rguenther at suse dot de --- On Mon, 13 Jan 2025, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 > > --- Comment #3 from Jonathan Wakely --- > (In reply to Jonathan Wakely from comment

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 --- Comment #4 from Jonathan Wakely --- (In reply to TC from comment #0) > It may be too late to fix this though, but it's nice to at least have an > issue to track it. I think it might be OK to add the abi_tag("__cxx11") now. It could cause p

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > It fails if you mix old and new ABIs in a single executable. More precisely, if you mix std::regex compiled with the old and new ABIs in a single executable

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 --- Comment #2 from Jonathan Wakely --- It fails if you mix old and new ABIs in a single executable. Using either ABI consistently throughout the entire program works OK. If you mix them and use std::regex, the linker picks either the old or new

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug libstdc++/118408] regex does not work under dual ABI

2025-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 Jonathan Wakely changed: What|Removed |Added Keywords||ABI Blocks|