Re: Pg 7.2.3 int8 value out of range - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Pg 7.2.3 int8 value out of range
Date
Msg-id 20241.1034967595@sss.pgh.pa.us
Whole thread Raw
In response to Pg 7.2.3 int8 value out of range  (Brian Macy <bmacy@macykids.net>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #800: Bad free in function PQclear
Next
From: Peter Eisentraut
Date:
Subject: Re: Bug #799: configure does not check for -lodbcinst