On 2011/03/11 07:15, Antoine Jacoutot wrote:
> On Thu, 10 Mar 2011, Jeremy Evans wrote:
> 
> > Because our lang/ruby/1.8 port does not link with pthread, but qt3
> > does, attempting to load the qtruby extension in ruby will currently
> > crash the ruby interpreter unless you run ruby with
> > LD_PRELOAD=libpthread.  This makes the LD_PRELOAD hack unnecessary, by
> > using -lpthread (not -pthread) when linking.
> > 
> > I believe this technique was discovered by bernd@, it's also used in the
> > textproc/ruby-hyperestraier port.

First time I saw it was for a required dependency of frozen-bubble
and it spread from there. :-)

> It's not a technique, it's an horrible hack and despites my numerous 
> attempts asking him to revert it, he never answered.
>
> > Tested on amd64.  Looking for OKs.
> 
> Personnally I think this is something we should not do, it's wrong and 
> shows the wrong example. But it may be just me.

I don't have an answer but let's face it, both methods we have to
"handle" this are pretty horrible and this is increasingly a problem.. 

Reply via email to