Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904511 - sys-libs/libomp-15.0.7-r2: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: runtime/src/libomp.so: version node not found for symbol
Summary: sys-libs/libomp-15.0.7-r2: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL: https://github.com/llvm/llvm-project/...
Whiteboard: Needs backport to 15.x
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-04-18 14:18 UTC by Tamas Jantvik
Modified: 2023-05-21 06:14 UTC (History)
2 users (show)

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


Attachments
build log (libomp-15.0.7-r2:20230418-101653.log.gz,13.08 KB, application/gzip)
2023-04-18 14:20 UTC, Tamas Jantvik
Details
emerge --info (emerge-info.log,22.54 KB, text/plain)
2023-04-18 14:21 UTC, Tamas Jantvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas Jantvik 2023-04-18 14:18:50 UTC
I can't figure this out. sys-libs/libomp-15.0.7-r2 does not build on my systems.
I have a system that hasn't been updated for a while, and there the update fails. I see other strange compile failures on that system as well, but I start to wonder whether it's related. I have tried to an "emerge -e @world", even, but that does not help.
My other systems have sys-libs/libomp-15.0.7-r2 merged, but I realized that recompiling it on those systems fails with the same error.

emerge -qvpO sys-libs/libomp
[ebuild   R   ] sys-libs/libomp-15.0.7-r2  USE="hwloc offload ompt -debug -test -verify-sig" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="-AMDGPU -NVPTX"

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-libs/libomp-15.0.7-r2
Comment 1 Tamas Jantvik 2023-04-18 14:20:19 UTC
Created attachment 860315 [details]
build log
Comment 2 Tamas Jantvik 2023-04-18 14:21:30 UTC
Created attachment 860316 [details]
emerge --info
Comment 3 Tamas Jantvik 2023-04-23 05:58:39 UTC
I'm guessing I have something statically built that isn't handled during the building of  this.
Comment 5 Tamas Jantvik 2023-04-23 06:17:51 UTC
I had to drop the last hunk. But that fixed it. Thanks.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-23 06:18:29 UTC
Thanks!
Comment 7 Larry the Git Cow gentoo-dev 2023-05-21 06:14:13 UTC
The bug has been closed via the following commit(s):

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

commit afdcc652ec73f6e918d4a10eac416e8e9249d763
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-05-21 06:03:22 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-05-21 06:14:09 +0000

    sys-libs/libomp: Backport build fixes as 15.0.7-r6
    
    Closes: https://bugs.gentoo.org/904511
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-libs/libomp/Manifest                |   1 +
 sys-libs/libomp/libomp-15.0.7-r6.ebuild | 133 ++++++++++++++++++++++++++++++++
 2 files changed, 134 insertions(+)