Monday, 2 March 2015

Re: [gccsdk] build for gcc4.1.2 fails too

Hi

I've now got the 4.1.2 building again.

3 patches needed in the patches.binutils directory

1:bfd.doc.bfd.texinfo.p
--- bfd/doc/bfd.texinfo.orig    2015-03-01 20:07:22.186476304 +0000
+++ bfd/doc/bfd.texinfo 2015-03-01 17:47:30.018460091 +0000
@@ -322,7 +322,7 @@ All of BFD lives in one directory.
 @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}
@@ -333,7 +333,7 @@ All of BFD lives in one directory.
 \centerline{{\sl\fontname\tensl\/}}
 \centerline{are used for emphasis.}\vfill}
 \page\colophon
-% Blame: doc@cygnus.com, 28mar91.
+% Blame: doc@@cygnus.com, 28mar91.
 @end tex

 @bye

2:gas.doc.c-tic54x.texi.p
--- gas/doc/c-tic54x.texi.orig  2015-03-02 00:20:30.022505487 +0000
+++ gas/doc/c-tic54x.texi       2015-03-02 00:47:20.378508563 +0000
@@ -108,7 +108,7 @@ In this example, x is replaced with SYM2
 is replaced with x.  At this point, x has already been encountered
 and the substitution stops.

-@smallexample @code
+@smallexample
  .asg   "x",SYM1
  .asg   "SYM1",SYM2
  .asg   "SYM2",x
@@ -125,14 +125,14 @@ Substitution may be forced in situations
 ambiguous by placing colons on either side of the subsym.  The following
 code:

-@smallexample @code
+@smallexample
  .eval  "10",x
 LAB:X:  add     #x, a
 @end smallexample

 When assembled becomes:

-@smallexample @code
+@smallexample
 LAB10  add     #10, a
 @end smallexample

@@ -308,7 +308,7 @@ The @code{LDX} pseudo-op is provided for
 of a label or address.  For example, if an address @code{_label} resides
 in extended program memory, the value of @code{_label} may be loaded as
 follows:
-@smallexample @code
+@smallexample
  ldx     #_label,16,a    ; loads extended bits of _label
  or      #_label,a       ; loads lower 16 bits of _label
  bacc    a               ; full address is in accumulator A
@@ -344,7 +344,7 @@ Assign @var{name} the string @var{string
 performed on @var{string} before assignment.

 @cindex @code{eval} directive, TIC54X
-@itemx .eval @var{string}, @var{name}
+@item .eval @var{string}, @var{name}
 Evaluate the contents of string @var{string} and assign the result as a
 string to the subsym @var{name}.  String replacement is performed on
 @var{string} before assignment.


3: ld.ld.texinfo.p
--- ld/ld.texinfo.orig  2015-03-01 20:06:54.054476234 +0000
+++ ld/ld.texinfo       2015-03-01 19:33:36.278472373 +0000
@@ -7682,7 +7682,7 @@ If you have more than one @code{SECT} st
 @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}
@@ -7693,7 +7693,7 @@ If you have more than one @code{SECT} st
 \centerline{{\sl\fontname\tensl\/}}
 \centerline{are used for emphasis.}\vfill}
 \page\colophon
-% Blame: doc@cygnus.com, 28mar91.
+% Blame: doc@@cygnus.com, 28mar91.
 @end tex

 @bye


John









On 02/03/2015 20:15, Theo Markettos wrote:
On Sun, Mar 01, 2015 at 10:15:53PM +0100, John Tytgat wrote:  
Yes, actually I could reproduce this myself.  I've backported several  binutils patches so that so that more recent texinfo versions can be  used to build its documentation.    Cfr. r6782 for the branches/release_4_1_2 svn branch.  
  Inspired by JB's postings, I finished moving the CI server to better  hardware and started it again.  However, 4.1.2 doesn't seem to build for me:    make[6]: Entering directory `/var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/builddir/cross-binutils/gas/doc'  make[6]: Nothing to be done for `install-exec-am'.  restore=: && backupdir=".am$$" && \  	rm -rf $backupdir && mkdir $backupdir && \  	if (makeinfo --split-size=5000000 --split-size=5000000 --version) >/dev/null 2>&1; then \  	  for f in as.info as.info-[0-9] as.info-[0-9][0-9] as.i[0-9] as.i[0-9][0-9]; do \  	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \  	  done; \  	else :; fi && \  	if makeinfo --split-size=5000000 --split-size=5000000 -I "/var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/doc" -I "/var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/../libiberty" -I "/var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/../bfd/doc" -I ../../bfd/doc  -I /var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/doc \  	 -o as.info `test -f 'as.texinfo' || echo '/var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/doc/'`as.texinfo; \  	then \  	  rc=0; \  	else \  	  rc=$?; \  	  $restore $backupdir/* `echo "./as.info" | sed 's|[^/]*$||'`; \  	fi; \  	rm -rf $backupdir; exit $rc  /var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/doc/c-tic54x.texi:129: @code expected braces  /var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/doc/c-tic54x.texi:136: @code expected braces  /var/lib/jenkins/jobs/gcc-4.1.2/workspace/gcc4/srcdir/binutils/gas/doc/c-tic54x.texi:312: @code expected braces    Full log at:  http://ci.riscos.info/job/gcc-4.1.2/8/console			  	    	  			 		  		  	  		    That is on Ubuntu 12.04, which is what the build container has ended up using  (for complicated reasons; bringing this forward to U14.04 will require some  more fiddling).    gcc-head is still building so will see what happens.  (It isn't set up to autobuild packages yet - handling dependencies is a bit  complicated)    Theo    _______________________________________________  GCCSDK mailing list gcc@gccsdk.riscos.info  Bugzilla: http://www.riscos.info/bugzilla/index.cgi  List Info: http://www.riscos.info/mailman/listinfo/gcc  Main Page: http://www.riscos.info/index.php/GCCSDK    

--
Stop press! Just announced -

Free Standard Broadband for 6 months, unlimited data, and no minimum contract

For full details of see http://www.JustAskJB.co.uk

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment