Re: [eigen] Matrix product crashes when compiled with MSVC 2010 in release |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Matrix product crashes when compiled with MSVC 2010 in release
- From: Ilya Baran <baran37@xxxxxxxxx>
- Date: Fri, 13 Aug 2010 08:32:31 -0400
- Cc: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=xxlsgWzWZtI5j5kA1QeAAC5ENyDly7V2uWj2P727UxQ=; b=X08WywtW5pH20bgVdeIPoN/L8teuV7YD4R2M37Y+pNDhtyA/l1R8DThtHeQ+iCjMoN H1A84JVo1xURUKtK6OIgu/K4FqD27L4PVhPGQz3Xj/Hepo0sl1WknAn5gH6WWyIAkNqW J1TVeVtDgkSL4jicxwXhe03XDoXkGjRI5pzuc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SKjxcPyCQOgp2Vmk1OVId+qaVxNOwZ3WidWnCJX3s2SDYowjvZRoq0yX3aCcvrNLwC P3feCPD917XFbsMmL3trqbBxVWCr/aBauJoSU+zexj5NfeQs2Vl+0tq+3WkLYA3Vckr5 FPOs5/hYP/byRe+EwD76kp4xcDrLlh5N+nX8s=
Hi,
Benoit, yes I suspect it's a compiler bug--I also don't see any reason
for an access violation. I'm reporting it here because I think
getting MS to fix smth is hopeless :)
Hauke, you have whole program optimization enabled (as I mentioned,
the bug doesn't appear then)--here are my lines:
/Zi /nologo /W3 /WX- /O2 /Ob2 /Oi /Oy- /D "WIN32" /D "NDEBUG" /D
"_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm- /EHsc /GS /Gy /arch:SSE2
/fp:precise /Zc:wchar_t /Zc:forScope /Fp"Release\EigenTest.pch"
/Fa"Release\" /Fo"Release\" /Fd"Release\vc100.pdb" /Gd /analyze-
/errorReport:queue
/OUT:"C:\Users\Ilya\Documents\Visual Studio
2010\Projects\EigenTest\Release\EigenTest.exe" /INCREMENTAL:NO /NOLOGO
"kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib"
"advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib"
"odbc32.lib" "odbccp32.lib" /MANIFEST
/ManifestFile:"Release\EigenTest.exe.intermediate.manifest"
/ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/DEBUG /PDB:"C:\Users\Ilya\Documents\Visual Studio
2010\Projects\EigenTest\Release\EigenTest.pdb" /SUBSYSTEM:CONSOLE
/OPT:REF /OPT:ICF /PGD:"C:\Users\Ilya\Documents\Visual Studio
2010\Projects\EigenTest\Release\EigenTest.pgd" /TLBID:1 /DYNAMICBASE
/NXCOMPAT /MACHINE:X86 /ERRORREPORT:QUEUE
The VS version is identical to yours.
Thanks,
-Ilya
On Fri, Aug 13, 2010 at 1:59 AM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> I cannot reprodue here. Neither in 32bit nor in 64bit mode.
>
> msvc version: 10.0.30319.1 RTMRel.
> eigen location in git: 3de353a4b04f
>
> Just to be even more specific an rule out errors, here are my build
> and linker commands:
>
> /I"C:\Users\heibel\Documents\work\3rdparty/eigen" /Zi /nologo /W3 /WX-
> /O2 /Oi /Oy- /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D
> "UNICODE" /Gm- /EHsc /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope
> /Fp"Release\QuickHack.pch" /Fa"Release\" /Fo"Release\"
> /Fd"Release\vc100.pdb" /Gd /analyze- /errorReport:queue
>
> /OUT:"C:\Users\heibel\Documents\Visual Studio
> 2010\Projects\QuickHack\Release\QuickHack.exe" /INCREMENTAL:NO /NOLOGO
> "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib"
> "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib"
> "odbc32.lib" "odbccp32.lib" /MANIFEST
> /ManifestFile:"Release\QuickHack.exe.intermediate.manifest"
> /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
> /DEBUG /PDB:"C:\Users\heibel\Documents\Visual Studio
> 2010\Projects\QuickHack\Release\QuickHack.pdb" /SUBSYSTEM:CONSOLE
> /OPT:REF /OPT:ICF /PGD:"C:\Users\heibel\Documents\Visual Studio
> 2010\Projects\QuickHack\Release\QuickHack.pgd" /LTCG /TLBID:1
> /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:QUEUE
>
> - Hauke
>
>
>