public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
@ 2022-12-26 15:31 danglin at gcc dot gnu.org
  2023-01-04 15:35 ` [Bug libstdc++/108228] " cvs-commit at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2022-12-26 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108228
           Summary: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol
                    '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
                CC: jwakely.gcc at gmail dot com
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/gcc/testsuite/g++/../../xg++
-B
/home/dave/gnu/gcc/objdir64/gcc/testsuite/g++/../../ exceptions_enabled16691.cc
-fdiagnostics-plain-output -nostdinc++
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-h
pux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/home/dave/gnu/gcc/objdir64/
hppa64-hp-hpux11.11/libstdc++-v3/include
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/l
ibsupc++ -I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu
/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -S -o
exceptions_enabled
16691.s
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol
'_ZN9__gnu_cxx21zoneinfo_dir_ov
errideEv' in load module
'/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/./libs
tdc++-v3/src/.libs/libstdc++.sl.6'.
compiler exited with status 1
FAIL: g++.dg/compat/abi/bitfield1 cp_compat_main_tst.o compile

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/108228] /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
  2022-12-26 15:31 [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' danglin at gcc dot gnu.org
@ 2023-01-04 15:35 ` cvs-commit at gcc dot gnu.org
  2023-01-05  0:51 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-04 15:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <iains@gcc.gnu.org>:

https://gcc.gnu.org/g:96cba8ebe512887025a9e8b74833074d8aa844c8

commit r13-4997-g96cba8ebe512887025a9e8b74833074d8aa844c8
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Sat Dec 24 10:55:09 2022 +0000

    libstdc++: Export the __gnu_cxx::zoneinfo_dir_override symbol [PR108228].

    This symbol needs to be visible in the library interface for Darwin
    to override it with a user-provided one.

    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

            PR libstdc++/108228

    libstdc++-v3/ChangeLog:

            * config/abi/pre/gnu.ver (GLIBCXX_3.4):
            Add __gnu_cxx::zoneinfo_dir_override().

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/108228] /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
  2022-12-26 15:31 [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' danglin at gcc dot gnu.org
  2023-01-04 15:35 ` [Bug libstdc++/108228] " cvs-commit at gcc dot gnu.org
@ 2023-01-05  0:51 ` cvs-commit at gcc dot gnu.org
  2023-01-05  0:54 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-05  0:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:b1ad748754401613b5cf8e5d46b38ad1ee49d07a

commit r13-5003-gb1ad748754401613b5cf8e5d46b38ad1ee49d07a
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Jan 4 16:45:14 2023 +0000

    libstdc++: Only use std::atomic<tzdb_list::_Node*> if lock free [PR108228]

    This fixes linker errors for hppa-hp-hpux11.11 due to an undefined weak
    symbol and the use of atomic operations that require libatomic.

    The weak symbol can simply be defined, which we already do for darwin.

    The std::atomic<_Node*> is only an optimization, so can be avoided for
    targets where the underlying atomic ops aren't available without help
    from libatomic. The accesses to the std::atomic<_Node*> can be
    abstracted behind a new API for getting and setting the cached value,
    and then the atomics can be used conditionally.

    libstdc++-v3/ChangeLog:

            PR libstdc++/108228
            PR libstdc++/108235
            * config/abi/pre/gnu.ver: Move zoneinfo_dir_override export to
            the latest symbol version.
            * src/c++20/tzdb.cc (USE_ATOMIC_SHARED_PTR): Define to 0 if
            atomic<_Node*> is not always lock free.
            (USE_ATOMIC_LIST_HEAD): New macro.
            [__hpux__] (__gnu_cxx::zoneinfo_dir_override()): Provide
            definition of weak symbol.
            (tzdb_list::_Node::_S_head): Rename to _S_head_cache.
            (tzdb_list::_Node::_S_list_head): New function for accessing
            list head efficiently.
            (tzdb_list::_Node::_S_cache_list_head): New function for
            updating _S_list_head.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/108228] /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
  2022-12-26 15:31 [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' danglin at gcc dot gnu.org
  2023-01-04 15:35 ` [Bug libstdc++/108228] " cvs-commit at gcc dot gnu.org
  2023-01-05  0:51 ` cvs-commit at gcc dot gnu.org
@ 2023-01-05  0:54 ` redi at gcc dot gnu.org
  2023-01-06 21:21 ` cvs-commit at gcc dot gnu.org
  2023-01-08 20:49 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2023-01-05  0:54 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
   Last reconfirmed|                            |2023-01-05
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I hope this is fixed now.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/108228] /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
  2022-12-26 15:31 [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-01-05  0:54 ` redi at gcc dot gnu.org
@ 2023-01-06 21:21 ` cvs-commit at gcc dot gnu.org
  2023-01-08 20:49 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-06 21:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:74852a3a2cecbd6d7ac6ddc2d1a9b60b83367d60

commit r13-5053-g74852a3a2cecbd6d7ac6ddc2d1a9b60b83367d60
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jan 6 20:54:23 2023 +0000

    libstdc++: Suppress -Waddress warning in tzdb.cc [PR108228]

    For some tarets the weak symbol is always defined, so we get a warning
    that its address is never null. The warning isn't useful in this case,
    so suppress it.

    libstdc++-v3/ChangeLog:

            PR libstdc++/108228
            * src/c++20/tzdb.cc (zoneinfo_dir): Add diagnostic pragma.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/108228] /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'
  2022-12-26 15:31 [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-01-06 21:21 ` cvs-commit at gcc dot gnu.org
@ 2023-01-08 20:49 ` danglin at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2023-01-08 20:49 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
Yes.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-08 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 15:31 [Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' danglin at gcc dot gnu.org
2023-01-04 15:35 ` [Bug libstdc++/108228] " cvs-commit at gcc dot gnu.org
2023-01-05  0:51 ` cvs-commit at gcc dot gnu.org
2023-01-05  0:54 ` redi at gcc dot gnu.org
2023-01-06 21:21 ` cvs-commit at gcc dot gnu.org
2023-01-08 20:49 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).