Re: 8.0.0beta2: gcc: unrecognized option `-pthreads' - Mailing list pgsql-general

From Bruce Momjian
Subject Re: 8.0.0beta2: gcc: unrecognized option `-pthreads'
Date
Msg-id 200409102142.i8ALgGC28753@candle.pha.pa.us
Whole thread Raw
In response to 8.0.0beta2: gcc: unrecognized option `-pthreads'  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: 8.0.0beta2: gcc: unrecognized option `-pthreads'  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Ed L. wrote:
> Is this pthreads warning of any concern?
>
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations -pthread -pthreads  -D_REENTRANT -D_THREAD_SAFE
> -D_POSIX_PTHREAD_SEMANTICS -fpic -shared -Wl,-soname,libecpg.so.4 execute.o
> typename.o descriptor.o data.o error.o prepare.o memory.o connect.o misc.o
> path.o exec.o -L../../../../src/port -L../pgtypeslib -lpgtypes
> -L../../../../src/interfaces/libpq -lpq -lcrypt -lm -lpthread
> -Wl,-rpath,/opt/pgsql/installs/postgresql-8.0.0beta2/lib -o libecpg.so.4.2
> gcc: unrecognized option `-pthreads'

No.  The problem is that the test script just tries all options and if
it doesn't error out, it uses it.  Ideally we could test from configure
and ingnore meaningless options but we don't know how yet.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Kevin Murphy
Date:
Subject: how to constrain a query to return 1 or 0 rows (or >1 or 0 rows)
Next
From: Tom Lane
Date:
Subject: Re: Speeding up LIKE with placeholders?