Re: 8.0.0beta2: gcc: unrecognized option `-pthreads'

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.0.0beta2: gcc: unrecognized option `-pthreads'
Date: 2004-09-10 21:42:16
Message-ID: 200409102142.i8ALgGC28753@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-09-10 21:55:21 Re: Speeding up LIKE with placeholders?
Previous Message Kevin Murphy 2004-09-10 21:39:31 how to constrain a query to return 1 or 0 rows (or >1 or 0 rows)