public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Binutils builds broken with -Werror
@ 2005-03-17  2:24 Daniel Jacobowitz
  2005-03-21 12:08 ` Nick Clifton
  0 siblings, 1 reply; 21+ messages in thread
From: Daniel Jacobowitz @ 2005-03-17  2:24 UTC (permalink / raw)
  To: binutils

We need to either disable -Werror for generated files, or accomodate
different versions of flex/bison more flexibly.  I recommend the former...

itbl-lex.c:1693: warning: no previous prototype for `yyget_lineno'
itbl-lex.c:1702: warning: no previous prototype for `yyget_in'
itbl-lex.c:1710: warning: no previous prototype for `yyget_out'
itbl-lex.c:1718: warning: no previous prototype for `yyget_leng'
itbl-lex.c:1727: warning: no previous prototype for `yyget_text'
itbl-lex.c:1736: warning: no previous prototype for `yyset_lineno'
itbl-lex.c:1748: warning: no previous prototype for `yyset_in'
itbl-lex.c:1753: warning: no previous prototype for `yyset_out'
itbl-lex.c:1758: warning: no previous prototype for `yyget_debug'
itbl-lex.c:1763: warning: no previous prototype for `yyset_debug'
itbl-lex.c:1769: warning: no previous prototype for `yylex_destroy'
make[3]: *** [itbl-lex.o] Error 1

lex.yy.c:1841: warning: no previous prototype for `yyget_lineno'
lex.yy.c:1850: warning: no previous prototype for `yyget_in'
lex.yy.c:1858: warning: no previous prototype for `yyget_out'
lex.yy.c:1866: warning: no previous prototype for `yyget_leng'
lex.yy.c:1875: warning: no previous prototype for `yyget_text'
lex.yy.c:1884: warning: no previous prototype for `yyset_lineno'
lex.yy.c:1896: warning: no previous prototype for `yyset_in'
lex.yy.c:1901: warning: no previous prototype for `yyset_out'
lex.yy.c:1906: warning: no previous prototype for `yyget_debug'
lex.yy.c:1911: warning: no previous prototype for `yyset_debug'
lex.yy.c:1917: warning: no previous prototype for `yylex_destroy'
lex.yy.c:1349: warning: `yyunput' defined but not used
make[3]: *** [arlex.o] Error 1

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: Binutils builds broken with -Werror
@ 2005-03-24 23:48 Nick Clifton
  0 siblings, 0 replies; 21+ messages in thread
From: Nick Clifton @ 2005-03-24 23:48 UTC (permalink / raw)
  To: binutils

Hi Guys,

  Jim's patch to prevent building the elf32-ia64.lo object file when
  producing a 32-bit BFD library missed one place - the
  _bfd_target_vector in bfd/targets.c.  So I am checking in the patch
  below to fix this.  Tested with a toolchain configured as
  "--enable-targets=all" but not with "--enable-64-bit-bfd".

Cheers
  Nick

bfd/ChangeLog
2005-03-24  Nick Clifton  <nickc@redhat.com>

	* targets.c (_bfd_target_vector): Only include the
	bfd_elf32_ia64_hpux_big_vec vector when building a 64-bit BFD with
	all targets enabled.

Index: bfd/targets.c
===================================================================
RCS file: /cvs/src/src/bfd/targets.c,v
retrieving revision 1.123
diff -c -3 -p -r1.123 targets.c
*** bfd/targets.c	1 Mar 2005 01:56:27 -0000	1.123
--- bfd/targets.c	24 Mar 2005 20:57:21 -0000
*************** static const bfd_target * const _bfd_tar
*** 867,873 ****
--- 867,875 ----
  #if 0
  	&bfd_elf32_ia64_big_vec,
  #endif
+ #ifdef BFD64
  	&bfd_elf32_ia64_hpux_big_vec,
+ #endif
  	&bfd_elf32_ip2k_vec,
  	&bfd_elf32_iq2000_vec,
  	&bfd_elf32_little_generic_vec,

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

end of thread, other threads:[~2005-03-24 21:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17  2:24 Binutils builds broken with -Werror Daniel Jacobowitz
2005-03-21 12:08 ` Nick Clifton
2005-03-21 13:19   ` Richard Sandiford
2005-03-22 17:08     ` Nick Clifton
2005-03-22 17:12       ` Ian Lance Taylor
2005-03-22 17:31         ` Nick Clifton
2005-03-22 18:14           ` Maciej W. Rozycki
2005-03-22 18:24             ` Paul Brook
2005-03-22 18:48               ` Paul Brook
2005-03-22 19:38               ` Ian Lance Taylor
2005-03-22 19:44                 ` Ian Lance Taylor
2005-03-22 21:54                 ` Maciej W. Rozycki
2005-03-22 21:56                   ` Maciej W. Rozycki
2005-03-23 14:43                   ` Nick Clifton
2005-03-23 15:34                     ` Nick Clifton
2005-03-25  2:15                     ` Maciej W. Rozycki
2005-03-22 19:27           ` Dave Korn
2005-03-22 20:49             ` Nick Clifton
2005-03-23  5:31               ` Andreas Schwab
2005-03-23 14:41                 ` Nick Clifton
2005-03-24 23:48 Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).