Article View: gnu.gdb.bug
Article #11666.7 build breaks on i686
From: Ilya N. Golubev
Date: Mon, 15 Oct 2007 17:13
Date: Mon, 15 Oct 2007 17:13
27 lines
2233 bytes
2233 bytes
Version: 6.7
Compiler: gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
System: i686-pc-linux-gnu
While compiling the following file, `-Werror' is passed to compiler.
Still
gdb-6.7/bfd/elf32-i386.c: In function `elf_i386_tls_transition':
gdb-6.7/bfd/elf32-i386.c:1174: warning: duplicate `const'
gdb-6.7/bfd/elf32-i386.c:1174: warning: duplicate `const'
make[4]: *** [elf32-i386.lo] Error 1
Preprocessed code contains the following.
`bfd.h':
typedef const struct reloc_howto_struct reloc_howto_type;
`elf32-i386.c':
const reloc_howto_type *from, *to;
`reloc_howto_type' appears to be quite generic, the same in all
builds. So this error warning should occur whenever compiling any
code like that.
Technical Details
Message-ID:
<mailman.2129.1192542558.18990.bug-gdb@gnu.org>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f5053,3d6aa24021b57ad8,start X-Google-Attributes: gidf5053,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail From: "Ilya N. Golubev" <gin@mo.msk.ru> Newsgroups: gnu.gdb.bug Subject: 6.7 build breaks on i686 Date: Mon, 15 Oct 2007 21:13:36 +0400 Lines: 29 Approved: bug-gdb@gnu.org Message-ID: <mailman.2129.1192542558.18990.bug-gdb@gnu.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1192542559 4654 199.232.76.165 (16 Oct 2007 13:49:19 GMT) X-Complaints-To: news@news.stanford.edu To: bug-gdb@gnu.org Envelope-to: bug-gdb@gnu.org X-Authentication-Warning: d-fens.mopniei.ru: gin set sender to gin@mo.msk.ru using -f X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 16 Oct 2007 09:49:17 -0400 X-BeenThere: bug-gdb@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>, <mailto:bug-gdb-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/bug-gdb> List-Post: <mailto:bug-gdb@gnu.org> List-Help: <mailto:bug-gdb-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>, <mailto:bug-gdb-request@gnu.org?subject=subscribe>