Open Bug 1612422 Opened 5 years ago Updated 2 years ago

Create a MinGW reproducible build job

Categories

(Firefox Build System :: General: Unsupported Platforms, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 1 open bug)

Details

(Whiteboard: [tor])

Attachments

(1 file)

Creating a MinGW reproducible build job would ensure we don't regress reproducibility for Tor Browser. (Or if we do regress it, we identify it immediately where and when.)

Depends on: 1612423
Depends on: 1612424
Depends on: 1612428

New try run

Looked briefly, and can explain one of the differences:

In the .exe's there's a guid that appears right before a "LLD PDB" string. This is the guid of the pdb file.
It also appears in the same place/way in the pdb file.
It is generated from a hash of the pdb file; so once the pdb file is otherwise identical it should also be identical.
https://github.com/llvm/llvm-project/search?q=setHashPDBContentsToGUID&unscoped_q=setHashPDBContentsToGUID
https://github.com/llvm/llvm-project/blob/adcd02683856c30ba6f349279509acecd90063df/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp#L333-L348
https://github.com/llvm/llvm-project/blob/a39b14f0b42d6bd835dec448506660d77bbbb7c7/lld/COFF/PDB.cpp#L1739

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: