Re: Fwd: Solaris build of 7.4 problem with --enable-thread-safety - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Fwd: Solaris build of 7.4 problem with --enable-thread-safety
Date
Msg-id Pine.LNX.4.44.0311242031030.21306-100000@peter.localdomain
Whole thread Raw
In response to Fwd: Solaris build of 7.4 problem with --enable-thread-safety  (Seum-Lim Gan <slgan@lucent.com>)
Responses Re: Fwd: Solaris build of 7.4 problem with  (Seum-Lim Gan <slgan@lucent.com>)
List pgsql-bugs
Seum-Lim Gan writes:

> >make[4]: Entering directory
> >`/n/DBMS/edbteam/src/sol8/sparc64/postgresql-7.4/src/interfaces/ecpg/ecpglib'
> >/opt/SUNWspro6.2/SUNWspro/bin/cc -Xa -G -h libecpg.so.4 execute.o
> >typename.o descriptor.o data.o error.o prepare.o memory.o connect.o
> >misc.o -L../../../../src/port -L../pgtypeslib -lpgtypes
> >-L../../../../src/interfaces/libpq -lpq -lm -pthread -R/platdb/lib
> >-o libecpg.so.4.0
> >cc: Warning: multiple use of -h option, previous one discarded.
> >ld: fatal: recording name conflict: file
> >`../../../../src/interfaces/libpq/libpq.so' and -h option provide
> >identical dependency names: read
> >ld: fatal: File processing errors. No output written to libecpg.so.4.0
> >make[4]: *** [libecpg.so.4.0] Error 1

Could you try to set your compiler into some kind of verbose mode, where
it prints out the commands it executes internally?  I suspect that the
addition of the -pthread option results in side effects that interfere
with the -h option.

--
Peter Eisentraut   peter_e@gmx.net

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: SELECT with MANY tables
Next
From: Neil Conway
Date:
Subject: Re: inner query bug