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

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

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

2011-07-30 Thread 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 --prefix=/mingw --enable-lib32 --e

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

2011-07-29 Thread PcX
于 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 --prefix=/mingw --enable-lib32 --enable-wildcard --enable-tests-unicode 2) make CFL

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

2011-07-29 Thread 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 --prefix=/mingw --enable-lib32 --enable-wildcard --enable-tests-unicode 2) make CFLAGS="-pipe -O3 -fprofile-gen