Page 1 of 1

Cross-compiler binutils make fail

Posted: Wed Nov 06, 2013 11:15 am
by mnovotny
Hi,

I've encountered error when building binutils for the cross compiler and I'm not sure if it should be mentioned in the wiki.
Basically make-ing binutils 2.23.2 with TexInfo 5.2 will fail (some other versions may fail as well, these are the ones I tried). More details: http://sourceware.org/bugzilla/show_bug.cgi?id=15183. So I downloaded binutils snapshot from here: ftp://sourceware.org/pub/binutils/snapshots/ and it seems to work.

I'm not good with words and I don't want to mess up the wiki, so if anybody thinks this is worth mentioning they might add it. :)

Re: Cross-compiler binutils make fail

Posted: Wed Nov 06, 2013 10:08 pm
by Bharath85
Buddy get rid of old binutils and
get the latest version binutils-2.24.52 from ftp://sourceware.org/pub/binutils/snapshots/
make fail bugs are fixed..

Re: Cross-compiler binutils make fail

Posted: Thu Nov 07, 2013 3:22 am
by mnovotny
That's what I wrote...

Re: Cross-compiler binutils make fail

Posted: Thu Nov 07, 2013 10:33 am
by sortie
Hi mnovotny. Thanks for noticing this, I believe I heard about this a couple months ago, but I never quite got around to look into it.

The solution, of course, is to use the newest texinfo and the newest binutils - and then curse very much at the developers of texinfo - they caused massive problems by breaking backwards compatibility (though the binutils developers might also partially be to blame). In fact, just complain to both parties and tell them to get their act together.

Now, unfortunately, the 2.24 release of binutils has not yet been released and I cannot recommend using experimental versions. Indeed, the solution is probably to install an older version of texinfo into someplace like ~/opt/texinfo-for-binutils and then add this prefix/bin to your PATH and use that to build the current release of binutils.

Btw, what distribution do you use that gives you this problematic texinfo version? It'd good to know for reference. I'll probably update the wiki page on this matter soonish.

Re: Cross-compiler binutils make fail

Posted: Thu Nov 07, 2013 1:13 pm
by mnovotny
It's the latest texinfo version, 5.2, and I'm using Arch.

Re: Cross-compiler binutils make fail

Posted: Fri Nov 08, 2013 11:28 am
by sortie
Hi. I added a note to the osdev wiki about your trouble with texinfo:

http://wiki.osdev.org/index.php?title=P ... ldid=15356