Summary: | net-proxy/squidguard-1.6.0 - checking for pthread_create in -lpthread... no // Thread library not found, this may cause problems if your db libraries require threading support, but most of the time it is not an issue. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sergey Popov (RETIRED) <pinkbyte> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
other.tar.bz2 |
Description
Agostino Sarubbo
![]() Created attachment 648306 [details]
build.log
build log and emerge --info
Created attachment 648308 [details]
other.tar.bz2
other logs
configure:3844: x86_64-pc-linux-gnu-clang -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -I/usr/include/db5.3 -I/usr/include -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/local/BerkeleyDB/lib -L/usr/lib conftest.c >&5 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crt1.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crti.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtbegin.o is incompatible with elf_x86_64 ld.lld: error: /var/tmp/portage/net-proxy/squidguard-1.6.0/temp/conftest-a84eb6.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtend.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crtn.o is incompatible with elf_x86_64 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) It's injecting -L/usr/lib in configure.ac. Should be easy to get rid of. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8135845b8bc6721e7537e46f7033537cf9ac30f6 commit 8135845b8bc6721e7537e46f7033537cf9ac30f6 Author: Sergey Popov <pinkbyte@gentoo.org> AuthorDate: 2020-12-08 12:45:34 +0000 Commit: Sergey Popov <pinkbyte@gentoo.org> CommitDate: 2020-12-08 12:49:03 +0000 net-proxy/squidguard: fix building with clang Also correct build-time dependencies Reported-by: Agostino Sarubbo <ago@gentoo.org> Closes: https://bugs.gentoo.org/731680 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergey Popov <pinkbyte@gentoo.org> net-proxy/squidguard/squidguard-1.6.0.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) |