[llvm-dev] [LLD][COFF] Zero linker-version header field breaks Authenticode on Windows 7

Simon Tatham via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 21 07:36:42 PDT 2017


> From: Rui Ueyama [mailto:ruiu at google.com]
> Sent: 21 June 2017 15:23
> 
> lld-link already has an option to specify version. Please try to add
> "/version:14.0" to your command line.

That doesn't affect the same version field. The number I put in there goes into the MajorImageVersion and MinorImageVersion fields, whereas to solve this signature issue I need to control MajorLinkerVersion and MinorLinkerVersion.

Cheers,
Simon


More information about the llvm-dev mailing list