On Tue, 2023-10-10 at 21:05 -0700, Sundeep KOKKONDA via
lists.openembedded.org wrote:
> [Yocto#14875]
> The '--remap-path-prefix' option removes all references to build directory 
> structure in the debug information within the compiled output for Cargo 
> dependencies and the project's binary.
> However, some references to build directories remains in the final binary in 
> .rustc section in the form of compressed metadata and this makes the build 
> output dependent on the folder structure of the computer it's compiled on.
> So, for reproducible builds, use the configuration option 'remap-debuginfo = 
> true' along with the '--remap-path-prefix'.
> 
> Signed-off-by: Sundeep KOKKONDA <sundeep.kokko...@windriver.com>
> ---
>  meta/lib/oeqa/selftest/cases/reproducible.py | 2 --
>  meta/recipes-devtools/rust/rust_1.70.0.bb    | 1 +
>  2 files changed, 1 insertion(+), 2 deletions(-)

Thanks for that!

I know this has taken a lot of work to get to the bottom of. It is
great to have OE-Core at 100% reproducible again! :)

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188951): 
https://lists.openembedded.org/g/openembedded-core/message/188951
Mute This Topic: https://lists.openembedded.org/mt/101890610/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to