Thread: IRIX thread-safety problems

IRIX thread-safety problems

From
gleykam@web.de
Date:
Hi,

trying to compile a thread-safe version of PostgreSQL 8.0.3 on IRIX 6.5 with standard C compiler cc there were errors
runningconfigure. 

Viewing the config.log file, the test program is tried to be linked with "-lpthreads". There is no such library on my
system.

Using the configure option LIBS="-lpthread" everything is OK and the binaries are created.

In the end 3 of 96 regression tests failed (float4, float8, geometry), but in my optionion these have nothing to do
withthreads? 

Bye
G. Leykam


_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




Re: IRIX thread-safety problems

From
Bruce Momjian
Date:
gleykam@web.de wrote:
>
> Hi,
>
> trying to compile a thread-safe version of PostgreSQL 8.0.3 on IRIX
> 6.5 with standard C compiler cc there were errors running configure.
>
> Viewing the config.log file, the test program is tried to be linked
> with "-lpthreads". There is no such library on my system.

Strange.  config.log tests all possible flags and uses only those that
actually compile safely.  Can you send me that file offlist.

>
> Using the configure option LIBS="-lpthread" everything is OK and the
> binaries are created.
>
> In the end 3 of 96 regression tests failed (float4, float8, geometry),
> but in my optionion these have nothing to do with threads?

Irix doesn't get tons of testing.  Try without threads and see if you
still get those, and email us the diffs from regression.diff.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073