Summary: | dev-lang/gnat-gpl-2021-r1 build failure (libstdc++.so.6: version `GLIBCXX_3.4.30' not found) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Duchesne <aether> |
Component: | Current packages | Assignee: | Gentoo Linux ADA team <ada> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | toolchain, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=843119 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | dev-lang:gnat-gpl-2021-r1 (build log) |
Description
David Duchesne
2022-08-28 21:48:49 UTC
Created attachment 801721 [details]
dev-lang:gnat-gpl-2021-r1 (build log)
maybe rebuild of dev-libs/icu can help ? Hi, Forgot to mention that after having installed sys-devel/gcc-12.2.0 and switched to it. (and sourced /etc/profile), I rebuilt @system and then @world. So dev-lib/icu was already rebuilt twice with gcc-12. Nonetheless, I tried your suggestion and rebuilt dev-libs/icu again, unfortunately it still fails and log shows the exact same error. Also, strings /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/libstdc++.so.6 | grep GLIBCXX | tail -n2 GLIBCXX_3.4.30 GLIBCXX_DEBUG_MESSAGE_LENGTH So I don't understand why it is reported as being "not found". hmm, the error seems to come from msgfmt if you just run msgfmt does it error out? what is the output of ldd msgfmt ? This definitely sounds like bug 843119. The issue is that it tries to use the just-built libstdc++ (which is too old and missing symbols) with a system ICU built against a newer gcc & libstdc++. It should be enough to update the Ada ebuilds to the latest GCC 10 patches we're using, although might need to backport to 10.3.0. (In reply to Tupone Alfredo from comment #4) > hmm, the error seems to come from msgfmt > > if you just run msgfmt does it error out? > > what is the output of > ldd msgfmt > > ? No error. ldd $(which msgfmt) linux-vdso.so.1 (0x00007ffe52f6e000) libgettextsrc-0.21.so => /usr/lib64/libgettextsrc-0.21.so (0x00007985e7f3a000) libgettextlib-0.21.so => /usr/lib64/libgettextlib-0.21.so (0x00007985e7e5a000) libc.so.6 => /lib64/libc.so.6 (0x00007985e7c5a000) libacl.so.1 => /lib64/libacl.so.1 (0x00007985e7c4a000) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007985e7ada000) libtextstyle.so.0 => /usr/lib64/libtextstyle.so.0 (0x00007985e7a3a000) libm.so.6 => /lib64/libm.so.6 (0x00007985e7962000) /lib64/ld-linux-x86-64.so.2 (0x00007985e7fd2000) libicuuc.so.71 => /usr/lib64/libicuuc.so.71 (0x00007985e776a000) libz.so.1 => /lib64/libz.so.1 (0x00007985e774a000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007985e7722000) libicudata.so.71 => /usr/lib64/libicudata.so.71 (0x00007985e5a00000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/libstdc++.so.6 (0x00007985e5600000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/libgcc_s.so.1 (0x00007985e59da000) (In reply to Sam James from comment #5) > This definitely sounds like bug 843119. > > The issue is that it tries to use the just-built libstdc++ (which is too old > and missing symbols) with a system ICU built against a newer gcc & libstdc++. > > It should be enough to update the Ada ebuilds to the latest GCC 10 patches > we're using, although might need to backport to 10.3.0. Alright! I will report back when these patches are available then. For now I still can use the previously compiled gnat-gpl, I still have the xpak too. Thanks. Need to update gcc related patches and only after, I can update gnat-gpl ebuild *** Bug 864226 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65d2fdfea526104ef7734f86ba72d7d72e1462e1 commit 65d2fdfea526104ef7734f86ba72d7d72e1462e1 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2022-09-30 16:48:38 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2022-09-30 16:50:52 +0000 dev-lang/gnat-gpl: add backported gcc-patches Closes: https://bugs.gentoo.org/868789 Closes: https://bugs.gentoo.org/867196 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-lang/gnat-gpl/Manifest | 1 + ...-gpl-2021-r3.ebuild => gnat-gpl-2021-r4.ebuild} | 23 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) *** Bug 871990 has been marked as a duplicate of this bug. *** |