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

From Brian Macy
Subject Re: Pg 7.2.3 int8 value out of range
Date
Msg-id 3DB073E8.5060805@macykids.net
Whole thread Raw
In response to Pg 7.2.3 int8 value out of range  (Brian Macy <bmacy@macykids.net>)
List pgsql-bugs
Yeah, weird... Steve Dunham narrowed the problem down to libssl and
posted it to the debian-sparc list, Ben Collins, and appended the info
to the postgres bug report. Hopefully it will be resolved for Debian
unstable shortly.

Brian Macy


Tom Lane wrote:
> 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: Peter Eisentraut
Date:
Subject: Re: Bug #799: configure does not check for -lodbcinst
Next
From: Brian Macy
Date:
Subject: Re: Pg 7.2.3 int8 value out of range