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

Bug 831724

Summary: sci-libs/eccodes-2.18.0 fails to compile: ld.lld: error: libeccodes.so: undefined reference to omp_init_nest_lock [--no-allow-shlib-undefined]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-01-21 11:32:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/eccodes-2.18.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-21 11:32:26 UTC
Created attachment 762990 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-21 11:32:27 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


ld.lld: error: lib/libeccodes.so: undefined reference to omp_init_nest_lock [--no-allow-shlib-undefined]
ld.lld: error: lib/libeccodes.so: undefined reference to omp_set_nest_lock [--no-allow-shlib-undefined]
ld.lld: error: lib/libeccodes.so: undefined reference to omp_unset_nest_lock [--no-allow-shlib-undefined]
ld.lld: error: lib/libeccodes.so: undefined reference to omp_init_nest_lock [--no-allow-shlib-undefined]