https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109889

--- Comment #16 from Jeevitha <jeevitha at gcc dot gnu.org> ---

Jonathan Wakely,
Unable to recreate the issue.
Tested on Power9 (RHEL 9.4) with GCC 14.1.0, GCC 13, and the trunk, using glibc
2.34, 2.35, and 2.36.
Tested on Power9 (SUSE 15) with the GCC trunk, using glibc 2.31 (system
default), 2.36, and 2.39.
Tested on Power10 (RHEL 9.4) with GCC 13 and GCC 14, using glibc 2.34, 2.36,
2.37, and 2.39.

Any suggestions?
I used the following options:
-O2 -ffunction-sections -Wl,--gc-sections -D_GLIBCXX_DEBUG -std=c++17

sample command:
~/gcc/install/bp_gcc_14_1/bin/g++  -O2
~/gcc/gcc/./libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc
-I~/gcc/gcc/libstdc++-v3/testsuite/util -ffunction-sections -Wl,--gc-sections
-D_GLIBCXX_DEBUG -Wl,-rpath,$GCC_HOME/lib64 -o out -std=c++17
-Wl,-rpath,$GLIBC_HOME/lib  -Wl,--dynamic-linker=$GLIBC_HOME/lib/ld64.so.2

Reply via email to