From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 03C4B3858C52; Fri, 3 Feb 2023 12:36:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03C4B3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675427794; bh=HbgTY1CGyjbSbjdSlwcNNODz6Y2+U4OPuxSkwzUFwlk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=poz6cJdGdEjhyAFPc6PUxWDzir+hZCL7gqmiZQ7iSWEzgzyQhHLqPVv+xiapmFUcA ua0XyPTOXo3ULqHJhpci2hnzdcKq89A/IoH43i2rzzgrdQCp1Jh+CvY78P4ROoCD8Y dyAE5mi1yBqF5CW7fTcmCJ43qW3gXogmuu9ewvb8= From: "mliska at suse dot cz" To: elfutils-devel@sourceware.org Subject: [Bug tools/30072] FAIL: run-addr2line-C-test.sh Date: Fri, 03 Feb 2023 12:36:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mliska at suse dot cz X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30072 --- Comment #2 from Martin Liska --- > It looks like the other way around (but the test-suite.log is confusing). > Could you check whether configure detected DEMANGLE support? >=20 > libstdc++ demangle support : yes Yes, I really miss it: configure:8679: checking for __cxa_demangle in -lstdc++ configure:8702: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOUR= CE=3D3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=3Dreturn-type -flto=3Dauto -ffat-lto-objec= ts -Werror=3Ddate-time -g -flto=3Dauto -ffat-lto-objects conftest.c -lstdc++ = >&5 /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lstdc++: No such file or directory collect2: error: ld returned 1 exit status configure:8702: $? =3D 1 configure: failed program was: Oh, apparently my spec file has not BuildRequires of the gcc-c++ package. Adding that, all is green. >=20 > If not, then the fix would be: >=20 > diff --git a/tests/run-addr2line-C-test.sh b/tests/run-addr2line-C-test.sh > index 8c63d78d..1780157d 100755 > --- a/tests/run-addr2line-C-test.sh > +++ b/tests/run-addr2line-C-test.sh > @@ -18,6 +18,11 @@ >=20=20 > . $srcdir/test-subr.sh >=20=20 > +if test -n "$ELFUTILS_DISABLE_DEMANGLE"; then > + echo "demangler unsupported" > + exit 77 > +fi > + > # See run-addr2line-i-test.sh > testfiles testfile-inlines This would fix it as well.. --=20 You are receiving this mail because: You are on the CC list for the bug.=