From: | Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: solaris libpq threaded build fails |
Date: | 2009-01-13 13:33:58 |
Message-ID: | f205bb120901130533g2aabc27em717e5bb6ced4696d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2009/1/12 Bruce Momjian <bruce(at)momjian(dot)us>:
>
> I supposed Solaris 2.5.1 (release 1996) is just too old to add
> threading, and this code has been unchanged for years.
>
> ---------------------------------------------------------------------------
>
> Andrew Chernow wrote:
>> for anyone interested....
>>
>> Solaris 2.5.1 with --enable-thread-safety
>>
>> configure:25848: gcc -o conftest -O2 -Wall -Wmissing-prototypes
>> -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
>> -fno-strict-aliasing -fwrapv -pthreads -pthreads -D_REENTRANT
>> -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DIN_CONFIGURE -lgcc_s
>> -lvsnprintf conftest.c -lz -lposix4 -lsocket -ldl -lm -lpthread
>> -lpthread >&5
>> In file included from conftest.c:129:
>> ./src/test/thread/thread_test.c: In function `main':
>> ./src/test/thread/thread_test.c:179: warning: implicit declaration of
>> function `mkstemp'
>> ./src/test/thread/thread_test.c:188: warning: implicit declaration of
>> function `gethostname'
>> Undefined first referenced
>> symbol in file
>> gethostbyname /var/tmp//ccclix3s.o (symbol
>> belongs to implicit dependency /usr/lib/libnsl.so.1)
>> ld: fatal: Symbol referencing errors. No output written to conftest
>> collect2: ld returned 1 exit status
>> configure:25851: $? = 1
>> configure: program exited with status 1
>> configure: failed program was:
>>
>> so far: hpux 10.20, solaris 2.5.1 and cygwin builds all fail when thread
>> safe is enable.
>>
Sun garantee 10 years of appilcation compatibility, now we are in 11 version.
thread-safety is the only option that fails?
>> --
>> Andrew Chernow
>> eSilo, LLC
>> every bit counts
>> http://www.esilo.com/
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + If your life is a hard drive, Christ can be your backup. +
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
--
Emanuel Calvo Franco
ArPUG / AOSUG Member
Postgresql Support & Admin
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2009-01-13 14:01:22 | Re: New patch for Column-level privileges |
Previous Message | Alvaro Herrera | 2009-01-13 13:05:45 | Re: Updates of SE-PostgreSQL 8.4devel patches (r1403) |