Re: 7.4.2 Build broken on (Sparc) Solaris 7 and 8 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 7.4.2 Build broken on (Sparc) Solaris 7 and 8
Date
Msg-id 8252.1079223978@sss.pgh.pa.us
Whole thread Raw
In response to 7.4.2 Build broken on (Sparc) Solaris 7 and 8  (jseymour@LinxNet.com (Jim Seymour))
Responses Re: 7.4.2 Build broken on (Sparc) Solaris 7 and 8
List pgsql-hackers
jseymour@LinxNet.com (Jim Seymour) writes:
> Diff'ing thread.c between 7.4.1 and 7.4.2, it *looks* like, at first
> blush, nothing changed that should affect the relevant code.

> Anybody got any idea what's broken?

The relevant change is probably this one:

2004-02-11 12:32  momjian
* configure, configure.in, src/include/pg_config.h.in(REL7_4_STABLE): Properly set NEED_REENTRANT_FUNCS for
threadedlibpq/ecpg.Withoutthis patch, no thread locking or *_r functions were beingused.
 

(I also see some post-7.4.1 changes in src/template/solaris, so you
possibly should look there too.)

I'm betting that thread.c never worked on your platform, but wasn't
compiled before.

Easiest answer is probably to not do --enable-thread-safety.  If you
really want that, you'll need to dig in and figure out how to make that
code work on your platform.  Send a patch if you figure it out.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Further thoughts about warning for costly FK checks
Next
From: Bruce Momjian
Date:
Subject: Re: Timing of 'SELECT 1'