[rtems-tools commit] Bugfix: gcc-4.4.7 couldn' t be build with a modern texinfo package.

Sebastian Huber sebh at rtems.org
Thu Mar 10 07:52:48 UTC 2016


Module:    rtems-tools
Branch:    master
Commit:    47ec083822f34551893f7bbe9754ec1b9eb96606
Changeset: http://git.rtems.org/rtems-tools/commit/?id=47ec083822f34551893f7bbe9754ec1b9eb96606

Author:    Götz Pfeiffer <pfeiffer at elbe.acc.bessy.de>
Date:      Thu Jan  7 15:13:50 2016 +0100

Bugfix: gcc-4.4.7 couldn't be build with a modern texinfo package.

The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that gcc-4.4.7 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Update #2520.

---

 .../gcc/gcc-core-4.4.7-rtems4.10-20151123.diff     | 86 ++++++++++++++++++++++
 1 file changed, 86 insertions(+)

diff --git a/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff b/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff
new file mode 100644
index 0000000..a810cfe
--- /dev/null
+++ b/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff
@@ -0,0 +1,86 @@
+--- gcc-4.4.7-orig/gcc/doc/c-tree.texi	2009-02-20 16:20:38.000000000 +0100
++++ gcc-4.4.7/gcc/doc/c-tree.texi	2015-11-17 09:43:59.054448894 +0100
+@@ -2338,13 +2338,13 @@
+ not matter.  The type of the operands and that of the result are
+ always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}.
+ 
+- at itemx POINTER_PLUS_EXPR
++ at item  POINTER_PLUS_EXPR
+ This node represents pointer arithmetic.  The first operand is always
+ a pointer/reference type.  The second operand is always an unsigned
+ integer type compatible with sizetype.  This is the only binary
+ arithmetic operand that can operate on pointer types.
+ 
+- at itemx PLUS_EXPR
++ at item  PLUS_EXPR
+ @itemx MINUS_EXPR
+ @itemx MULT_EXPR
+ These nodes represent various binary arithmetic operations.
+--- gcc-4.4.7-orig/gcc/doc/cppopts.texi	2008-06-15 11:42:13.000000000 +0200
++++ gcc-4.4.7/gcc/doc/cppopts.texi	2015-11-17 09:40:09.377639641 +0100
+@@ -758,7 +758,7 @@
+ Enable special code to work around file systems which only permit very
+ short file names, such as MS-DOS at .
+ 
+- at itemx --help
++ at item --help
+ @itemx --target-help
+ @opindex help
+ @opindex target-help
+--- gcc-4.4.7-orig/gcc/doc/invoke.texi	2015-11-16 16:56:48.140502438 +0100
++++ gcc-4.4.7/gcc/doc/invoke.texi	2015-11-17 09:55:03.217222123 +0100
+@@ -4649,11 +4649,11 @@
+ @option{-fdump-rtl-ce3} enable dumping after the three
+ if conversion passes. 
+ 
+- at itemx -fdump-rtl-cprop_hardreg
++ at item -fdump-rtl-cprop_hardreg
+ @opindex fdump-rtl-cprop_hardreg
+ Dump after hard register copy propagation.
+ 
+- at itemx -fdump-rtl-csa
++ at item -fdump-rtl-csa
+ @opindex fdump-rtl-csa
+ Dump after combining stack adjustments.
+ 
+@@ -4664,11 +4664,11 @@
+ @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after
+ the two common sub-expression elimination passes.
+ 
+- at itemx -fdump-rtl-dce
++ at item -fdump-rtl-dce
+ @opindex fdump-rtl-dce
+ Dump after the standalone dead code elimination passes.
+ 
+- at itemx -fdump-rtl-dbr
++ at item -fdump-rtl-dbr
+ @opindex fdump-rtl-dbr
+ Dump after delayed branch scheduling.
+ 
+@@ -4713,7 +4713,7 @@
+ @opindex fdump-rtl-initvals
+ Dump after the computation of the initial value sets.
+ 
+- at itemx -fdump-rtl-into_cfglayout
++ at item -fdump-rtl-into_cfglayout
+ @opindex fdump-rtl-into_cfglayout
+ Dump after converting to cfglayout mode.
+ 
+@@ -4743,7 +4743,7 @@
+ @opindex fdump-rtl-rnreg
+ Dump after register renumbering.
+ 
+- at itemx -fdump-rtl-outof_cfglayout
++ at item -fdump-rtl-outof_cfglayout
+ @opindex fdump-rtl-outof_cfglayout
+ Dump after converting from cfglayout mode.
+ 
+@@ -4755,7 +4755,7 @@
+ @opindex fdump-rtl-postreload
+ Dump after post-reload optimizations.
+ 
+- at itemx -fdump-rtl-pro_and_epilogue
++ at item -fdump-rtl-pro_and_epilogue
+ @opindex fdump-rtl-pro_and_epilogue
+ Dump after generating the function pro and epilogues.
+ 



More information about the vc mailing list