Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927906 - sys-libs/slang-2.3.3-r1: ld.lld: error: version script assignment of 'SLANG2' to symbol 'SLang_Rline_Quit' failed: symbol not defined
Summary: sys-libs/slang-2.3.3-r1: ld.lld: error: version script assignment of 'SLANG2'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2024-03-26 14:47 UTC by Sv. Lockal
Modified: 2024-03-26 20:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sv. Lockal 2024-03-26 14:47:22 UTC
sys-libs/slang-2.3.3-r1 fails to build with Clang/ld.lld environment.

Failure message:

cd /var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_64.amd64/src/amd64elfobjs && clang -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O2 -Wl,--as-needed -fdiagnostics-color=always -shared -Wl,-O1 -Wl,--version-script,/var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_64.amd64/src/slang.ver -Wl,-soname,libslang.so.2 -o libslang.so.2.3.3 sltermin.o sldisply.o slutty.o slang.o slarray.o slclass.o slcmd.o slerr.o slgetkey.o slkeymap.o slmalloc.o slmath.o slmemchr.o slmemcmp.o slmemcpy.o slmemset.o slmisc.o slparse.o slprepr.o slregexp.o slrline.o slsearch.o slsmg.o slstd.o sltoken.o sltypes.o slxstrng.o slcurses.o slscroll.o slsignal.o slkeypad.o slerrno.o slstring.o slstruct.o slcmplex.o slarrfun.o slimport.o slpath.o slarith.o slassoc.o slcompat.o slposdir.o slstdio.o slproc.o sltime.o slstrops.o slbstr.o slpack.o slintall.o slistruc.o slposio.o slnspace.o slarrmis.o slospath.o slscanf.o sllower.o slupper.o slischar.o slutf8.o slwcwidth.o slwclut.o slcommon.o sllist.o slexcept.o slfpu.o slsig.o slboseos.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O2 -Wl,--as-needed -fdiagnostics-color=always -ldl -lm -lc
ld.lld: error: version script assignment of 'SLANG2' to symbol 'SLang_Rline_Quit' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This issue was previously fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2b4a39461adb558b3dbe8bdcadde871a07c0c64 in slang-2.3.3, but patch was not added to slang-2.3.3-r1 for some reason.
Comment 1 Larry the Git Cow gentoo-dev 2024-03-26 20:25:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ac7bca48782d28a09616861759e2ec214b7f50

commit 44ac7bca48782d28a09616861759e2ec214b7f50
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-03-26 14:51:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-26 20:23:46 +0000

    sys-libs/slang: readd "fix the build with LLD 17" patch to 2.3.3-r1
    
    This patch was originally added in https://github.com/gentoo/gentoo/pull/35129, but for some reason was lost in r1
    
    Closes: https://bugs.gentoo.org/927906
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35932
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/slang/slang-2.3.3-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)