Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875275 - net-libs/libsrsirc-0.0.14-r1 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Summary: net-libs/libsrsirc-0.0.14-r1 - clang-15: error: linker command failed with ex...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emir Marincic
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 07:30 UTC by Toralf Förster
Modified: 2024-04-04 20:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.18 KB, text/plain)
2022-10-05 07:30 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.51 KB, application/x-bzip)
2022-10-05 07:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.07 KB, text/plain)
2022-10-05 07:30 UTC, Toralf Förster
Details
environment (environment,22.32 KB, text/plain)
2022-10-05 07:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.88 KB, application/x-bzip)
2022-10-05 07:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.91 KB, application/x-bzip)
2022-10-05 07:30 UTC, Toralf Förster
Details
net-libs:libsrsirc-0.0.14-r1:20221005-060756.log (net-libs:libsrsirc-0.0.14-r1:20221005-060756.log,29.25 KB, text/plain)
2022-10-05 07:30 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,13.41 KB, application/x-bzip)
2022-10-05 07:30 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-05 07:30:13 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CC   --mode=link clang  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o helloworld helloworld-helloworld.o ../libsrsirc/libsrsirc.la -lssl 
libtool: link: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/icat icat-icat_core.o icat-icat_init.o icat-icat_misc.o icat-icat_serv.o icat-icat_user.o  ../logger
/bin/sh ../libtool  --tag=CC   --mode=link clang  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o iwat iwat-iwat.o ../libsrsirc/libsrsirc.la -lssl 
ld.lld: error: ../libsrsirc/.libs/libsrsirc.so: undefined reference to ERR_print_errors_fp [--no-allow-shlib-undefined]
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
libtool: link: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/helloworld helloworld-helloworld.o  ../libsrsirc/.libs/libsrsirc.so -lssl
make[2]: *** [Makefile:417: icat] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221004-190004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit c2ae3640d63924b2c84b48ec9492ec93259dbf48
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 05:33:22 2022 +0000

    2022-10-05 05:33:21 UTC

emerge -qpvO net-libs/libsrsirc
[ebuild  N    ] net-libs/libsrsirc-0.0.14-r1  USE="ssl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 07:30:15 UTC
Created attachment 820717 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 07:30:16 UTC
Created attachment 820720 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 07:30:17 UTC
Created attachment 820723 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 07:30:18 UTC
Created attachment 820726 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 07:30:19 UTC
Created attachment 820729 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 07:30:20 UTC
Created attachment 820732 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 07:30:21 UTC
Created attachment 820735 [details]
net-libs:libsrsirc-0.0.14-r1:20221005-060756.log
Comment 8 Toralf Förster gentoo-dev 2022-10-05 07:30:22 UTC
Created attachment 820738 [details]
temp.tar.bz2
Comment 9 jy6x2b32pie9 2024-04-04 20:49:53 UTC
I can't reproduce it on clang-17 with upstream repository and their build instructions on same host and with same configuration parameters that cause error in ebuild.
So, issue for new release. https://github.com/fstd/libsrsirc/issues/6