This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 6.5.90 available for testing (GDB 6.6 pre-release)
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 4 Dec 2006 10:21:08 -0800
- Subject: Re: GDB 6.5.90 available for testing (GDB 6.6 pre-release)
- References: <20061202192351.GY3304@adacore.com> <4573EBCD.90505@de.ibm.com>
> I tried to build it on x86, FC5 with following error:
Thanks for trying it out...
> c1: warnings being treated as errors
> /home/user/gdb/6.5.90/gdb-6.5.90/gdb/p-valprint.c: In Funktion
> »pascal_object_print_value_fields«:
> /home/user/gdb/6.5.90/gdb-6.5.90/gdb/p-valprint.c:756: Warnung:
> »tmp_obstack.alloc_failed« könnte in dieser Funktion uninitialisiert
> verwendet werden
>
> <schnipp ... >
>
> /home/user/gdb/6.5.90/gdb-6.5.90/gdb/p-valprint.c:756: Warnung:
> »tmp_obstack.chunk_size« könnte in dieser Funktion uninitialisiert
> verwendet werden
> make[2]: *** [p-valprint.o] Fehler 1
> make[2]: Leaving directory `/home/user/gdb/6.5.90/gdb-6.5.90/build/gdb'
> make[1]: *** [all-gdb] Fehler 2
> make[1]: Leaving directory `/home/user/gdb/6.5.90/gdb-6.5.90/build'
> make: *** [all] Fehler 2
> [user@host build]$
I don't speak German, so if you could set your environment to C,
that would help me understand the source of the problem.
A workaround for you is to build with --disable-werror.
> I checked out 6.6 branch and head some days ago, they build fine.
So we just need to isolate the patch from head that avoids the warning.
--
Joel