Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27540 - new patch to binutils to make linking 2 to 3 times faster for c++
Summary: new patch to binutils to make linking 2 to 3 times faster for c++
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-29 08:03 UTC by holger-gentoo
Modified: 2003-09-14 07:17 UTC (History)
1 user (show)

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


Attachments
this is the new ebuild (binutils-2.14.90.0.2-r1.ebuild,4.77 KB, text/plain)
2003-08-29 08:08 UTC, holger-gentoo
Details
this is the patch that speeds up binutils (makeitfuckingfast.diff,20.83 KB, patch)
2003-08-29 08:09 UTC, holger-gentoo
Details | Diff
Patch against 2.14.90.0.6 (binutils-2.14.90.0.6-linkspeed.patch,23.65 KB, patch)
2003-09-08 22:42 UTC, Chris Lee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description holger-gentoo 2003-08-29 08:03:23 UTC
Hi, 
 
this patch was created on the nove hrady kde hackfest. it speeds up the linking of cpp 
files a lot. 
i tested it with the actual binutils. i had a complete build of kdelibs, then i touched 
kdecore/kwin.cpp. 
then i did a time make with the old binutils, and this was the result (pentium 2ghz, 512 
mb ram) : 
 
 
real    3m8.135s 
user    2m43.230s 
sys     0m20.620s 
 
then i installed binutils with the patch applied and did the same again, result: 
 
real    1m11.000s 
user    0m44.550s 
sys     0m20.250s 
 
enjoy, Holger 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 holger-gentoo 2003-08-29 08:08:16 UTC
Created attachment 16760 [details]
this is the new ebuild
Comment 2 holger-gentoo 2003-08-29 08:09:18 UTC
Created attachment 16761 [details, diff]
this is the patch that speeds up binutils
Comment 3 SpanKY gentoo-dev 2003-08-29 08:10:38 UTC
maybe put this upstream too ? 
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-01 12:11:47 UTC
Its non-trival to port to .6, which is currently our testing grounds - is there
a patch against .5 or .6 yet ?
Comment 5 Chris Lee 2003-09-08 22:42:57 UTC
Created attachment 17312 [details, diff]
Patch against 2.14.90.0.6

This patch applies cleanly against 2.14.90.0.6 - I've verified that it works
from stage1 all the way through emerge system, with no problems, as of this
morning.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-13 12:01:01 UTC
Ah, cool.  I did look at trying to port it, but things changed a bit too
much to make it a Sunday afternoon job =)  Chris, who is the original author,
and know if it was submited to H.J. Lu or binutils yet ?

Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-14 07:17:56 UTC
Added to .6-r3, thanks guys!