This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 6.8 fatal warning when compiled with GCC trunk 4.4 (testsuite in parallel?)
On Sat, 2009-02-28 at 08:06 -0800, Paul Pluzhnikov wrote:
> On Sat, Feb 28, 2009 at 6:18 AM, Laurent GUERBY <laurent@guerby.net> wrote:
>
> > FYI GDB 6.8 fails to build when compiled with GCC trunk (4.4 not
> > released yet) because of a new warning:
>
> Thanks for reporting this.
>
> AFAICT, current GDB CVS Head compiles fine with GCC trunk.
> Could you confirm that?
Yes I confirm GDB HEAD builds fine with GCC trunk, on compile
farm gcc17 (bi-quad x86_64):
guerby@gcc17:~/build-gdb$ gcc --version
gcc (GCC) 4.4.0 20090228 (experimental) [trunk revision 144486]
guerby@gcc17:~/build-gdb$ ../gdb-head/configure --prefix=/n/17/guerby/install-gdb-20080228 --disable-nls
...
guerby@gcc17:~/build-gdb$ time make -j 8; echo $?
...
make[1]: Leaving directory `/home/guerby/build-gdb'
real 1m18.425s
user 4m23.184s
sys 0m38.850s
0
It looks like GDB make -k check is not parallelized so it will take
a while more to have testresults :).
Jakub contributed last year some Makefile smartness to parallelize make
check for GCC may be the same kinf of trick would work for GDB since I
see many subtargets in gdb/Makefile.in?
Laurent