Hi!
Sorry commit 5494 not the problem in this situation. I have some
research with next example code:
  echo "#include <cmath>" | g++ -x c++ -c - -m64 -mfpmath=both
-std=gnu++11 -o /dev/null
I try this code with different m32/m64 switches on different builds.
First, I try Ruben's builds. He has only 32-bit builds and they are
nomultilib. Code work fine on this builds.
Next, I try all variants of gcc-4.7.2 builds from Mingw-builds
project. Mingw-builds have multilib builds except dwarf. And have next
picture:
------------------------------------------
|              |  -m32   |   -m64   |
------------------------------------------
|  dwarf2  |     ok    |    ---      |
------------------------------------------
| 32-sjlj    |    ok     |    fail     |
------------------------------------------
| 64-sjlj    |   fail     |    fail     |
------------------------------------------

This suggests that the error in 64-bit generated code. But where it can be?

2012/12/18 Алексей Павлов <alex...@gmail.com>:
> I have two similar toolchains with next differences
>  - first toolchain builded with mingw-w64-trunk 5493 revision, second
> - with 5496 revision.
>  - first toolchain builded without "-march -mtune", second - with
> "-march=nocona -mtune=nocona"
> First toolchain doesn't have issue, second toolchain have issue.
>
> I don't know where is mistake but I  think it on this 3 revisions of
> mingw-w64 trunk. Now I try rebuild toolchain with reverted 5494 commit
> and when it done I wrote here.
>
> 2012/12/18 Kai Tietz <ktiet...@googlemail.com>:
>> Hmm,
>>
>> I wonder why for you __CYGWIN__ is defined.  This revision has - as
>> far as I can see - no obvious reason to have any impact on
>> none-cygwin????
>>
>> Kai
>>
>> 2012/12/18 Алексей Павлов <alex...@gmail.com>:
>>> Take the url
>>> http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?revision=5494&view=revision
>>>
>>> 2012/12/18 Kai Tietz <ktiet...@googlemail.com>:
>>>> Hi Aleksei,
>>>>
>>>> could you provide me a link to the questionable commit 5494? I can't
>>>> identify commit number by 'svn blame'.
>>>>
>>>> Thanks,
>>>> Kai
>>>>
>>>> 2012/12/18 Алексей Павлов <alex...@gmail.com>:
>>>>> Hi!
>>>>> Before commit 5494 all is ok, but this (5494) commit is something wrong.
>>>>> When I run example:
>>>>>     echo "#include <cmath>" | g++ -x c++ -c - -mfpmath=both
>>>>> -std=gnu++11 -o /dev/null
>>>>>
>>>>> I have error:
>>>>> In file included from <stdin>:1:0:
>>>>> c:\sdk\msys\toolchains\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/cmath:1040:11:
>>>>> error: '::double_t' has not been declared
>>>>> c:\sdk\msys\toolchains\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/cmath:1041:11:
>>>>> error: '::float_t' has not been declared
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>>> Remotely access PCs and mobile devices and provide instant support
>>>>> Improve your efficiency, and focus on delivering more value-add services
>>>>> Discover what IT Professionals Know. Rescue delivers
>>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>>> _______________________________________________
>>>>> Mingw-w64-public mailing list
>>>>> Mingw-w64-public@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>>>
>>>>
>>>>
>>>> --
>>>> |  (\_/) This is Bunny. Copy and paste
>>>> | (='.'=) Bunny into your signature to help
>>>> | (")_(") him gain world domination
>>>>
>>>> ------------------------------------------------------------------------------
>>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>>> Remotely access PCs and mobile devices and provide instant support
>>>> Improve your efficiency, and focus on delivering more value-add services
>>>> Discover what IT Professionals Know. Rescue delivers
>>>> http://p.sf.net/sfu/logmein_12329d2d
>>>> _______________________________________________
>>>> Mingw-w64-public mailing list
>>>> Mingw-w64-public@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>>
>>> ------------------------------------------------------------------------------
>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>> Remotely access PCs and mobile devices and provide instant support
>>> Improve your efficiency, and focus on delivering more value-add services
>>> Discover what IT Professionals Know. Rescue delivers
>>> http://p.sf.net/sfu/logmein_12329d2d
>>> _______________________________________________
>>> Mingw-w64-public mailing list
>>> Mingw-w64-public@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>>
>>
>> --
>> |  (\_/) This is Bunny. Copy and paste
>> | (='.'=) Bunny into your signature to help
>> | (")_(") him gain world domination
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Mingw-w64-public mailing list
>> Mingw-w64-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to