Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
-BDIRECT, anyone seen this?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Fri Nov 04, 2005 2:38 pm    Post subject: -BDIRECT, anyone seen this? Reply with quote

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
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sat Nov 05, 2005 9:21 am    Post subject: Reply with quote

Sounds nice. But the toolchain dictator didn't like it so it'll probably never be included. :(
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Sat Nov 05, 2005 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
playfool
l33t
l33t


Joined: 01 Jun 2004
Posts: 688
Location: Århus, Denmark

PostPosted: Sat Nov 05, 2005 10:24 am    Post subject: Reply with quote

Ulrich Drepper is one of the single most talented programmers in the community, if he rejects something he has his reasons.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sat Nov 05, 2005 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Martigen
n00b
n00b


Joined: 04 Mar 2003
Posts: 59

PostPosted: Sat Nov 05, 2005 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sat Nov 05, 2005 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message
playfool
l33t
l33t


Joined: 01 Jun 2004
Posts: 688
Location: Århus, Denmark

PostPosted: Sat Nov 05, 2005 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Fri Nov 11, 2005 9:09 am    Post subject: Reply with quote

Has anyone tried this patch?
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
playfool
l33t
l33t


Joined: 01 Jun 2004
Posts: 688
Location: Århus, Denmark

PostPosted: Wed Nov 30, 2005 2:15 pm    Post subject: Reply with quote

And Micheal Meeks just submitted this to our bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=114008

So now you to can enjoy -Bdirect goodness.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Wed Nov 30, 2005 4:20 pm    Post subject: Reply with quote

very nice, thanks for the heads up
Back to top
View user's profile Send private message
wangxiaohu
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 248

PostPosted: Mon Dec 05, 2005 5:33 pm    Post subject: Reply with quote

playfool wrote:
And Micheal Meeks just submitted this to our bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=114008

So now you to can enjoy -Bdirect goodness.


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
View user's profile Send private message
predatorfreak
l33t
l33t


Joined: 13 Jan 2005
Posts: 708
Location: USA, Michigan.

PostPosted: Tue Dec 06, 2005 3:35 am    Post subject: Reply with quote

wangxiaohu wrote:
playfool wrote:
And Micheal Meeks just submitted this to our bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=114008

So now you to can enjoy -Bdirect goodness.


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
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Tue Dec 06, 2005 2:23 pm    Post subject: Reply with quote

predatorfreak wrote:
wangxiaohu wrote:
playfool wrote:
And Micheal Meeks just submitted this to our bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=114008

So now you to can enjoy -Bdirect goodness.


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum