Re: [ODBC] Re: Fix for ODBC closeu

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [ODBC] Re: Fix for ODBC closeu
Дата
Msg-id 200102101057.FAA10429@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Fix for ODBC close  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Re: [ODBC] Re: Fix for ODBC closeu  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
> > Bruce Momjian writes:
> >
> > > I have applied the following patch to properly exit ODBC.  I also
> > > patched the ODBC makefile so it links under BSD/OS.  The -Bsymbolic
> > > under BSD/OS is very harsh under BSD/OS, requiring all symbols even in
> > > libc and crt1.o to be resolved before creating the shared library.
> >
> > The -Bsymbolic switch is the same on all platforms that have it.  You can
> > link without it, but then you won't actually be able to use the ODBC
> > driver.  It seems like you need to link in a few other libraries to
> > resolve all symbols.
>
> OK, if this is true on all platforms, why isn't -lc needed?
>

And if -lc is somehow done by default with ld -Bsymbolic, how do I deal
with a link that accesses crt1.o startup symbols, like environ and
__progname?


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for ODBC close
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [ODBC] Re: Fix for ODBC closeu