Re: [Mingw-w64-public] [PATCH] __mingw_*scanf() always crash if %c or %s is used

2011-07-31 Thread Christian Franke
Kai Tietz wrote: > > Hmm, I see the problem here, but I am not sure if it is wise to remove > the interpretation of the allocation-flag here. This might cause > differences in behavior. > > AFAICS it doesn't because pstr is not NULL if and only if IS_ALLOC_USED is set. Pstr is passed as para

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread PcX
? 2011/8/1 2:36, Kai Tietz ??: Wouldn't that destroy the license of mingwex? > > Earnie Duh ... good point. You are right no way here. Is there some way to add the ld option : -Wl,--start-group and -Wl,--end-group ? -- Best Regards, PcX --

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread Kai Tietz
2011/7/31 Earnie : > Kai Tietz wrote: > >>> >>> So I temporarily merge the libmingwex and libgcov. >>> >>> -- Best Regards, PcX >> >> Well, this might a way to solve this issue. That we merge stuff >> from libgcov into mingex and keep the libgcov library just as dummy >> library (as we do for libm)

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread Earnie
Kai Tietz wrote: >> >> So I temporarily merge the libmingwex and libgcov. >> >> -- Best Regards, PcX > > Well, this might a way to solve this issue. That we merge stuff > from libgcov into mingex and keep the libgcov library just as dummy > library (as we do for libm). I have to think about that a

[Mingw-w64-public] Can't compile cross compiler toolchain

2011-07-31 Thread lol37 lol37
Hello everybody :) I cannot get past the compilation of mingw64-crt, here is the error : "../mingw-w64-crt/libsrc/uuid.c:19:21: fatal error: propkey.h: No such file or directory" i already installed mingw64-headers, i think it's coming from gcc compilation flags because by the past i successfully c

Re: [Mingw-w64-public] [PATCH] __mingw_*scanf() always crash if %c or %s is used

2011-07-31 Thread Kai Tietz
2011/7/31 Ozkan Sezer : > On Sat, Jul 23, 2011 at 6:16 PM, Ozkan Sezer wrote: >> On Sat, Jul 23, 2011 at 3:51 PM, Christian Franke >> wrote: >>> Hi, >>> >>> On Jun 23, 2011, Christian Franke wrote: Hi, thanks for providing mingw-w64. I found this when I tried to compile s

Re: [Mingw-w64-public] [PATCH] __mingw_*scanf() always crash if %c or %s is used

2011-07-31 Thread Ozkan Sezer
On Sat, Jul 23, 2011 at 6:16 PM, Ozkan Sezer wrote: > On Sat, Jul 23, 2011 at 3:51 PM, Christian Franke > wrote: >> Hi, >> >> On Jun 23, 2011, Christian Franke wrote: >>> Hi, >>> >>> thanks for providing mingw-w64. >>> >>> I found this when I tried to compile smartmontools on Cygwin with >>> i686

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread Kai Tietz
2011/7/31 PcX : > 于 2011/7/31 17:03, Kai Tietz 写道: >> >> Yes, but it is controlled by spec.  As libgmon relies on C runtime >> function it has to come before libmingwex.  So it isn't wise to build >> CRT's objects and helper-library itself with profiling for now.  To >> allow this we would need to

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread PcX
于 2011/7/31 17:03, Kai Tietz 写道: > Yes, but it is controlled by spec. As libgmon relies on C runtime > function it has to come before libmingwex. So it isn't wise to build > CRT's objects and helper-library itself with profiling for now. To > allow this we would need to review (and maybe improve

Re: [Mingw-w64-public] MinGW64 CRT built using PGO Optimization has some problems

2011-07-31 Thread Kai Tietz
2011/7/31 NightStrike : > On Fri, Jul 29, 2011 at 1:32 PM, PcX wrote: >> 于 2011/7/29 18:32, PcX 写道: >> >> Hi ,all >> >>     I try to use PGO Optimization to build MinGW64 CRT, but in the check, it >> has some link stage errors. >> >>     1) I use the configure option below: >> ./configure