Skip to content

Brotli native code is compiled with LTCG #111566

Description

@MichalStrehovsky

And this is going to break everyone who doesn't use exactly the same version of VC++ as we used on the build machine.

Reported at aspnet/Benchmarks#2047. We should also check zlib.

  brotlienc.lib(encode.c.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
EXEC : fatal error C1900: Il mismatch between 'P1' version '20240319' and 'P2' version '20220715' [C:\Users\Administrator\AppData\Local\Temp\benchmarks-agent\benchmarks-server-6848\ooktqbfk.xuf\src\Benchmarks\Benchmarks.csproj]
LINK : fatal error LNK1257: code generation failed [C:\Users\Administrator\AppData\Local\Temp\benchmarks-agent\benchmarks-server-6848\ooktqbfk.xuf\src\Benchmarks\Benchmarks.csproj]

Metadata

Metadata

Assignees

Labels

area-NativeAOT-coreclrin-prThere is an active PR which will close this issue when it is merged

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions