Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913112 - dev-libs/elfutils-0.189-r1 fail to compile with llvm toolchain (lld 17)
Summary: dev-libs/elfutils-0.189-r1 fail to compile with llvm toolchain (lld 17)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-08-27 13:16 UTC by ahmedsoliman
Modified: 2023-08-29 06:36 UTC (History)
2 users (show)

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


Attachments
build logs (elf-utils-build.log.gz,6.34 KB, application/gzip)
2023-08-27 13:16 UTC, ahmedsoliman
Details
emerge --info (emerge_info.gz,3.44 KB, application/gzip)
2023-08-27 13:17 UTC, ahmedsoliman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ahmedsoliman 2023-08-27 13:16:35 UTC
Created attachment 868830 [details]
build logs

Immediate Error:

ld.lld: error: version script assignment of 'ELFUTILS_1.0' to symbol 'elf_scncnt' failed: symbol not defined
Comment 1 ahmedsoliman 2023-08-27 13:17:59 UTC
Created attachment 868831 [details]
emerge --info
Comment 2 Kostadin Shishmanov 2023-08-28 08:49:36 UTC
I have reported this upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=30729
Comment 3 Larry the Git Cow gentoo-dev 2023-08-29 06:36:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e484e2b1ba4e5f215c6bba5efc10070e95452be

commit 5e484e2b1ba4e5f215c6bba5efc10070e95452be
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-29 06:25:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-29 06:25:17 +0000

    dev-libs/elfutils: fix build w/ lld 17
    
    Closes: https://bugs.gentoo.org/913112
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/elfutils/elfutils-0.189-r4.ebuild         | 125 +++++++++++++++++++++
 .../elfutils/files/elfutils-0.189-lld-17.patch     |  31 +++++
 2 files changed, 156 insertions(+)