On Wed, Apr 03, 2013 at 12:34:05PM +0300, Alberto Garcia wrote:
> This seems to be the upstream bug report:
It turns out that there are more build problems related to texinfo
than the one that I already mentioned.
All of them have been fixed upstream in different patches (some of
them even reverting changes made by others) so I decided to create
a single patch combining all the necessary changes to make binutils
compile.
I tried this patch both with texinfo 4 and 5 and binutils builds fine
with both versions.
Berto
From: Alberto Garcia
Bug-Debian: http://bugs.debian.org/704586
Description: Fix FTBFS with texinfo 5
This patch combines changes from the following commits from the
upstream git repository: baf8679, 935f854, f0fa19a and 2cfdb6d, by
Nick Clifton and Andreas Schwab.
Index: binutils-2.23.2/ld/ld.texinfo
===
--- binutils-2.23.2.orig/ld/ld.texinfo 2013-04-13 01:43:52.518562215 +0300
+++ binutils-2.23.2/ld/ld.texinfo 2013-04-13 01:43:52.602562470 +0300
@@ -7864,7 +7864,7 @@
@printindex cp
@tex
-% I think something like @colophon should be in texinfo. In the
+% I think something like @@colophon should be in texinfo. In the
% meantime:
\long\def\colophon{\hbox to0pt{}\vfill
\centerline{The body of this manual is set in}
@@ -7875,7 +7875,7 @@
\centerline{{\sl\fontname\tensl\/}}
\centerline{are used for emphasis.}\vfill}
\page\colophon
-% Blame: d...@cygnus.com, 28mar91.
+% Blame: doc@@cygnus.com, 28mar91.
@end tex
@bye
Index: binutils-2.23.2/gas/doc/c-arc.texi
===
--- binutils-2.23.2.orig/gas/doc/c-arc.texi 2011-01-18 15:37:39.0 +0200
+++ binutils-2.23.2/gas/doc/c-arc.texi 2013-04-13 01:49:07.503520205 +0300
@@ -220,7 +220,7 @@
encodings for use of these instructions according to the specification
by the user. The parameters are:
-@table @bullet
+@itemize @bullet
@item @var{name}
Name of the extension instruction
@@ -279,7 +279,7 @@
with SYNTAX_20P.
@end itemize
-@end table
+@end itemize
For example, defining 64-bit multiplier with immediate operands:
Index: binutils-2.23.2/gas/doc/c-arm.texi
===
--- binutils-2.23.2.orig/gas/doc/c-arm.texi 2013-03-25 10:06:21.0 +0200
+++ binutils-2.23.2/gas/doc/c-arm.texi 2013-04-13 01:43:52.602562470 +0300
@@ -390,7 +390,7 @@
@code{unified} syntax, which can be selected via the @code{.syntax}
directive, and has the following main features:
-@table @bullet
+@itemize @bullet
@item
Immediate operands do not require a @code{#} prefix.
@@ -415,7 +415,7 @@
@item
All instructions set the flags if and only if they have an @code{s}
affix.
-@end table
+@end itemize
@node ARM-Chars
@subsection Special Characters
@@ -451,28 +451,6 @@
@cindex register names, ARM
*TODO* Explain about ARM register naming, and the predefined names.
-@node ARM-Neon-Alignment
-@subsection NEON Alignment Specifiers
-
-@cindex alignment for NEON instructions
-Some NEON load/store instructions allow an optional address
-alignment qualifier.
-The ARM documentation specifies that this is indicated by
-@samp{@@ @var{align}}. However GAS already interprets
-the @samp{@@} character as a "line comment" start,
-so @samp{: @var{align}} is used instead. For example:
-
-@smallexample
-vld1.8 @{q0@}, [r0, :128]
-@end smallexample
-
-@node ARM Floating Point
-@section Floating Point
-
-@cindex floating point, ARM (@sc{ieee})
-@cindex ARM floating point (@sc{ieee})
-The ARM family uses @sc{ieee} floating-point numbers.
-
@node ARM-Relocations
@subsection ARM relocation generation
@@ -519,6 +497,28 @@
MOVT r0, #:upper16:foo
@end smallexample
+@node ARM-Neon-Alignment
+@subsection NEON Alignment Specifiers
+
+@cindex alignment for NEON instructions
+Some NEON load/store instructions allow an optional address
+alignment qualifier.
+The ARM documentation specifies that this is indicated by
+@samp{@@ @var{align}}. However GAS already interprets
+the @samp{@@} character as a "line comment" start,
+so @samp{: @var{align}} is used instead. For example:
+
+@smallexample
+vld1.8 @{q0@}, [r0, :128]
+@end smallexample
+
+@node ARM Floating Point
+@section Floating Point
+
+@cindex floating point, ARM (@sc{ieee})
+@cindex ARM floating point (@sc{ieee})
+The ARM family uses @sc{ieee} floating-point numbers.
+
@node ARM Directives
@section ARM Machine Directives
Index: binutils-2.23.2/gas/doc/c-mips.texi
===
--- binutils-2.23.2.orig/gas/doc/c-mips.texi 2012-09-04 17:16:07.0 +0300
+++ binutils-2.23.2/gas/doc/c-mips.texi 2013-04-13 01:43:52.602562470 +0300
@@ -234,7 +234,7 @@
instructions around accesses to the @samp{HI} and @samp{LO} registers.
@samp{-no-m4650} turns off this option.
-@itemx -m3900
+@item -m3900
@itemx -no-m3900
@itemx -m4100
@itemx -no