> From: Wireshark-dev <wireshark-dev-bounces@xxxxxxxxxxxxx> On Behalf Of Graham Bloice
> Sent: Friday, July 2, 2021 11:53 AM
> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> Subject: Re: [Wireshark-dev] warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont
>
> I'd be interested to know if you see link errors on subsequent rebuilds as noted by Martin M and myself in emails discussions today.
>
> --
> Graham Bloice
>
Yes, I do:
Build FAILED.
"D:\wireshark\builds\win64\master\Wireshark.sln" (default target) (1) ->
"D:\wireshark\builds\win64\master\wireshark.vcxproj.metaproj" (default target) (2) ->
"D:\wireshark\builds\win64\master\wireshark.vcxproj" (default target) (150) ->
(Link target) ->
d:\wireshark\src\master\speexdsp\resample.c : fatal error C1001: Internal compiler error. [D:\wireshark\builds\win64\master\wireshark.vcxproj]
LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage [D:\wireshark\builds\win64\master\wireshark.vcxproj]
0 Warning(s)
2 Error(s)
- Chris
My suspicion is that the added compiler and linker flags taint the .obj files in some way that subsequently breaks the compilation. It may be down to a conflict between the new security flags and link time code generation (so the .obj files are in some "intermediate form"). I didn't try making another code modification and rebuilding after I had gotten my build with /t:Rebuild to work, so I've kicked off one now (unfortunately the update to master has pulled in some CMake changes as well so the regeneration is running which might invalidate my attempt to replicate.