Created attachment 895951 [details] emerge --info =dev-perl/HTML-Parser-3.820.0 * Package: dev-perl/HTML-Parser-3.820.0:0 * Repository: gentoo * Maintainer: perl@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking HTML-Parser-3.82.tar.gz to /tmp/portage/dev-perl/HTML-Parser-3.820.0/work >>> Source unpacked in /tmp/portage/dev-perl/HTML-Parser-3.820.0/work >>> Preparing source in /tmp/portage/dev-perl/HTML-Parser-3.820.0/work/HTML-Parser-3.82 ... >>> Source prepared. >>> Configuring source in /tmp/portage/dev-perl/HTML-Parser-3.820.0/work/HTML-Parser-3.82 ... * Using ExtUtils::MakeMaker * perl Makefile.PL AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc CPP=x86_64-pc-linux-gnu-gcc -E LD=x86_64-pc-linux-gnu-gcc NM=x86_64-pc-linux-gnu-nm RANLIB=x86_64-pc-linux-gnu-ranlib OPTIMIZE=-O2 -pipe -march=native -flto -Werror=lto-type-mismatch -Werror=odr -Werror=strict-aliasing LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none Checking if your kit is complete... Looks good 'CPP' is not a known MakeMaker parameter name. 'NM' is not a known MakeMaker parameter name. Generating a Unix-style Makefile Writing Makefile for HTML::Parser Writing MYMETA.yml and MYMETA.json >>> Source configured. >>> Compiling source in /tmp/portage/dev-perl/HTML-Parser-3.820.0/work/HTML-Parser-3.82 ... make -j1 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' 'OPTIMIZE=-O2 -pipe -march=native -flto -Werror=lto-type-mismatch -Werror=odr -Werror=strict-aliasing' cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm cp lib/HTML/Parser.pm blib/lib/HTML/Parser.pm cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm Running Mkbootstrap for Parser () chmod 644 "Parser.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Parser.bs blib/arch/auto/HTML/Parser/Parser.bs 644 "/usr/bin/perl" "/usr/lib64/perl5/5.38/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.38/ExtUtils/typemap' -typemap '/tmp/portage/dev-perl/HTML-Parser-3.820.0/work/HTML-Parser-3.82/typemap' Parser.xs > Parser.xsc mv Parser.xsc Parser.c x86_64-pc-linux-gnu-gcc -c -pipe -O2 -march=native -mtune=native -fomit-frame-pointer -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -flto -Werror=lto-type-mismatch -Werror=odr -Werror=strict-aliasing -DVERSION=\"3.82\" -DXS_VERSION=\"3.82\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux/CORE" -DMARKED_SECTION Parser.c rm -f blib/arch/auto/HTML/Parser/Parser.so x86_64-pc-linux-gnu-gcc -shared -pipe -O2 -march=native -mtune=native -fomit-frame-pointer -fno-strict-aliasing -fuse-ld=gold Parser.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -o blib/arch/auto/HTML/Parser/Parser.so \ \ /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.gold: pack-relative-relocs: unknown -z option /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.gold: use the --help option for usage information collect2: error: ld returned 1 exit status make: *** [Makefile:496: blib/arch/auto/HTML/Parser/Parser.so] Error 1
Bug 933096 - dev-libs/intel-compute-runtime-24.17.29377.6 error ld.gold: pack-relative-relocs: unknown -z option https://bugs.gentoo.org/933096
same issue with `dev-perl/XML-Parser-2.470.0::gentoo`
(In reply to turtlefrog from comment #2) > same issue with `dev-perl/XML-Parser-2.470.0::gentoo` forget that, different issue.
a rebuild of `dev-lang/perl` fixed it.
Then it's the usual Perl *FLAGS problem and you built perl with -fuse-ld=gold. *** This bug has been marked as a duplicate of bug 261375 ***