View previous topic :: View next topic |
Author |
Message |
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Fri Nov 04, 2005 2:38 pm Post subject: -BDIRECT, anyone seen this? |
|
|
Somehow this post:
http://sourceware.org/ml/binutils/2005-10/msg00436.html
Has gone without any discussion, and with very little publisity at all, but personally I find it extreamly interesting. The counter argument is that prelink already does something like this, but in my opinion prelink is a dirty hack (set up manually, or if when set up by the distro runs a task which uses all my resources on an interval, no thank you), and this solution seems relativly clean.
Anyone else noticed this thread at all? |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Sat Nov 05, 2005 9:21 am Post subject: |
|
|
Sounds nice. But the toolchain dictator didn't like it so it'll probably never be included. |
|
Back to top |
|
|
IWBCMAN Guru
Joined: 25 Jun 2002 Posts: 474
|
Posted: Sat Nov 05, 2005 9:56 am Post subject: |
|
|
yup, Ulrich Drepper, definitely deserves the name toolchain dictator. It is just one of those things...if you do the hard work, which others won't/don't do, you have the right to be an asshole-if others don't like it-tough luck....I am sure that he has his reasons(and probably good ones too) for rejecting Michael Meeks suggested patch..but I am equally sure that he couldn't be bothered to actually discuss why such an approach as suggested is a wrong way to solve the percieved problem. The kind of terseness in his comment - his non-chalant way of utterly dismissing Meeks is enough to bring ones blood to a boil- but it is his perogative, even if, in so doing, he is a callous asshole. But I trully do value the work of that asshole, I certainly can't do it, and I know of no one who could do it better, so who am I to complain....It is a sahme that some of the best coders, some of the ones who do the best work, that make our lives so much better are such insufferable assholes-but such is life and we would be poorer without them |
|
Back to top |
|
|
playfool l33t
Joined: 01 Jun 2004 Posts: 688 Location: Ã
rhus, Denmark
|
Posted: Sat Nov 05, 2005 10:24 am Post subject: |
|
|
Ulrich Drepper is one of the single most talented programmers in the community, if he rejects something he has his reasons. |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Sat Nov 05, 2005 10:55 am Post subject: |
|
|
playfool wrote: | Ulrich Drepper is one of the single most talented programmers in the community, if he rejects something he has his reasons. |
He is very talented indeed but I've seen him reject other seemingly nice patches with similar useless motivations. If he has good reasons, why don't he just say them? |
|
Back to top |
|
|
Martigen n00b
Joined: 04 Mar 2003 Posts: 59
|
Posted: Sat Nov 05, 2005 11:02 am Post subject: |
|
|
nxsty, can you include Meeks' patch in your next patched glibc? It sounds like a clean patch, and easily tested/ignored if people so choose. Prelink is a fudge, and doesn't work completely. If Ulrich doesn't want to give it a go, doesn't mean we can't (and even, perhaps, report results).
M |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Sat Nov 05, 2005 11:42 am Post subject: |
|
|
Martigen wrote: | nxsty, can you include Meeks' patch in your next patched glibc? It sounds like a clean patch, and easily tested/ignored if people so choose. Prelink is a fudge, and doesn't work completely. If Ulrich doesn't want to give it a go, doesn't mean we can't (and even, perhaps, report results) |
I'll probably not. The patch only seems lile an uncompletet draft yet. And besides you'll have to patch both binutils and glibc and recompile everything with -Bdirect to make it effective.
There where another patch sent to glibc-alpha that did some kind of readahead to improve app startup time but it was also ignored like this one.
http://marc.theaimsgroup.com/?l=glibc-alpha&m=112708448720762&w=2 |
|
Back to top |
|
|
playfool l33t
Joined: 01 Jun 2004 Posts: 688 Location: Ã
rhus, Denmark
|
Posted: Sat Nov 05, 2005 1:33 pm Post subject: |
|
|
nxsty wrote: | playfool wrote: | Ulrich Drepper is one of the single most talented programmers in the community, if he rejects something he has his reasons. |
He is very talented indeed but I've seen him reject other seemingly nice patches with similar useless motivations. If he has good reasons, why don't he just say them? |
Because rejecting crap patches sours people, doing it time after time tends to turn people into Al Viro (if you think Drepper is bad read some Al Viro replies to kernel patches) - I'm not saying it's okay but Drepper has proven his skill time and time again, he knows what he's doing - everyone is free to clean up the patch and test it in their own branch, something I'm sure Novell will consider, if it proves itself there the glibc maintainers will surely be convinced to include it. |
|
Back to top |
|
|
enderandrew l33t
Joined: 25 Oct 2005 Posts: 731
|
Posted: Fri Nov 11, 2005 9:09 am Post subject: |
|
|
Has anyone tried this patch? _________________ Nihilism makes me smile. |
|
Back to top |
|
|
playfool l33t
Joined: 01 Jun 2004 Posts: 688 Location: Ã
rhus, Denmark
|
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Wed Nov 30, 2005 4:20 pm Post subject: |
|
|
very nice, thanks for the heads up |
|
Back to top |
|
|
wangxiaohu Apprentice
Joined: 15 Nov 2003 Posts: 248
|
Posted: Mon Dec 05, 2005 5:33 pm Post subject: |
|
|
Can I just simply add -Bdirect to LD_FLAGS in make.conf? As said in the comments, it brings troubles to glibc, so does glibc strip it correctly now? |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Tue Dec 06, 2005 3:35 am Post subject: |
|
|
wangxiaohu wrote: |
Can I just simply add -Bdirect to LD_FLAGS in make.conf? As said in the comments, it brings troubles to glibc, so does glibc strip it correctly now? |
It's useless until glibc supports it, right now only binutils supports it. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Tue Dec 06, 2005 2:23 pm Post subject: |
|
|
predatorfreak wrote: | wangxiaohu wrote: |
Can I just simply add -Bdirect to LD_FLAGS in make.conf? As said in the comments, it brings troubles to glibc, so does glibc strip it correctly now? |
It's useless until glibc supports it, right now only binutils supports it. |
I added the patch to my glibc overlay if you want to try it. The flag breaks glibc so it's filtered from the build but it might break other builds too. There is only one way to find out. |
|
Back to top |
|
|
|