André Hentschel | 30 Jul 01:20 2014
Picon

[PATCH] softmath: Add more double functions again

Please review, i'll commit it, just need an OK.
(Last time it was confirmed on IRC and is already pushed upstream)
Attachment (softmath.patch): text/x-patch, 18 KiB
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Jim Michaels | 26 Jul 01:54 2014
Picon

internal segfault, errors using basic_ostringstringstream with u16string, u32string

this blast of errors is telling me that in 4.9.0 posix sjlj rev2, I have no operator+ on my basic_string for std::u16string and std::u32string, which are defined in the class. sort of. part of the reason may be because std::basic_ostringstream::str() (?) is incompatible with std::u16string and std::u32string.
why is this?

I don't know if my attachment will cause a bounce.
compiling atoi64 with -DATOI64TEST will make it a standalone executable and enable its main(). you will have to edit the includes.

segfault may be occurring because of a different file, atoi64.cpp, which is including strfuncs.cpp. simple compiling that file alone causes no problems. it's a weird bug that this mass of 5 huge number conversion functions seems to trigger.

there is no SCCE whatever for this. I can't reduce the segfault except to compiling atoi64.cpp (32-bit compiler internal segfaults with strfuncs.cpp also) which needs a string and number unit library I wrote. I

to show you the problems I would end up attaching my project files, maybe through dropbox.
if I provide my code, does it suddenly become open source?


    std::u32string s;
    std::basic_stringstream<char32_t> out;
    out.width(intMantissaWidth+1+numDigitsPastDecimalPoint);
    out.fill(' ');
    out.precision(numDigitsPastDecimalPoint);
    out.flags(ios::dec|ios::fixed|ios::right|ios::showpoint);
                    out<<d;
                    return out.str()+aprSIPrefixesd[i]+suffixStr;
apparenrtly operator+ disappeared from basic_str...

there are about 3-4 functions each.


