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: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Fri, 13 Aug 2010 15:10:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=vwKhjwe2i9HU5KiGDyt5Km5aqAzYP11qwOvJbxeHd+k=; b=wcGgUnC48z4auvZ/QuKQGy56H1cRMg9oMY1RGmlg/Y7CJ3dOGyfx423eXxo6jk2z3t 6NWKBkKCkTFGEFs/UqMHfkZZyUbEJAPpgTUXuTtQReAc4p8//b+sG3Fot1q1PAhnUt6y zw+MxDL/GIFiGwYn18CFMpVBSkfuAMb5rQMBU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=G7qgbiTWQj7bqFiIl0vLY6mlNYgJ0ChDOrpBsaP931dwwlxR6Andkn3GAP56hFHLIM kzzY29/44cXyPXWay81XCpmAepVKaJ485ijdQ6ZiIiqphprvnAD6yg92fDfmqxkuiBhe FgnqB5OyOXC3aYUCxVy+ln8BKQ43BD1EAQLiI=
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
>>
>>
>>
>
>
>