[Mingw-w64-public] Fwd: [Qt-creator] [Development] mingw x64

2011-11-02 Thread Pau Garcia i Quiles
Hi,

Ruben, do you know why gdb seems to be slow at the start of session?
It seems to be the only thing preventing Qt and Qt Creator from
adopting mingw-w64 as the official gcc toolchain on Windows and
supporting x64.

Thank you


-- Forwarded message --
From: andy fillebrown 
Date: Wed, Nov 2, 2011 at 1:01 PM
Subject: Re: [Qt-creator] [Development] mingw x64
To: Yves Bailly 
Cc: qt-crea...@qt-project.org


Howdy,

FWIW, Qt and Qt Creator both built out of the box using Ruben's mingw
w64 4.6.3 build, and the python based debugging helpers all seems to
be working when debugging in Qt Creator, which is great!

Gdb takes a long time to set breakpoints at the start of a session,
though.  I've seen this with other versions of mingw/gdb, too, so it's
probably not a mingw w64 specific problem, but it keeps me from using
mingw w64 as my main toolchain on Windows.  For now I'm sticking with
the mingw toolchain from the Qt sdk.

Cheers,
~ andy.f



On Wed, Nov 2, 2011 at 3:15 AM, Yves Bailly  wrote:
> Le 29/10/2011 14:14, Pau Garcia i Quiles a écrit :
>> Another benefit of mingw-w64 is large file support via
>> _FILE_OFFSET_BITS=64, which makes very easy to support cross-platform
>> applications that deal with>  2 GB files. No other MinGW flavor
>> supports that, AFAIK.
>>
>
> Let me second that, adding the fact that some of us "poor" developers
> for desktop sometime need to handle more than 4GB of RAM... not everyone
> is writing small-mobile-embeded apps ;-)
>
> Support for mingw-x64 is a long lasting and real need. About gdb working
> or not, for my own case it doesn't matter much.
>
> Regards,
>
> --
>      /- Yves Bailly - Software developper  -\
>      \- Sescoi R&D  - http://www.sescoi.fr -/
> "The possible is done. The impossible is being done. For miracles,
> thanks to allow a little delay."
> ___
> Qt-creator mailing list
> qt-crea...@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

--
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Fwd: [Qt-creator] [Development] mingw x64

2011-11-02 Thread Ruben Van Boxem
2011/11/2 Pau Garcia i Quiles 

> Hi,
>
> Ruben, do you know why gdb seems to be slow at the start of session?
> It seems to be the only thing preventing Qt and Qt Creator from
> adopting mingw-w64 as the official gcc toolchain on Windows and
> supporting x64.
>

I'm sure that's not the only thing preventing Nokia from switching to
MinGW-w64... although this is the first I've heard of slow startup of gdb.
I never use it (never seems to work quite the way I want it to, but that's
me being debugger-incapable). Could you give me a reproducible example (and
a gdb which works without the slow startup)? Maybe I could see where the
difference comes from (or at least ask around). Have you tried 32-bit vs
64-bit as well?

And thank you for promoting my builds :) It would indeed be awesome to have
Qt switch to MinGW-w64. I've been making sure all of it keeps working
(err.. building) since 4.7. If anyone asks for help with anything
build-related, feel free to redirect them to this list!

Ruben


>
> Thank you
>
>
> -- Forwarded message --
> From: andy fillebrown 
> Date: Wed, Nov 2, 2011 at 1:01 PM
> Subject: Re: [Qt-creator] [Development] mingw x64
> To: Yves Bailly 
> Cc: qt-crea...@qt-project.org
>
>
> Howdy,
>
> FWIW, Qt and Qt Creator both built out of the box using Ruben's mingw
> w64 4.6.3 build, and the python based debugging helpers all seems to
> be working when debugging in Qt Creator, which is great!
>
> Gdb takes a long time to set breakpoints at the start of a session,
> though.  I've seen this with other versions of mingw/gdb, too, so it's
> probably not a mingw w64 specific problem, but it keeps me from using
> mingw w64 as my main toolchain on Windows.  For now I'm sticking with
> the mingw toolchain from the Qt sdk.
>
> Cheers,
> ~ andy.f
>
>
>
> On Wed, Nov 2, 2011 at 3:15 AM, Yves Bailly  wrote:
> > Le 29/10/2011 14:14, Pau Garcia i Quiles a écrit :
> >> Another benefit of mingw-w64 is large file support via
> >> _FILE_OFFSET_BITS=64, which makes very easy to support cross-platform
> >> applications that deal with>  2 GB files. No other MinGW flavor
> >> supports that, AFAIK.
> >>
> >
> > Let me second that, adding the fact that some of us "poor" developers
> > for desktop sometime need to handle more than 4GB of RAM... not everyone
> > is writing small-mobile-embeded apps ;-)
> >
> > Support for mingw-x64 is a long lasting and real need. About gdb working
> > or not, for my own case it doesn't matter much.
> >
> > Regards,
> >
> > --
> >  /- Yves Bailly - Software developper  -\
> >  \- Sescoi R&D  - http://www.sescoi.fr -/
> > "The possible is done. The impossible is being done. For miracles,
> > thanks to allow a little delay."
> > ___
> > Qt-creator mailing list
> > qt-crea...@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
>
> --
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)
>
>
> --
> RSA® Conference 2012
> Save $700 by Nov 18
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Fwd: [Qt-creator] [Development] mingw x64

2011-11-02 Thread K. Frank
Hello Ruben!

On Wed, Nov 2, 2011 at 9:01 AM, Ruben Van Boxem
 wrote:
