Re: [eigen] Matrix product crashes when compiled with MSVC 2010 in release

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Sorry, I forgot to disable the whole program optimization all over the place.

The error occurs in 32bit + SSE2 only. 64bit builds are not affected.

- Hauke

On Fri, Aug 13, 2010 at 2:32 PM, Ilya Baran <baran37@xxxxxxxxx> wrote:
> 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
>>
>>
>>
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/