Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698094 - sys-cluster/slurm-18.08.7 - ld.gold: error: wildcard match appears as both global and local in version '' in script
Summary: sys-cluster/slurm-18.08.7 - ld.gold: error: wildcard match appears as both gl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-20 08:56 UTC by Alessandro Barbieri
Modified: 2019-10-20 17:19 UTC (History)
3 users (show)

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


Attachments
slurm-18.08.7:20191019-020911.log (slurm-18.08.7:20191019-020911.log,298.20 KB, text/plain)
2019-10-20 08:57 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-10-20 08:56:26 UTC
make[5]: Leaving directory '/var/tmp/portage/sys-cluster/slurm-18.08.7/work/slurm-18.08.7/src/common'
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -DNUMA_VERSION1_COMPATIBILITY -Os -pipe -march=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -
Wclobbered -Wvolatile-register-var -Wdate-time -Os -pipe -march=native -mfpmath=sse -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wvolatile-register-var -
Wdate-time -floop-interchange -ftree-loop-distribute-patterns -fpredictive-commoning -ftree-loop-distribution -fsplit-paths -ftree-vectorize -ftree-partial-pre -fgcse-after-reload -fivopts -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp  -ggdb3 -Wall -g -O1 -fno-strict-aliasing  -avoid-version -Wl,--version-script=full_version.map -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -fuse-ld=bfd  -o libslurmfull.la -rpath /usr/lib64/slurm  ../../src/api/libslurmhelper.la
libtool: link: gcc -shared  -fPIC -DPIC  -Wl,--whole-archive ../../src/api/.libs/libslurmhelper.a -Wl,--no-whole-archive  -Wl,--as-needed -ldl -lgomp -lpthread  -Os -march=native -mfpmath=sse -fopenmp -pthread -Os -march=native -mfpmath=sse -fopenmp -pthread -Wl,-O1 -Wl,-fuse-ld=gold -ggdb3 -g -O1 -Wl,--version-script=full_version.map -Wl,-O1 -Wl,-O1 -Wl,-fuse-ld=gold -fuse-ld=bfd   -fopenmp -pthread -Wl,-soname -Wl,libslurmfull.so -o .libs/libslurmfull.so
libtool: warning: '-l' is ignored for archives/objects
libtool: warning: '-l' is ignored for archives/objects
libtool: warning: '-l' is ignored for archives/objects
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: wildcard match appears as both global and local in version '' in script
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:830: libslurmfull.la] Error 1

Builds with the bfd linker
Comment 1 Alessandro Barbieri 2019-10-20 08:57:14 UTC
Created attachment 593380 [details]
slurm-18.08.7:20191019-020911.log

buildlog
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-10-20 16:03:03 UTC
Slurm never supported gold, which can be seen from the ebuild.
Comment 3 Alessandro Barbieri 2019-10-20 17:03:33 UTC
Why not filter -Wl,-fuse-ld=gold then?
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-10-20 17:19:06 UTC
(In reply to Alessandro Barbieri from comment #3)
> Why not filter -Wl,-fuse-ld=gold then?

This already tracks gold being enable and disables it if it is (I have just chacked), have no idea how you hit this.