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

Bug 927177

Summary: net-dns/pdns-recursor-5.0.3 fails to compile: lib.rs.h:863:(.text+0x219): undefined reference to rust::cxxbridge1::String::String()
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: CONFIRMED ---    
Severity: normal CC: swegener
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-17 08:09:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-dns/pdns-recursor-5.0.3 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-17 08:09:47 UTC
Created attachment 887799 [details]
build.log

build log and emerge --info
Comment 2 Sven Wegener gentoo-dev 2024-04-28 20:18:24 UTC
I'm able to reproduce and the issue comes from the settings code written in rust not being compiled with lto and the top-level linking then failing. Need to look further into it, as forcing -Clinker-plugin-lto for the rust code causes other build issues.