Re: Reduce dependancies of postmaster (without --as-needed)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Reduce dependancies of postmaster (without --as-needed)
Дата
Msg-id 20051128112150.GA11375@surnet.cl
обсуждение исходный текст
Ответ на Re: Reduce dependancies of postmaster (without --as-needed)  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-patches
Martijn van Oosterhout wrote:
> On Sun, Nov 27, 2005 at 06:30:59PM -0300, Alvaro Herrera wrote:
> > Martijn van Oosterhout wrote:
> >
> > > Attached is a patch which applies this filtering to the backend and has
> > > the same results as linking with --as-needed. I basically took the
> > > filter list of libpq and altered it as follows:
> > >
> > > libs removed: -lnsl -lresolv
> > > libs added: -ldl -lm
> >
> > Hmm, we don't need -ldl?  How do we implement OPEN etc if not without
> > dlopen()?  [looks around]  I see this is with pg_dlopen which in turn is
> > dlopen in Linux and others.  Did you try contrib's regression test?
> > plperl's?
>
> ??? I added -ldl, I didn't remove it. Note, it uses $(filter) which
> removes things not in the list. Maybe you're thinking of $(filter-out)?
> None of this affects contrib or plperl because they use completely
> different link lines.

Yeah, I got the sense of it backwards.  I mentioned plperl and contrib
just because they use our dynlib loading facility.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-patches по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Reduce dependancies of postmaster (without --as-needed)
Следующее
От: Volkan YAZICI
Дата:
Сообщение: Re: Case Conversion Fix for MB Chars