[Bug libstdc++/108235] FAIL: g++.dg/compat/abi/bitfield1 cp_compat_x_tst.o-cp_compat_y_tst.o link

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 6 15:06:57 GMT 2023


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

--- Comment #10 from John David Anglin <danglin at gcc dot gnu.org> ---
No.  We still have the following symbols in tzdb.o:
                 U __atomic_compare_exchange_4
                 U __atomic_fetch_add_4
                 U __atomic_fetch_add_8
                 U __atomic_fetch_sub_8

There was this warning compiling tzdb.o:
../../../../../gcc/libstdc++-v3/src/c++20/tzdb.cc: In function 'std::string
std::chrono::{anonymous}::zoneinfo_dir()':
../../../../../gcc/libstdc++-v3/src/c++20/tzdb.cc:983:44: warning: the address
of 'const char* __gnu_cxx::zoneinfo_dir_override()' will never be NULL
[-Waddress]
  983 |       static const string dir = __gnu_cxx::zoneinfo_dir_override
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++20/tzdb.cc:77:29: note: 'const char*
__gnu_cxx::zoneinfo_dir_override()' declared here
   77 |   [[gnu::weak]] const char* zoneinfo_dir_override()
      |                             ^~~~~~~~~~~~~~~~~~~~~


More information about the Gcc-bugs mailing list