Compilation issue with --enable-thread-safety

Поиск
Список
Период
Сортировка
От Rajan Bhide
Тема Compilation issue with --enable-thread-safety
Дата
Msg-id FF851C7EEB75954F9BCFB5CA117AB1EC674227@delta.nulinkinc.com
обсуждение исходный текст
Ответы Re: Compilation issue with --enable-thread-safety  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-novice
Hello Frds,
 
I am getting following error while compiling Postgres7.4 or Postgres7.4.1 with option --enable-thread-safety
 
Details
./configure --prefix=/usr/local/pgsql74 --enable-thread-safety cc=/export/home/uxapps/workshop/SUNWspro/bin/cc  CFLAGS='-mt' --without-readline
 
Platform Info:
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-09
 
I am using gmake
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.6
 

cc -Xa -G -h libecpg.so.4 execute.o typename.o descriptor.o data.o error.o prepa
re.o memory.o connect.o misc.o -L../../../../src/port -L../pgtypeslib -lpgtypes
-L../../../../src/interfaces/libpq -lpq -lm -pthread -R/usr/local/pgsql74/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
gmake[4]: *** [libecpg.so.4.0] Error 1
gmake[4]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src/interfaces/
ecpg/ecpglib'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src/interfaces/
ecpg'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src'
gmake: *** [all] Error 2
 

If I remove --enable-thread-safety I am able to compile my code properly.
 
Is this a BUG or I am missing somethg.
 
Plz do comment.
 
Thanks,
Rajan Bhide
 

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_hba.conf problem
Следующее
От: Oliver Fromme
Дата:
Сообщение: current_query in pg_stat_activity