Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934465 - dev-perl/HTML-Parser-3.820.0 - ld.gold: pack-relative-relocs: unknown -z option
Summary: dev-perl/HTML-Parser-3.820.0 - ld.gold: pack-relative-relocs: unknown -z option
Status: RESOLVED DUPLICATE of bug 261375
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-17 15:49 UTC by turtlefrog
Modified: 2024-06-18 06:00 UTC (History)
1 user (show)

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


Attachments
emerge --info =dev-perl/HTML-Parser-3.820.0 (file_934465.txt,8.53 KB, text/plain)
2024-06-17 15:49 UTC, turtlefrog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description turtlefrog 2024-06-17 15:49:47 UTC
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
Comment 1 turtlefrog 2024-06-17 15:57:20 UTC
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
Comment 2 turtlefrog 2024-06-17 16:00:39 UTC
same issue with `dev-perl/XML-Parser-2.470.0::gentoo`
Comment 3 turtlefrog 2024-06-17 16:06:52 UTC
(In reply to turtlefrog from comment #2)
> same issue with `dev-perl/XML-Parser-2.470.0::gentoo`

forget that, different issue.
Comment 4 turtlefrog 2024-06-17 16:18:47 UTC
a rebuild of `dev-lang/perl` fixed it.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-18 06:00:53 UTC
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 ***