Tracking Issue for Reproducible Build bugs and challenges #129080
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-diagnostics
Area: Messages for errors, warnings, and lints
A-reproducibility
Area: Reproducible / deterministic builds
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
D-diagnostic-infra
Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.
S-tracking-forever
Status: Never to be closed.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/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.
This tracking issue is unlikely to be exhaustive. Please add suitable entries and edit as new issues and PRs pop up or if old issues and PRs are rediscovered.
Copy pastas for the inline labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)
Area: Messages for errors, warnings, and lints
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Area: Reproducible / deterministic builds
Area: port run-make Makefiles to rmake.rs
Area: The testsuite used to check the correctness of rustc
Category: An issue tracking the progress of sth. like the implementation of an RFC
Feature: trim-paths
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Relevant to the cargo team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the language team, which will review and decide on the PR/issue.
Relevant to the library team, which will review and decide on the PR/issue.
Relevant to the library API team, which will review and decide on the PR/issue.
Relevant to the infrastructure team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Target: WASM (WebAssembly), http://webassembly.org/
Operating system: Windows
Toolchain: MSVC, Operating system: Windows
Toolchain: GNU, Operating system: Windows
Operating system: macOS
Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS)
Armv8-A or later processors in AArch64 mode
Target: x86-64 processors (like x86_64-*)
A-diagnostics
A-LLVM
A-reproducibility
A-run-make
A-testsuite
C-tracking-issue
F-trim-paths
T-bootstrap
T-cargo
T-compiler
T-lang
T-libs
T-libs-api
T-infra
T-rustdoc
O-wasm
O-windows
O-windows-msvc
O-windows-gnu
O-macos
O-apple
O-AArch64
O-x86_64
Bugs and issues
tests/run-make/reproducible-builds
( T-compiler-Z randomize-layout
, status unclear)--remap-path-prefix
does not apply to secondary files in diagnostics #66251 ( T-compiler--remap-path-prefix
; sysroot handling in diagnostics)--remap-path-prefix
)-C debuginfo=2
(on Linux this time) #89911 ( T-compiler-Cdebuginfo=2
)tests/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 ( T-compiler-Cdebuginfo=2
,-Z remap-cwd-prefix=.
, rlib)Tracking/meta issues:
-Z remap-cwd-prefix
#89434 ( C-tracking-issueResolved:
debuginfo-level
> 0 #66568 ( T-compiler-Cdebuginfo=2
)-Cdebuginfo=2
)T-compiler
static
vars in lib crates has stopped being produced reliably in LTO builds #90357FxHashMap
wrapper #63713 ( T-compilerdebuginfo-level
> 0 #66568 ( T-compilerremap-path-prefix
will not re-compile properly indev
build #66955 ( T-compiler--remap-path-prefix
)--remap-path-prefix
involved)--remap-path-prefix
#73167 ( T-compiler--remap-path-prefix
involved)--remap-path-prefix
involved)--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
).pdb
files, even in release mode #87825 ( T-compiler--remap-path-prefix
)static
vars in lib crates has stopped being produced reliably in LTO builds #90357 ( T-compilercompiler_builtins
)--remap-path-prefix
)Related issues, RFCs, MCPs and discussions
Related PRs
--remap-path-prefix
#84233-Ztrim-paths
cargo#12625The text was updated successfully, but these errors were encountered: