Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927177 - net-dns/pdns-recursor-5.0.5 fails to compile: undefined reference to rust::cxxbridge1::String::String()
Summary: net-dns/pdns-recursor-5.0.5 fails to compile: und...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
Depends on:
Reported: 2024-03-17 08:09 UTC by Agostino Sarubbo
Modified: 2024-05-28 06:45 UTC (History)
1 user (show)

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

build.log (build.log,944.61 KB, text/plain)
2024-03-17 08:09 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-17 08:09:45 UTC

Issue: net-dns/pdns-recursor-5.0.3 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-17 08:09:47 UTC
Created attachment 887799 [details]

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.
Comment 3 Agostino Sarubbo gentoo-dev 2024-05-28 06:45:23 UTC
lto_tinderbox has reproduced this issue with version 5.0.5 - Updating summary.