Wireshark mailing list archives
Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont
From: Graham Bloice <graham.bloice () trihedral com>
Date: Fri, 2 Jul 2021 17:30:44 +0100
On Fri, 2 Jul 2021 at 17:28, Graham Bloice <graham.bloice () trihedral com> wrote:
On Fri, 2 Jul 2021 at 17:21, Maynard, Christopher via Wireshark-dev < wireshark-dev () wireshark org> wrote:From: Wireshark-dev <wireshark-dev-bounces () wireshark org> On Behalf OfGraham BloiceSent: Friday, July 2, 2021 11:53 AM To: Developer support list for Wireshark <wireshark-dev () wireshark org> Subject: Re: [Wireshark-dev] warning LNK4291: module may contain'__except' but was not compiled with /guard:ehcontI'd be interested to know if you see link errors on subsequent rebuildsas noted by Martin M and myself in emails discussions today.-- Graham BloiceYes, 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) - ChrisMy 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.
Failed in the same way. Might have to try to make a minimal repo and report to MS. -- Graham Bloice
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Maynard, Christopher via Wireshark-dev (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Pascal Quantin (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Maynard, Christopher via Wireshark-dev (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Graham Bloice (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Maynard, Christopher via Wireshark-dev (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Graham Bloice (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Graham Bloice (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont chuck c (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Graham Bloice (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont chuck c (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Maynard, Christopher via Wireshark-dev (Jul 02)
- Re: warning LNK4291: module may contain '__except' but was not compiled with /guard:ehcont Pascal Quantin (Jul 02)