From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 95B513858C00; Sun, 5 Nov 2023 10:49:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95B513858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699181385; bh=4BF8kD3oqdI0OZG1qBgLM8uXbLJVilrjoo3S4QAzp6s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=G56M4+fyxp+3YNQxDzW1zG5JMV/KbjoWdJJfMVQDnGV8APXB4n6UkNMF6HNfm+em/ 5H1tb0WPEhtS6DLgw6ZvyvrPQ1FwOg0GvJ/ZgSJ/lfnm4u8C138YXjvQA++kQ+2Zta 6b9SS+YmjMtTcZv0XZqHPq5o5jzlxJJfjBiEO/Wc= From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug libbacktrace/112263] [C++23] std::stacktrace does not identify symbols in shared library Date: Sun, 05 Nov 2023 10:49:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libbacktrace X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: patch, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: vincenzo.innocente at cern dot ch X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112263 --- Comment #12 from vincenzo Innocente = --- confirm that the patch solves the issue c++ -std=3Dc++23 testStacktrace.cpp -lstdc++exp -g -DINLIB -fpic -shared -o liba.so -ldl;c++ -std=3Dc++23 testStacktrace.cpp -lstdc++exp -g -DINMAIN -L= . -la -Wl,-rpath=3D.; ./a.out 0# nested_func2(int) at /data/user/innocent/MallocProfiler/tests/testStacktrace.cpp:63 1# nested_func(int) at /data/user/innocent/MallocProfiler/tests/testStacktrace.cpp:93 2# func(int) at /data/user/innocent/MallocProfiler/tests/testStacktrace.cpp:101 3# main at /data/user/innocent/MallocProfiler/tests/testStacktrace.cpp:1= 06 4# __libc_start_main at :0 5# _start at :0 6# what is the last empty entry is a different story I suppose (not an issue at the moment). Thanks again for the fast action=