OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 12:30 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Cross-compiler binutils make fail
PostPosted: Wed Nov 06, 2013 11:15 am 
Offline
Member
Member
User avatar

Joined: Mon Aug 10, 2009 2:54 am
Posts: 27
Location: Slovakia
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


Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail
PostPosted: Wed Nov 06, 2013 10:08 pm 
Offline

Joined: Sun Oct 13, 2013 7:14 am
Posts: 4
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..


Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail
PostPosted: Thu Nov 07, 2013 3:22 am 
Offline
Member
Member
User avatar

Joined: Mon Aug 10, 2009 2:54 am
Posts: 27
Location: Slovakia
That's what I wrote...

_________________
Keep the world with all its sin
It's not fit for livin' in


Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail
PostPosted: Thu Nov 07, 2013 10:33 am 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
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.


Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail
PostPosted: Thu Nov 07, 2013 1:13 pm 
Offline
Member
Member
User avatar

Joined: Mon Aug 10, 2009 2:54 am
Posts: 27
Location: Slovakia
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


Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail
PostPosted: Fri Nov 08, 2013 11:28 am 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
Hi. I added a note to the osdev wiki about your trouble with texinfo:

http://wiki.osdev.org/index.php?title=Preparing_GCC_Build&action=historysubmit&diff=15395&oldid=15356


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group