-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for Reproducible Build bugs and challenges #129080
Copy link
Copy link
Open
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-reproducibilityArea: Reproducible / deterministic buildsArea: Reproducible / deterministic buildsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCD-diagnostic-infraDiagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.S-tracking-foreverStatus: Never to be closed.Status: Never to be closed.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-reproducibilityArea: Reproducible / deterministic buildsArea: Reproducible / deterministic buildsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCD-diagnostic-infraDiagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.S-tracking-foreverStatus: Never to be closed.Status: Never to be closed.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for Tracking Issue.
This is a tracking issue for collecting and triaging bugs and challenges that hinder our ability to produce reproducible and deterministic builds.
This tracking issue is used as a hub for connecting to other relevant issues, e.g., bugs or open design questions. This tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the A-reproducibilityArea: Reproducible / deterministic builds
label, and tag with OS/architecture/target labels as suitable.
Warning
This tracking issue is non-exhaustive. Please add suitable entries and edit as new issues and PRs pop up or if old issues and PRs are rediscovered.
Bugs and issues
tests/run-make/reproducible-builds-Z randomize-layout, status unclear--remap-path-prefixrelated-C debuginfo=2(on Linux this time) #89911-Cdebuginfo=2tests/run-make/reproducible-builds, bin,--remap-path-prefix,-Z remap-cwd-prefix--crate-type=rlib+-Cdebuginfo=2+-Zremap-cwd-prefix=.is not reproducible on Windows #129117-Cdebuginfo=2,-Z remap-cwd-prefix=., rlibTracking/meta issues:
-Z remap-cwd-prefix#89434Resolved:
-Cdebuginfo=2-Cdebuginfo=2staticvars in lib crates has stopped being produced reliably in LTO builds #90357FxHashMapwrapper #63713debuginfo-level> 0 #66568remap-path-prefixwill not re-compile properly indevbuild #66955--remap-path-prefix--remap-path-prefixinvolved--remap-path-prefix#73167--remap-path-prefixinvolved--remap-path-prefixinvolved--remap-path-prefix--remap-path-prefix; paths reverse order from clang/gcc but was intentional-Crpath-Z remap-cwd-prefix; closed in favor of tracking issue Tracking Issue for-Z remap-cwd-prefix#89434 for-Z remap-cwd-prefix.pdbfiles, even in release mode #87825--remap-path-prefixstaticvars in lib crates has stopped being produced reliably in LTO builds #90357compiler_builtins--remap-path-prefix--remap-path-prefixdoes not apply to secondary files in diagnostics #66251--remap-path-prefix; sysroot handling in diagnosticsRelated issues, RFCs, MCPs and discussions
Related PRs
--remap-path-prefix#84233-Ztrim-pathscargo#12625