Summary: | net-irc/irssi-1.4.2 - meson.build: ERROR: Problem encountered: error linking with perl libraries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Sven Wegener <swegener> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | eschwartz93, monsieurp, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 net-irc:irssi-1.4.2:20221004-054243.log temp.tar.bz2 |
Description
Toralf Förster
2022-10-04 16:43:21 UTC
Created attachment 819901 [details]
emerge-info.txt
Created attachment 819904 [details]
emerge-history.txt
Created attachment 819907 [details]
environment
Created attachment 819910 [details]
etc.portage.tar.bz2
Created attachment 819913 [details]
logs.tar.bz2
Created attachment 819916 [details] net-irc:irssi-1.4.2:20221004-054243.log Created attachment 819919 [details]
temp.tar.bz2
``` Command line: clang -L/usr/lib64/perl5/5.36/x86_64-linux-quadmath/CORE /var/tmp/portage/net-irc/irssi-1.4.2/work/irssi-1.4.2-build/meson-private/tmp_4p3d1sw/testfile.c -o /var/tmp/portage/net-irc/irssi-1.4.2/work/irssi-1.4.2-build/meson-private/tmp_4p3d1sw/output.exe -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -O0 -Werror=implicit-function-declaration -march=native -fno-diagnostics-color -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -isystem/usr/lib64/perl5/5.36/x86_64-linux-quadmath/CORE -fPIC -Wl,-E -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--start-group -lperl -ldl -lm -lcrypt -lutil -Wl,--end-group -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Code: #include <EXTERN.h> #include <perl.h> int main() { perl_alloc(); return 0; } Compiler stdout: Compiler stderr: In file included from /var/tmp/portage/net-irc/irssi-1.4.2/work/irssi-1.4.2-build/meson-private/tmp_4p3d1sw/testfile.c:3: /usr/lib64/perl5/5.36/x86_64-linux-quadmath/CORE/perl.h:2388:13: fatal error: 'quadmath.h' file not found # include <quadmath.h> ^~~~~~~~~~~~ 1 error generated. Checking if "working Perl support" : links: NO meson.build:390:6: ERROR: Problem encountered: error linking with perl libraries ``` Apparently GCC quadmath does not exist as far as clang is concerned? Not familiar with Gentoo's x86_64-linux-quadmath/ perl directory but overall this just seems to be the compiler being deeply unhappy with the usability of perl in a code snippet. It looks like perl has been built by gcc with USE=quadmath enabled. As quadmath is gcc-only, building with clang fails, as the quadmath includes are in gcc's include directories. |