Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB 6.8 fatal warning when compiled with GCC trunk 4.4
@ 2009-02-28 14:18 Laurent GUERBY
  2009-02-28 16:07 ` Paul Pluzhnikov
  0 siblings, 1 reply; 5+ messages in thread
From: Laurent GUERBY @ 2009-02-28 14:18 UTC (permalink / raw)
  To: GDB

Hi,

FYI GDB 6.8 fails to build when compiled with GCC trunk (4.4 not
released yet) because of a new warning:

gcc -m64 -c -g -O2   -I. -I.././gdb -I.././gdb/config
-DLOCALEDIR="\"/opt/cfarm/gdb-6.8-64/share/locale\"" -DHAVE_CONFIG_H
-I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd
-I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber
-I.././gdb/../libdecnumber   -DMI_OUT=1 -DTUI=1  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror
eval.c
cc1: warnings being treated as errors
eval.c: In function 'evaluate_subexp_standard':
eval.c:1705: error: 'subscript_array' may be used uninitialized in this
function
make[2]: *** [eval.o] Error 1
make[2]: Leaving directory `/home/guerby/gdb-6.8/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/guerby/gdb-6.8'
make: *** [all] Error 2

Laurent


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB 6.8 fatal warning when compiled with GCC trunk 4.4
  2009-02-28 14:18 GDB 6.8 fatal warning when compiled with GCC trunk 4.4 Laurent GUERBY
@ 2009-02-28 16:07 ` Paul Pluzhnikov
  2009-02-28 16:29   ` Joel Sherrill
  2009-02-28 16:49   ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 (testsuite in parallel?) Laurent GUERBY
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Pluzhnikov @ 2009-02-28 16:07 UTC (permalink / raw)
  To: Laurent GUERBY; +Cc: GDB

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?

Thanks,
-- 
Paul Pluzhnikov


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB 6.8 fatal warning when compiled with GCC trunk 4.4
  2009-02-28 16:07 ` Paul Pluzhnikov
@ 2009-02-28 16:29   ` Joel Sherrill
  2009-02-28 16:49   ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 (testsuite in parallel?) Laurent GUERBY
  1 sibling, 0 replies; 5+ messages in thread
From: Joel Sherrill @ 2009-02-28 16:29 UTC (permalink / raw)
  To: Paul Pluzhnikov; +Cc: Laurent GUERBY, GDB

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?
>
>   
Laurent.. my gcc test reports for RTEMS always use
the binutils, GCC, and GDB heads.

--joel
> Thanks,
>   


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB 6.8 fatal warning when compiled with GCC trunk 4.4  (testsuite in parallel?)
  2009-02-28 16:07 ` Paul Pluzhnikov
  2009-02-28 16:29   ` Joel Sherrill
@ 2009-02-28 16:49   ` Laurent GUERBY
  2009-02-28 17:16     ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 Laurent GUERBY
  1 sibling, 1 reply; 5+ messages in thread
From: Laurent GUERBY @ 2009-02-28 16:49 UTC (permalink / raw)
  To: Paul Pluzhnikov; +Cc: GDB, Jakub Jelinek

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB 6.8 fatal warning when compiled with GCC trunk 4.4
  2009-02-28 16:49   ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 (testsuite in parallel?) Laurent GUERBY
@ 2009-02-28 17:16     ` Laurent GUERBY
  0 siblings, 0 replies; 5+ messages in thread
From: Laurent GUERBY @ 2009-02-28 17:16 UTC (permalink / raw)
  To: Paul Pluzhnikov; +Cc: GDB

On Sat, 2009-02-28 at 17:49 +0100, Laurent GUERBY wrote:
> 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 :). 

guerby@gcc17:~/build-gdb$ time make -j 8 -k check >& c.log; echo $?

real	14m8.140s
user	2m16.133s
sys	3m36.586s
2

		=== gdb Summary ===

# of expected passes		13120
# of unexpected failures	142
# of expected failures		42
# of known failures		55
# of unresolved testcases	2
# of untested testcases		10
# of unsupported tests		15
/home/guerby/build-gdb/gdb/testsuite/../../gdb/gdb version  6.8.50.20090228-cvs -nw -nx 

Laurent


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-28 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-28 14:18 GDB 6.8 fatal warning when compiled with GCC trunk 4.4 Laurent GUERBY
2009-02-28 16:07 ` Paul Pluzhnikov
2009-02-28 16:29   ` Joel Sherrill
2009-02-28 16:49   ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 (testsuite in parallel?) Laurent GUERBY
2009-02-28 17:16     ` GDB 6.8 fatal warning when compiled with GCC trunk 4.4 Laurent GUERBY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox