From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Rajan Bhide <rbhide(at)nulinkinc(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: Compilation issue with --enable-thread-safety |
Date: | 2004-02-29 01:13:30 |
Message-ID: | 200402290113.i1T1DUY05563@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
OK, I am attaching our updated solaris template file that goes in
src/template/solaris. This fix will be in 7.4.2.
---------------------------------------------------------------------------
Rajan Bhide wrote:
> 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
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 462 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-02-29 04:00:56 | Re: help with COPY query |
Previous Message | Bruno LEVEQUE | 2004-02-28 23:54:01 | Re: help with COPY query |