Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923986

Summary: dev-util/hip-5.7.1-r1 fails to compile: ld.lld: error: version script assignment of hip_4.2 to symbol hipExtModuleLaunchKernel failed: symbol not defined
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: candrews, gentoo, lockalsash, xgreenlandforwyy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-07 08:13:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/hip-5.7.1-r1 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-07 08:13:07 UTC
Created attachment 884448 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-07 08:13:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: hipamd/lib/libamdhip64.so.5.7.31921 
fatal: not a git repository (or any parent up to mount point /var/tmp)
ld.lld: error: version script assignment of 'hip_4.2' to symbol 'hipExtModuleLaunchKernel' failed: symbol not defined
Comment 3 Larry the Git Cow gentoo-dev 2024-03-08 19:22:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d572c991d49cdd8588264cdcf8ef1fd5e40adad

commit 2d572c991d49cdd8588264cdcf8ef1fd5e40adad
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-02-18 11:57:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-08 19:22:06 +0000

    dev-util/hip: workaround for ld.lld hipExtModuleLaunchKernel symbol not defined error
    
    Bug: https://bugs.gentoo.org/923986
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/hip/hip-5.7.1-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-08 19:32:11 UTC
Please use 'Closes:' in future where appropriate.