Re: Pg 7.2.3 int8 value out of range

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pg 7.2.3 int8 value out of range
Дата
Msg-id 20241.1034967595@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pg 7.2.3 int8 value out of range  (Brian Macy <bmacy@macykids.net>)
Список pgsql-bugs
Brian Macy <bmacy@macykids.net> writes:
> The config.log wasn't very useful but I hacked configure to not send
> compile/run errors to /dev/null and got this:

> checking whether long long int is 64 bits... ./conftest: relocation
> error: ./conftest: undefined symbol: __muldi3

> Apparrently something is whacked when running from configure. I can take
> the exact code (minus the confdefs.h) and run it from the command-line
> and it compiles, links, and executes fine (returns 0).

Bizarre.  Did your manual test include the same library options (-lssl
etcetera) that configure was using?

If memory serves, __muldi3 is a subroutine in libgcc, which ought to be
automatically included in any link performed by gcc.  It seems on this
evidence that one or more of the libraries being linked is somehow
interfering with libgcc ... but I'm darned if I see the problem ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #800: Bad free in function PQclear
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Bug #799: configure does not check for -lodbcinst