[Bug 221423] gcc std::locale(LocaleName) crashes instead of throwing an exception
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Apr 2022 14:36:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221423 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #15 from Dimitry Andric <dim@FreeBSD.org> --- (In reply to Gerald Pfeifer from comment #14) There's something in the ports gccs that makes them all link automatically to /usr/local/lib/gcc10/libstdc++.so.6: % for i in 8 9 10 11; do g++$i bug22143.cpp -o bug221423-gcc$i; done % for i in 8 9 10 11; do ldd ./bug221423-gcc$i; done ./bug221423-gcc8: libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x821663000) libm.so.5 => /lib/libm.so.5 (0x8226cc000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x823302000) libc.so.7 => /lib/libc.so.7 (0x8245ed000) ./bug221423-gcc9: libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x822cd3000) libm.so.5 => /lib/libm.so.5 (0x8218a1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x822089000) libc.so.7 => /lib/libc.so.7 (0x823e62000) ./bug221423-gcc10: libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x82206e000) libm.so.5 => /lib/libm.so.5 (0x823de2000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x822ec6000) libc.so.7 => /lib/libc.so.7 (0x8246c0000) ./bug221423-gcc11: libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x821ed0000) libm.so.5 => /lib/libm.so.5 (0x82176b000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8229b1000) libc.so.7 => /lib/libc.so.7 (0x822ad4000) I don't have to pass any rpath options, something implicitly stuffs in the gcc10 libdstdc++.so. And none of the executables crash here... FreeBSD 14-CURRENT as of ~2022-03-31. -- You are receiving this mail because: You are the assignee for the bug.