Re: Fwd: Solaris build of 7.4 problem with --enable-thread-safety

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Seum-Lim Gan <slgan(at)lucent(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Fwd: Solaris build of 7.4 problem with --enable-thread-safety
Date: 2003-11-24 19:32:31
Message-ID: Pine.LNX.4.44.0311242031030.21306-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Neil Conway 2003-11-24 20:04:26 Re: inner query bug
Previous Message Stephan Szabo 2003-11-24 19:28:15 Re: SELECT with MANY tables