> 2011/11/2 Pau Garcia i Quiles 
>>
>> Hi,
>>
>> Ruben, do you know why gdb seems to be slow at the start of session?
>> It seems to be the only thing preventing Qt and Qt Creator from
>> adopting mingw-w64 as the official gcc toolchain on Windows and
>> supporting x64.
>
> I'm sure that's not the only thing preventing Nokia from switching to
> MinGW-w64... although this is the first I've heard of slow startup of gdb. I
> never use it (never seems to work quite the way I want it to, but that's me
> being debugger-incapable).

For what it's worth, I've noticed that your 64-bit gdb (from the 4.7.0
std::thread build) seems slower.

I have a moderately complex qt application.  The command:

   gdb myApp

starts right away, and gives me the gdb prompt, but then running
the gdb command:

   run

takes several minutes of gdb using the processor before myApp
starts up (and starts using the processor).

I don't have exact timings, but from recollection, earlier 32-bit gdb's
I used (I believe tdm's mingw 4.4.1 build) might have taken a few
tens of seconds to do the same thing.

> Could you give me a reproducible example (and a
> gdb which works without the slow startup)? Maybe I could see where the
> difference comes from (or at least ask around). Have you tried 32-bit vs
> 64-bit as well?

Well, I saw faster startups with the above-mentioned tdm version:

   g++ --version:   g++.exe (TDM-2 mingw32) 4.4.1
   gdb -- version:   GNU gdb (GDB) 7.1

I can get you further details on the exact version, if you care.

I haven't tried it specifically, but I would expect that any little qt gui test
application -- instantiate a QApplication and instantiate and show a
QWidget, for example -- would work as a "reproducible example."

I should emphasize that I changed several things at the same time.
It was a Ruben 4.7.0 std::thread 64-bit mingw-w64 / qt 4.8.0-rc1 /
qwt 6.0.1 port / rebuild of my application that experiences the slower
gdb startup.

> And thank you for promoting my builds :)

Oh, yes...  I've been promoting your builds over on the qt list, all right!
(Hee-hee...)

> It would indeed be awesome to have
> Qt switch to MinGW-w64. I've been making sure all of it keeps working (err..
> building) since 4.7. If anyone asks for help with anything build-related,
> feel free to redirect them to this list!
>
> Ruben
> ...

Again, thanks for all of your efforts.


K. Frank

--
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Fwd: [Qt-creator] [Development] mingw x64

2011-11-09 Thread Asmwarrior
On 2011-11-2 20:09, Pau Garcia i Quiles wrote:
> Hi,
> 
> Ruben, do you know why gdb seems to be slow at the start of session?
> It seems to be the only thing preventing Qt and Qt Creator from
> adopting mingw-w64 as the official gcc toolchain on Windows and
> supporting x64.
> 
> Thank you
> 
> 
> -- Forwarded message --
> From: andy fillebrown 
> 
> Date: Wed, Nov 2, 2011 at 1:01 PM
> Subject: Re: [Qt-creator] [Development] mingw x64
> To: Yves Bailly 
> Cc: qt-creator-x+mzmtya7i0kk94pdny...@public.gmane.org
> 
> 
> Howdy,
> 
> FWIW, Qt and Qt Creator both built out of the box using Ruben's mingw
> w64 4.6.3 build, and the python based debugging helpers all seems to
> be working when debugging in Qt Creator, which is great!
> 
> Gdb takes a long time to set breakpoints at the start of a session,
> though.  I've seen this with other versions of mingw/gdb, too, so it's
> probably not a mingw w64 specific problem, but it keeps me from using
> mingw w64 as my main toolchain on Windows.  For now I'm sticking with
> the mingw toolchain from the Qt sdk.
> 
> Cheers,
> ~ andy.f
> 
> 
> 
> On Wed, Nov 2, 2011 at 3:15 AM, Yves Bailly 
>  wrote:
>> Le 29/10/2011 14:14, Pau Garcia i Quiles a écrit :
>>> Another benefit of mingw-w64 is large file support via
>>> _FILE_OFFSET_BITS=64, which makes very easy to support cross-platform
>>> applications that deal with>  2 GB files. No other MinGW flavor
>>> supports that, AFAIK.
>>>
>>
>> Let me second that, adding the fact that some of us "poor" developers
>> for desktop sometime need to handle more than 4GB of RAM... not everyone
>> is writing small-mobile-embeded apps ;-)
>>
>> Support for mingw-x64 is a long lasting and real need. About gdb working
>> or not, for my own case it doesn't matter much.
>>
>> Regards,
>>
>> --
>>  /- Yves Bailly - Software developper  -\
>>  \- Sescoi R&D  - http://www.sescoi.fr -/
>> "The possible is done. The impossible is being done. For miracles,
>> thanks to allow a little delay."
>> ___
>> Qt-creator mailing list
>> qt-creator-x+mzmtya7i0kk94pdny...@public.gmane.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
Hi, I always meet the gdb slow start session problem, but have you ever
try this patch:

http://sourceware.org/ml/gdb-patches/2011-11/msg00141.html

It looks like the comparison of files takes a lot of time if your app
has many dll loading on the start up session.

A related topic can be found here:
Re: configure file to debug codecompletion plugin
http://forums.codeblocks.org/index.php/topic,12951.msg87332.html#msg87332

Also, you can try my build gdb.exe, see:
[OT] unofficial MinGW GDB gdb with python released -
http://forums.codeblocks.org/index.php/topic,11301.msg77000.html#msg77000


asmwarrior
ollydbg from codeblocks' forum



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public