logo       

Re: gdb/2226: Build failure of GDB CVS with SVN GCC (4.3.0): msg#00027

Subject: Re: gdb/2226: Build failure of GDB CVS with SVN GCC (4.3.0)
The following reply was made to PR gdb/2226; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@xxxxxxxxxxx>
To: Daniel Jacobowitz <drow@xxxxxxxxx>
Cc: gdb-gnats@xxxxxxxxxxxxxxxxxx
Subject: Re: gdb/2226: Build failure of GDB CVS with SVN GCC (4.3.0)
Date: 12 Feb 2007 19:39:13 -0600

 Daniel Jacobowitz <drow@xxxxxxxxx> writes:
 
 | On Sat, Feb 10, 2007 at 07:04:54AM -0000, gdr@xxxxxxxxxxx wrote:
 | > Attempt to build GDB sources from CVS with SVN GCC (4.3.0, 20070209) 
results in failure.
 | > The build failure is caused by a "may be used uninitialized"
 | > that is turned into error because of -Werror in GDB
 | > makefile.
 | 
 | ... where? :-)  I do not have SVN GCC handy.
 
 Hi Dan,
 
    Thanks for looking into this.
 
 The build failed in p-valprint.c, caused by warnings turned into
 errors:
 
 /home/gdr/redhat/combined/gdb/p-valprint.c: In function 
'pascal_object_print_value_fields':
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.alloc_failed' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.maybe_empty_object' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.use_extra_arg' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.extra_arg' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.freefun' 
may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.chunkfun' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.alignment_mask' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.temp' 
may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.chunk_limit' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.next_free' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.object_base' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.chunk' 
may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 
'tmp_obstack.chunk_size' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c: In function 
'pascal_object_print_value':
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.alloc_failed' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.maybe_empty_object' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.use_extra_arg' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.extra_arg' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.freefun' 
may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.chunkfun' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.alignment_mask' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.temp' 
may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.chunk_limit' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.next_free' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.object_base' may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.chunk' 
may be used uninitialized in this function
 /home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 
'tmp_obstack.chunk_size' may be used uninitialized in this function
 
 
 
 BTW, I looked into the docs for information about how to suppress the
 build of support for Pascal (and other languages I'm not interested
 in).  --enable-languages=c++ did not cut it.  Is there a "community
 knowledge" document somewhere that contains that kind of stuff?
 
 Thanks!
 
 -- Gaby



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe