Package: binutils
Version: 2.16.1cvs20050902-1
Severity: important
Tags: patch

binutils currently FTBFS on mips/mipsel because of (otherwise harmless)
warnings in the gas build which are converted to errors via gcc -Werror.
The appended patch fixes it by relaxing that rule for itbl-lex.o, the
same way as it is already done for itbl-parse.o.


Thiemo


--- binutils-2.16.1cvs20050902/gas/Makefile.am.away     2005-10-14 
19:24:45.000000000 +0200
+++ binutils-2.16.1cvs20050902/gas/Makefile.am  2005-10-14 19:25:39.000000000 
+0200
@@ -603,7 +603,11 @@ $(srcdir)/config/m68k-parse.h: ; @true
 # The instruction table specification lexical analyzer and parser.
 
 itbl-lex.c: $(srcdir)/itbl-lex.l
+
+# Disable -Werror, if it has been enabled, since old versions of bison/
+# yacc will produce working code which contain compile time warnings. 
 itbl-lex.o: itbl-lex.c itbl-parse.h $(srcdir)/itbl-lex.h
+       $(COMPILE) -c $< $(NO_WERROR)
 
 # Disable -Werror, if it has been enabled, since old versions of bison/
 # yacc will produce working code which contain compile time warnings. 
--- binutils-2.16.1cvs20050902/gas/Makefile.in.away     2005-10-14 
19:26:00.000000000 +0200
+++ binutils-2.16.1cvs20050902/gas/Makefile.in  2005-10-14 19:26:20.000000000 
+0200
@@ -2830,7 +2830,11 @@ $(srcdir)/config/m68k-parse.h: ; @true
 # The instruction table specification lexical analyzer and parser.
 
 itbl-lex.c: $(srcdir)/itbl-lex.l
+
+# Disable -Werror, if it has been enabled, since old versions of bison/
+# yacc will produce working code which contain compile time warnings. 
 itbl-lex.o: itbl-lex.c itbl-parse.h $(srcdir)/itbl-lex.h
+       $(COMPILE) -c $< $(NO_WERROR)
 
 # Disable -Werror, if it has been enabled, since old versions of bison/
 # yacc will produce working code which contain compile time warnings. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to