Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284393 - sys-libs/glibc doesn't like the new binutils
Summary: sys-libs/glibc doesn't like the new binutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/ml/libc-alpha/2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 01:24 UTC by Ryan Hill (RETIRED)
Modified: 2009-09-18 15:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of patching glibc-2.10.1 with the patch mentioned in commend #1 (new-binutils.patch-22559.out,8.05 KB, patch)
2009-09-14 21:48 UTC, Navid Zamani
Details | Diff
the Navid-friendly version (glibc-2.10.1-binutils-version.patch,1.72 KB, patch)
2009-09-15 00:36 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2009-09-10 01:24:38 UTC
checking whether /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/as is GNU as... yes                   
checking whether /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld is GNU ld... yes                   
checking for /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/as... /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/as                                                                                         
checking version of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/as... 2.20.51.0.1.20090905, bad    
checking for /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld                                                                                         
checking version of /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld... 2.20.51.0.1.20090905, bad    
checking for pwd... /bin/pwd                                                                                                                
checking for i686-pc-linux-gnu-gcc... (cached) x86_64-unknown-linux-gnu-gcc                                                                 
checking version of x86_64-unknown-linux-gnu-gcc... 4.4.1, ok                                                                               
checking for gnumake... no                                                                                                                  
checking for gmake... gmake                                                                                                                 
checking version of gmake... 3.81, ok                                                                                                       
checking for gnumsgfmt... no                                                                                                                
checking for gmsgfmt... gmsgfmt                                                                                                             
checking version of gmsgfmt... 0.17, ok                                                                                                     
checking for makeinfo... makeinfo                                                                                                           
checking version of makeinfo... 4.13, ok                                                                                                    
checking for sed... sed                                                                                                                     
checking version of sed... 4.2.1, ok                                                                                                        
checking for autoconf... autoconf                                                                                                           
checking whether autoconf works... yes                                                                                                      
configure: error:                                                                                                                           
*** These critical programs are missing or too old: as ld                                                                                   
*** Check the INSTALL file for required versions.                                                                                           
 *                                                                                                                                          
 * ERROR: sys-libs/glibc-2.10.1 failed.
Comment 2 Navid Zamani 2009-09-14 21:17:49 UTC
(In reply to comment #1)
> http://sourceware.org/git/?p=glibc.git;a=patch;h=4c14c8c348ee3e9a5fea3608cabcabdb275b6141

Uum… do I just patch the source with that? Your message is a bit… short… ^^

Who will do the ebuild and put in into Portage?
Comment 3 Navid Zamani 2009-09-14 21:48:46 UTC
Created attachment 204136 [details, diff]
Output of patching glibc-2.10.1 with the patch mentioned in commend #1

I just tried that patch, by modifying the ebuild as follows:

> eblit-src_unpack-post() {
> ?
> einfo "Patching bug 284393 (sys-libs/glibc doesn't like the new binutils)"
> epatch "${FILESDIR}"/2.10.1-r1/new-binutils.patch

…, calling it glibc-2.10.1-r1, and using the file linked in comment #1 as “new-binutils.patch”. The result was that the patch failed with the output in the attached file.

:/
Comment 4 Navid Zamani 2009-09-14 21:54:05 UTC
Ah great. Now that failed emerge with your patch killed my original »emerge -e world«, which was at 860 of 1304 packages and had compiled since yesterday noon! Thank you VERY much, Ryan. :(
I HATE that bug :/ (I’m Going to file a report for that one! :)
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2009-09-15 00:36:55 UTC
Created attachment 204151 [details, diff]
the Navid-friendly version

sorry, i assumed that if you're using a masked binutils version you would know how to apply a patch from upstream. :P

you forgot to cd "${S}" before epatch, but the patch would have failed anyways because of the Changelog hunk.  here's one that will apply.
Comment 6 Navid Zamani 2009-09-15 00:57:21 UTC
(In reply to comment #5)
> sorry, i assumed that if you're using a masked binutils version you would know
> how to apply a patch from upstream. :P

It’s ok. I accept being called stupid for this. ^^
/me is living on the edge. The best way to learn, is to crash and burn. :P

> you forgot to cd "${S}" before epatch, but the patch would have failed anyways
> because of the Changelog hunk.  here's one that will apply.

Thank you. :) I thought epatch would do this automatically. But I should have read the epatch documentation I guess.

P.S.: You have won one free question about Haskell, game design, psychology, nutrition science, neural nets, or the worst quirks of the "beloved" Internet Explorer… in case you might need it. ;)
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-18 15:17:39 UTC
I had to play with glibc today so I added this one, hope toolchain don't mind.
Comment 8 Navid Zamani 2009-09-18 15:22:40 UTC
(In reply to comment #7)
> I had to play with glibc today so I added this one, hope toolchain don't mind.

Hmm… Is there something I don’t understand? Because I don’t see how this resolves the issue…? ^^

Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-18 15:57:30 UTC
(In reply to comment #8)
> Is there something I don’t understand? Because I don’t see how this resolves
> the issue…?

Maybe run `emerge --sync`.