\prj\lib\siiec\siiec.cpp:60:10: internal compiler error: Segmentation fault
\prj\lib\prsinum\prsinum.cpp:908:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_string
<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:958:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_string
<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1015:34: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1051:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1105:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1155:39: error: cannot bind 'std::basic_ostream<char16_t, std::char_traits<char16_t> >' lvalue to 'std::basic_ostream<char16_t, std
::char_traits<char16_t> >&&'
\prj\lib\prsinum\prsinum.cpp:1209:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1245:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1290:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1321:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1354:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1374:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char16_t>::__string_type {aka std::basic_strin
g<char16_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1428:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1478:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1535:34: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1571:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1625:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1675:39: error: cannot bind 'std::basic_ostream<char32_t, std::char_traits<char32_t> >' lvalue to 'std::basic_ostream<char32_t, std
::char_traits<char32_t> >&&'
\prj\lib\prsinum\prsinum.cpp:1729:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1765:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1810:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1841:33: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1874:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')
\prj\lib\prsinum\prsinum.cpp:1894:37: error: no match for 'operator+' (operand types are 'std::basic_stringstream<char32_t>::__string_type {aka std::basic_strin
g<char32_t>}' and '__gnu_cxx::__alloc_traits<std::allocator<std::basic_string<char> > >::value_type {aka std::basic_string<char>}')

 
-------------
Jim Michaels
Jmichae3-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
JimM <at> RenewalComputerServices.com
http:&#x2F;&#x2F;RenewalComputerServices.com
http:&#x2F;&#x2F;JesusnJim.com (computer repair info, programming)

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Ruben De Smet | 28 Jul 22:04 2014
Picon

[Patch] Add memmove_s emu

Some applications, like CryptoPP, won't run on Windows XP, because
memmove_s isn't defined in that OS. As I needed CryptoPP to compile
easily, I wrote this patch. It emulates the method by checking for the
availability and falling back on memmove (without s).

I mimicked memcpy_s.

I'm not subscribed to the list, so please make sure my email address is
in the recipients list when replying on this email.

Ruben De Smet
Attachment (add_memmove_s.patch): text/x-patch, 20 KiB
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Ruben Van Boxem | 27 Jul 17:44 2014
Picon

Frame pointer and Win32 API functions

Hi guys,

I stumbled upon a strange question on Stackoverflow.com:
http://stackoverflow.com/q/24962205/256138

Is he right to think the generated code is suboptimal? Or is this an ABI requirement? Can GCC be improved in this regard?

I can point him to this mailing list and ask him to supply reproducible proof of what he's claiming if you guys think it worthwhile.

Cheers,

Ruben
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
LRN | 26 Jul 23:14 2014
Picon

Wrong packing in bluetooth struct


(2013-09-08 21:47:23) claudiu: LRN : do you have a bluetooth device? If yes,
could you please try to compile and run this sample
http://pastebin.com/GcaeQqjd (you should use -lws2_32 flag). I don't know why
but when I run it on the evironment created by sbuild I receive a
WSAEADDRNOTAVAIL error when it tries to bind the socket. (on a different
environment it works).
(2013-09-08 21:57:32) LRN: i've never used bluetooth, and i'm not sure i have
any BT devices
(2013-09-08 21:59:01) LRN: on my machine i get: Failed to create RFCOMM
socket: An address incompatible with the requested protocol was used.
(2013-09-08 21:59:21) LRN: so yeah, that's earlier than bind()
(2013-09-08 22:00:13) LRN: I could probably try it on my laptop, it should
have bluetooth
(2013-09-08 22:00:43) claudiu: I would be of great help
(2013-09-08 22:01:24) LRN: claudiu, have you read
http://msdn.microsoft.com/en-us/library/windows/desktop/aa362899%28v=vs.85%29.aspx
?
(2013-09-08 22:03:05) claudiu: yes I did
(2013-09-08 22:04:07) LRN: ok...
(2013-09-08 22:05:38) LRN: i don't have any dev tools on my laptop, so i'll
compile the sample here, transfer it there, and then run it
(2013-09-08 22:07:43) LRN: failed to bind the socket: The requested address
is not valid in its context
(2013-09-08 22:08:00) claudiu: yep..I got the same error
(2013-09-08 22:09:46) claudiu: the thing is that if I copy the ws2bth ,
bthdef, bthsdpdef headers (from the microsoft sdk 7.1) over the mingw ones,
it works
(2013-09-08 22:10:57) LRN: h-m-mm-
(2013-09-08 22:24:22) LRN: claudiu, try running sizeof on addr (when
compiling against ms headers) and printing it
(2013-09-08 22:24:30) LRN: then see if it matches sizeof for mingw
(2013-09-08 22:30:13) claudiu: LRN: they don't match. One is 30, and the
other is 40
(2013-09-08 22:31:01) LRN: \o/
(2013-09-08 22:33:02) LRN: ok, found the problem
(2013-09-08 22:33:19) LRN: SOCKADDR_BTH must be packed (1 byte)
(2013-09-08 22:40:58) claudiu: is it ok if I replace the ws2bth header with a
new one?
(2013-09-08 22:41:06) LRN: um...
(2013-09-08 22:41:13) LRN: this should be fixed upstream, IMO
(2013-09-08 22:41:20) LRN: i'll talk to the devs
(2013-09-08 22:41:48) LRN: meanwhile - go ahead, fix ws2bth.h (add #pragma
pack(push, 1), #pragma pack(pop))

Apparently, i forgot to report this.

--

-- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
Rafaël Carré | 26 Jul 12:52 2014

Re: Bug#755448: fixed in mingw-w64 3.1.0-3

Hello,

On 07/21/14 23:21, Stephen Kitt wrote:
> Source: mingw-w64
> Source-Version: 3.1.0-3
> 
> We believe that the bug you reported is fixed in the latest version of
> mingw-w64, which is due to be installed in the Debian FTP archive.
> 
> A summary of the changes between this version and the previous one is
> attached.

> Changes:
>  mingw-w64 (3.1.0-3) unstable; urgency=medium
>  .
>    * Merge upstream implementation of strtok_r, so it's available on
>      Windows XP. Thanks to Gianluigi Tiesi for pointing out the problem,
>      and to Jonathan Young for pointing out that he'd fixed it upstream.
>      (Closes: #755448.)

This change breaks VLC, as the strtok_r prototype is not available anymore.

According to:
http://anonscm.debian.org/gitweb/?p=collab-maint/mingw-w64.git;a=blobdiff;f=debian/patches/strtok_r.patch;h=95e4b5e974f19b5725ad3bd349ac74ec6b2d994d;hp=c4aa476dd10754657fe752ee1aeab9cfa4871a83;hb=8625b8bcfd8a66d92ddbb76391e25ddf9e077857;hpb=362f462455a593a5316c72fdf39dc6df342b3da5
the prototype is only defined under the condition:
#if defined (_SVID_SOURCE) || defined (_BSD_SOURCE) || (_POSIX_C_SOURCE
>= 1) || defined(_XOPEN_SOURCE) || defined (_POSIX_SOURCE)

However autoconf defines neither of these, but only _GNU_SOURCE

glibc's features.h defines all the above features if _GNU_SOURCE is defined,
but mingw-w64 does not.

I suggest removing the ifdef altogether, as strtok_r will always be
available.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
André Hentschel | 26 Jul 00:20 2014
Picon

[PATCH] softmath: Add more double functions

Please review, i'll commit it, just need an OK.
Attachment (softmath.patch): text/x-patch, 26 KiB
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Jim Michaels | 25 Jul 13:16 2014
Picon

__int128 literals don't work

__int128.cpp:4:16: warning: integer constant is too large for its type
     __int128 i=170141183460469231731687303715884105727LL;
                ^
__int128.cpp:5:25: warning: integer constant is too large for its type
     unsigned __int128 u=340282366920938463463374607431768211455ULL;
                         ^
__int128.cpp:4:16: warning: integer constant is too large for its type
     __int128 i=170141183460469231731687303715884105727;
                ^
__int128.cpp:5:25: warning: integer constant is too large for its type
     unsigned __int128 u=340282366920938463463374607431768211455U;
                         ^
__int128.cpp:4:16: error: unable to find numeric literal operator 'operator""LLL'
     __int128 i=170141183460469231731687303715884105727LLL;
                ^
__int128.cpp:4:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
__int128.cpp:5:25: error: unable to find numeric literal operator 'operator""ULLL'
     unsigned __int128 u=340282366920938463463374607431768211455ULLL;
                         ^

no way to win with __int128 even though it's supposed to be supported. there's not even a stdint.h type for it.


 
-------------
Jim Michaels
Jmichae3-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
JimM <at> RenewalComputerServices.com
http:&#x2F;&#x2F;RenewalComputerServices.com
http:&#x2F;&#x2F;JesusnJim.com (computer repair info, programming)

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Jim Michaels | 25 Jul 13:10 2014
Picon

problem using printf with __int128 in 4.9.0

#include <stdio.h>
#include <_mingw.h>
int main(void) {
    __int128 i=170141183460469231731687303715884105727LLL;
    unsigned __int128 u=340282366920938463463374607431768211455ULLL;
    //printf("i=%I128d\n", i);
    printf("%*d", 128/8, i);
    printf("  170141183460469231731687303715884105727LLL\n");

    //printf("u=%I128u\n", u);
    printf("%*u", 128/8, u);
    printf("%lu", u);
    printf("%llu", u);
    printf("%lllu", u);
    printf("%I128u", u);
    printf("  340282366920938463463374607431768211455ULLL\n");
    return 0;
}
/*

__int128.cpp: In function 'int main()':
__int128.cpp:4:16: error: unable to find numeric literal operator 'operator""LLL'
     __int128 i=170141183460469231731687303715884105727LLL;
                ^
__int128.cpp:4:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
__int128.cpp:5:25: error: unable to find numeric literal operator 'operator""ULLL'
     unsigned __int128 u=340282366920938463463374607431768211455ULLL;
                         ^
__int128.cpp:5:25: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
__int128.cpp:7:24: warning: format '%d' expects argument of type 'int', but argument 3 has type '__int128' [-Wformat=]
  printf("%*d", 128/8, i);
                        ^
__int128.cpp:11:24: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type '__int128 unsigned' [-Wformat=]
  printf("%*u", 128/8, u);
                        ^
__int128.cpp:12:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type '__int128 unsigned' [-Wformat=]
  printf("%lu", u);
                 ^
__int128.cpp:13:18: warning: unknown conversion type character 'l' in format [-Wformat=]
  printf("%llu", u);
                  ^
__int128.cpp:13:18: warning: too many arguments for format [-Wformat-extra-args]
__int128.cpp:14:19: warning: unknown conversion type character 'l' in format [-Wformat=]
  printf("%lllu", u);
                   ^
__int128.cpp:14:19: warning: too many arguments for format [-Wformat-extra-args]
__int128.cpp:15:20: warning: unknown conversion type character '1' in format [-Wformat=]
  printf("%I128u", u);
                    ^
__int128.cpp:15:20: warning: too many arguments for format [-Wformat-extra-args]

Fri 07/25/2014  4:07:36.01|d:\prj\test\mingw-w64\__int128|>call beepifexists.cmd __int128.exe
EXISTS: __int128.exe
-----failure-----

Fri 07/25/2014  4:07:37.04|d:\prj\test\mingw-w64\__int128|>if exist __int128.exe __int128.exe

Fri 07/25/2014  4:07:37.04|d:\prj\test\mingw-w64\__int128|>

*/
Using built-in specs.
COLLECT_GCC=f:\x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2\mingw64\bin\g++.exe
COLLECT_LTO_WRAPPER=f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-4.9.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysr
oot=/home/nixman/mingw-gcc-4.9.0/x86_64-490-posix-sjlj-rt_v3-rev2/mingw64 --with-gxx-include-dir=/mingw64/x86_64-w64-mingw32/include/c++ --enable-shared --enabl
e-static --enable-targets=all --enable-multilib --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=posix --enabl
e-libgomp --enable-libatomic --enable-libitm --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-ru
ntime-libs --enable-sjlj-exceptions --disable-isl-version-check --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstr
ap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch-32=i686 --with-arch-64=noco
na --with-tune-32=generic --with-tune-64=core2 --with-libiconv --with-system-zlib --with-gmp=/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-stati
c --with-mpfr=/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-static --with-mpc=/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-stat
ic --with-isl=/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-static --with-cloog=/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-st
atic --enable-cloog-backend=isl --with-pkgversion='x86_64-posix-sjlj-rev2, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 C
FLAGS='-O2 -pipe -I/home/nixman/mingw-gcc-4.9.0/x86_64-490-posix-sjlj-rt_v3-rev2/mingw64/opt/include -I/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-zlib-st
atic/include -I/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/home/nixman/mingw-gcc-4.9.0/x86_64-490-posix
-sjlj-rt_v3-rev2/mingw64/opt/include -I/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-zlib-static/include -I/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64
-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/home/nixman/mingw-gcc-4.9.0/x86_64-490-posix-sjlj-rt_v3-rev2/mingw64/opt/lib -L/home/nixman/mingw-gcc-4
.9.0/prerequisites/x86_64-zlib-static/lib -L/home/nixman/mingw-gcc-4.9.0/prerequisites/x86_64-w64-mingw32-static/lib'
Thread model: posix
gcc version 4.9.0 (x86_64-posix-sjlj-rev2, Built by MinGW-W64 project)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-static' '-fopenmp' '-O2' '-fno-strict-aliasing' '-fwrapv' '-ftree-parallelize-loops=12' '-floop-parallelize-all' '-ftre
e-loop-vectorize' '-ftree-slp-vectorize' '-O2' '-fprefetch-loop-arrays' '-Wall' '-Wextra' '-std=c++11' '-o' '__int128.exe' '-mtune=core2' '-march=nocona' '-mthr
eads' '-pthread'
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/cc1plus.exe -E -quiet -v -iprefix f:/x86_64-4.9.0-release-pos
ix-sjlj-rt_v3-rev2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/ -D_MT -D_REENTRANT -U_REENTRANT __int128.cpp -mtune=core2 -march=nocona -mthreads -std=c++11
 -Wall -Wextra -fopenmp -fno-strict-aliasing -fwrapv -ftree-parallelize-loops=12 -floop-parallelize-all -ftree-loop-vectorize -ftree-slp-vectorize -fprefetch-lo
op-arrays -O2 -O2 -fpch-preprocess -o __int128.ii
ignoring duplicate directory "f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.0/include"
ignoring nonexistent directory "C:/Users/nixman/msys64/home/nixman/mingw-gcc-4.9.0/x86_64-490-posix-sjlj-rt_v3-rev2/mingw64C:/Users/nixman/msys64/mingw64/lib/gc
c/x86_64-w64-mingw32/4.9.0/../../../../include"
ignoring duplicate directory "f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.0/include-fixed"
ignoring duplicate directory "f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw3
2/include"
ignoring nonexistent directory "C:/Users/nixman/msys64/home/nixman/mingw-gcc-4.9.0/x86_64-490-posix-sjlj-rt_v3-rev2/mingw64/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/include
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/include-fixed
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/include
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/c++
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/c++/backward
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-static' '-fopenmp' '-O2' '-fno-strict-aliasing' '-fwrapv' '-ftree-parallelize-loops=12' '-floop-parallelize-all' '-ftre
e-loop-vectorize' '-ftree-slp-vectorize' '-O2' '-fprefetch-loop-arrays' '-Wall' '-Wextra' '-std=c++11' '-o' '__int128.exe' '-mtune=core2' '-march=nocona' '-mthr
eads' '-pthread'
 f:/x86_64-4.9.0-release-posix-sjlj-rt_v3-rev2/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/cc1plus.exe -fpreprocessed __int128.ii -quiet -dumpbase __int
128.cpp -mtune=core2 -march=nocona -mthreads -auxbase __int128 -O2 -O2 -Wall -Wextra -std=c++11 -version -fopenmp -fno-strict-aliasing -fwrapv -ftree-paralleliz
e-loops=12 -floop-parallelize-all -ftree-loop-vectorize -ftree-slp-vectorize -fprefetch-loop-arrays -o __int128.s
GNU C++ (x86_64-posix-sjlj-rev2, Built by MinGW-W64 project) version 4.9.0 (x86_64-w64-mingw32)
        compiled by GNU C version 4.9.0, GMP version 6.0.0, MPFR version 3.1.2-p8, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (x86_64-posix-sjlj-rev2, Built by MinGW-W64 project) version 4.9.0 (x86_64-w64-mingw32)
        compiled by GNU C version 4.9.0, GMP version 6.0.0, MPFR version 3.1.2-p8, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 227ce3fddb39dd1a7e6d71261ccfa602

 
-------------
Jim Michaels
Jmichae3-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
JimM-dExGzSK/FjWKhL9zcARy50K8FDhVFA20QQ4Iyu8u01E@public.gmane.org
http:&#x2F;&#x2F;RenewalComputerServices.com
http:&#x2F;&#x2F;JesusnJim.com (computer repair info, programming)

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Dongsheng Song | 25 Jul 06:36 2014
Picon

Re: r212448 - in /trunk: gcc/ChangeLog gcc/Makefile...

This just fix the ftw issue. But still have "%lld", mkdir, "GCC poison
strerror" issue on gcov.
You can following the build instructions at:

http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-doc/howto-build/mingw-w64-howto-build.txt

Regards,
Dongsheng

On Thu, Jul 24, 2014 at 2:38 AM, Rong Xu <xur@...> wrote:
> +cc honza
>
> Here is the patch I created to fix the issue. The problem is I don't
> know how to test it. Can you give me the instructions for you build,
> or you can test it for me (at least the build part).
>
> Thanks,
>
> -Rong
>
> On Wed, Jul 16, 2014 at 2:44 AM, Dongsheng Song
> <dongsheng.song@...> wrote:
>> On Wed, Jul 16, 2014 at 12:37 AM, Rong Xu <xur@...> wrote:
>>> On Mon, Jul 14, 2014 at 11:02 PM, Dongsheng Song
>>> <dongsheng.song@...> wrote:
>>>> Hi Rong,
>>>>
>>>> Your commit r212448 broken Windows target 4 days.
>>>> Since windows target no ftw.h, this caused the following errors:
>>>
>>> Sorry for this. Do you know if there is a similar API in windows?
>>> If the answer is no, I will have to disable gcov-tool in windows.
>>>
>>
>> Windows have FindFirstFile/FindNextFile/FindClose.
>>
>> PS: The ftw() function is marked obsolescent.
>> http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftw.html
>>
>>> Thanks,
>>>
>>> -Rong
>>>
>>>>
>>>> make[2]: Entering directory
>>>> `/home/cauchy/obj/native/gcc-4.10-win64/gcc/libdecnumber'
>>>> make[2]: Nothing to be done for `all'.
>>>> make[2]: Leaving directory
>>>> `/home/cauchy/obj/native/gcc-4.10-win64/gcc/libdecnumber'
>>>> make[2]: Entering directory `/home/cauchy/obj/native/gcc-4.10-win64/gcc/gcc'
>>>> x86_64-w64-mingw32-g++ -c   -g -O2 -DIN_GCC    -fno-exceptions
>>>> -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
>>>> -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
>>>> -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
>>>> -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gcc
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gcc/.
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gcc/../include
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gcc/../libcpp/include
>>>> -I/home/cauchy/obj/native/gcc-4.10-win64/gcc/./gmp
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gmp
>>>> -I/home/cauchy/obj/native/gcc-4.10-win64/gcc/./mpfr/src
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/mpfr/src
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/mpc/src
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gcc/../libdecnumber
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/gcc/../libdecnumber/bid
>>>> -I../libdecnumber -I/home/cauchy/vcs/svn/gcc/trunk/gcc/../libbacktrace
>>>> -DCLOOG_INT_GMP
>>>> -I/home/cauchy/obj/native/gcc-4.10-win64/gcc/./cloog/include
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/cloog/include
>>>> -I/home/cauchy/obj/native/gcc-4.10-win64/gcc/./isl/include
>>>> -I/home/cauchy/vcs/svn/gcc/trunk/isl/include  -o gcov-tool.o -MT
>>>> gcov-tool.o -MMD -MP -MF ./.deps/gcov-tool.TPo
>>>> /home/cauchy/vcs/svn/gcc/trunk/gcc/gcov-tool.c
>>>> /home/cauchy/vcs/svn/gcc/trunk/gcc/gcov-tool.c:38:17: fatal error:
>>>> ftw.h: No such file or directory
>>>>  #include <ftw.h>
>>>>                  ^
>>>> compilation terminated.
>>>> make[2]: *** [gcov-tool.o] Error 1
>>>> make[2]: Leaving directory `/home/cauchy/obj/native/gcc-4.10-win64/gcc/gcc'
>>>> make[1]: *** [all-gcc] Error 2
>>>> make[1]: Leaving directory `/home/cauchy/obj/native/gcc-4.10-win64/gcc'
>>>> make: *** [all] Error 2
>>>>
>>>> Regards,
>>>> Dongsheng
>>>>
>>>> On Fri, Jul 11, 2014 at 1:48 PM,  <xur@...> wrote:
>>>>> Author: xur
>>>>> Date: Fri Jul 11 05:48:07 2014
>>>>> New Revision: 212448
>>>>>
>>>>> URL: https://gcc.gnu.org/viewcvs?rev=212448&root=gcc&view=rev
>>>>> Log:
>>>>> 2014-07-10  Rong Xu  <xur@...>
>>>>>
>>>>>         Add gcov-tool: an offline gcda profile processing tool
>>>>>         Support.
>>>>>         * gcc/gcov-io.c (gcov_position): Make avaialble to gcov-tool.
>>>>>         (gcov_is_error): Ditto.
>>>>>         (gcov_read_string): Ditto.
>>>>>         (gcov_read_sync): Ditto.
>>>>>         * gcc/gcov-io.h: Move counter defines to gcov-counter.def.
>>>>>         * gcc/gcov-dump.c (tag_counters): Use gcov-counter.def.
>>>>>         * gcc/coverage.c: Ditto.
>>>>>         * gcc/gcov-tool.c: Offline gcda profile processing tool.
>>>>>         (unlink_gcda_file): Remove one gcda file.
>>>>>         (unlink_profile_dir): Remove gcda files from the profile path.
>>>>>         (gcov_output_files): Output gcda files to an output dir.
>>>>>         (profile_merge): Merge two profiles in directory.
>>>>>         (print_merge_usage_message): Print merge usage.
>>>>>         (merge_usage): Print merge usage and exit.
>>>>>         (do_merge): Driver for profile merge sub-command.
>>>>>         (profile_rewrite): Rewrite profile.
>>>>>         (print_rewrite_usage_message): Print rewrite usage.
>>>>>         (rewrite_usage): Print rewrite usage and exit.
>>>>>         (do_rewrite): Driver for profile rewrite sub-command.
>>>>>         (print_usage): Print gcov-info usage and exit.
>>>>>         (print_version): Print gcov-info version.
>>>>>         (process_args): Process arguments.
>>>>>         (main): Main routine for gcov-tool.
>>>>>         * gcc/Makefile.in: Build and install gcov-tool.
>>>>>         * gcc/gcov-counter.def: New file split from gcov-io.h.
>>>>>         * libgcc/libgcov-driver.c (gcov_max_filename): Make available
>>>>>         to gcov-tool.
>>>>>         * libgcc/libgcov-merge.c (__gcov_merge_add): Replace
>>>>>         gcov_read_counter() with a Macro.
>>>>>         (__gcov_merge_ior): Ditto.
>>>>>         (__gcov_merge_time_profile): Ditto.
>>>>>         (__gcov_merge_single): Ditto.
>>>>>         (__gcov_merge_delta): Ditto.
>>>>>         * libgcc/libgcov-util.c (void gcov_set_verbose): Set the verbose flag
>>>>>         in the utility functions.
>>>>>         (set_fn_ctrs): Utility function for reading gcda files to in-memory
>>>>>         gcov_list object link lists.
>>>>>         (tag_function): Ditto.
>>>>>         (tag_blocks): Ditto.
>>>>>         (tag_arcs): Ditto.
>>>>>         (tag_lines): Ditto.
>>>>>         (tag_counters): Ditto.
>>>>>         (tag_summary): Ditto.
>>>>>         (read_gcda_finalize): Ditto.
>>>>>         (read_gcda_file): Ditto.
>>>>>         (ftw_read_file): Ditto.
>>>>>         (read_profile_dir_init): Ditto.
>>>>>         (gcov_read_profile_dir): Ditto.
>>>>>         (gcov_read_counter_mem): Ditto.
>>>>>         (gcov_get_merge_weight): Ditto.
>>>>>         (merge_wrapper): A wrapper function that calls merging handler.
>>>>>         (gcov_merge): Merge two gcov_info objects with weights.
>>>>>         (find_match_gcov_info): Find the matched gcov_info in the list.
>>>>>         (gcov_profile_merge): Merge two gcov_info object lists.
>>>>>         (__gcov_add_counter_op): Process edge profile counter values.
>>>>>         (__gcov_ior_counter_op): Process IOR profile counter values.
>>>>>         (__gcov_delta_counter_op): Process delta profile counter values.
>>>>>         (__gcov_single_counter_op): Process single  profile counter values.
>>>>>         (fp_scale): Callback function for float-point scaling.
>>>>>         (int_scale): Callback function for integer fraction scaling.
>>>>>         (gcov_profile_scale): Scaling profile counters.
>>>>>         (gcov_profile_normalize): Normalize profile counters.
>>>>>         * libgcc/libgcov.h: Add headers and functions for gcov-tool use.
>>>>>         (gcov_get_counter): New.
>>>>>         (gcov_get_counter_target): Ditto.
>>>>>         (struct gcov_info): Make the functions field mutable in gcov-tool
>>>>>         compilation.
>>>>>         * gcc/doc/gcc.texi: Include gcov-tool.texi.
>>>>>         * gcc/doc/gcov-tool.texi: Document for gcov-tool.
>>>>>
>>>>> Added:
>>>>>     trunk/gcc/doc/gcov-tool.texi
>>>>>     trunk/gcc/gcov-counter.def
>>>>>     trunk/gcc/gcov-tool.c
>>>>>     trunk/libgcc/libgcov-util.c
>>>>> Modified:
>>>>>     trunk/gcc/ChangeLog
>>>>>     trunk/gcc/Makefile.in
>>>>>     trunk/gcc/coverage.c
>>>>>     trunk/gcc/doc/gcc.texi
>>>>>     trunk/gcc/gcov-dump.c
>>>>>     trunk/gcc/gcov-io.c
>>>>>     trunk/gcc/gcov-io.h
>>>>>     trunk/libgcc/ChangeLog
>>>>>     trunk/libgcc/libgcov-driver.c
>>>>>     trunk/libgcc/libgcov-merge.c
>>>>>     trunk/libgcc/libgcov.h
>>>>>

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
klo uo | 25 Jul 05:53 2014
Picon

4.9.1. fails to compile project while 4.8.1 succeeds


Hi,

I upgraded from 4.8.1 to 4.9.1  (x86_64-4.9.1-release-win32-seh-rt_v3-rev0) and noticed that the package I used to build successfully, now fails.

The package is latest hunspell-1.3.3 and it fails with libtool error (failing to match some quote on line 7000 or so).

Removing 4.9.1 and installing back 4.8.1 `x86_64-4.8.1-release-posix-seh-rt_v3-rev2` indeed compiled fine again.

Any ideas what may be wrong?
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@...
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Gmane