Cross-compiler binutils make fail

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
User avatar
mnovotny
Member
Member
Posts: 27
Joined: Mon Aug 10, 2009 2:54 am
Location: Slovakia

Cross-compiler binutils make fail

Post 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. :)
Keep the world with all its sin
It's not fit for livin' in
Bharath85
Posts: 4
Joined: Sun Oct 13, 2013 7:14 am

Re: Cross-compiler binutils make fail

Post 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..
User avatar
mnovotny
Member
Member
Posts: 27
Joined: Mon Aug 10, 2009 2:54 am
Location: Slovakia

Re: Cross-compiler binutils make fail

Post by mnovotny »

That's what I wrote...
Keep the world with all its sin
It's not fit for livin' in
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: Cross-compiler binutils make fail

Post 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.
User avatar
mnovotny
Member
Member
Posts: 27
Joined: Mon Aug 10, 2009 2:54 am
Location: Slovakia

Re: Cross-compiler binutils make fail

Post by mnovotny »

It's the latest texinfo version, 5.2, and I'm using Arch.
Keep the world with all its sin
It's not fit for livin' in
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: Cross-compiler binutils make fail

Post 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
Post Reply