https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/cxxtools-3.0-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses clang as a compiler and lld as a linker
Created attachment 759826 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to ASN1_INTEGER_to_BN [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to ASN1_TIME_diff [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to ASN1_TIME_set [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to BIO_free [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to BIO_new [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to BIO_number_written [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to BIO_read [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to BIO_s_mem [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to BN_bn2hex [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to CRYPTO_free [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to ERR_error_string [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to OPENSSL_sk_num [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to PEM_read_X509 [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_NAME_print_ex [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_free [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_get_issuer_name [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_get_serialNumber [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_get_subject_name [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_getm_notAfter [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to X509_getm_notBefore [--no-allow-shlib-undefined] ld.lld: error: ../src/.libs/libcxxtools.so: undefined reference to ERR_error_string [--no-allow-shlib-undefined]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7966df0d4206f1f85a392e7325048ebe41be40e7 commit 7966df0d4206f1f85a392e7325048ebe41be40e7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-14 12:11:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-14 12:11:15 +0000 dev-libs/cxxtools: fix build with GCC 12; fix build with lld Closes: https://bugs.gentoo.org/851837 Closes: https://bugs.gentoo.org/829662 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/cxxtools/cxxtools-3.0-r2.ebuild | 45 ++++++++++++++++++++++ .../cxxtools/files/cxxtools-3.0-gcc12-time.patch | 11 ++++++ .../files/cxxtools-3.0-lld-linking-openssl.patch | 11 ++++++ 3 files changed, 67 insertions(+)