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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 8.0.0beta2: gcc: unrecognized option `-pthreads'
Дата
Msg-id 200409102142.i8ALgGC28753@candle.pha.pa.us
обсуждение исходный текст
Ответ на 8.0.0beta2: gcc: unrecognized option `-pthreads'  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: 8.0.0beta2: gcc: unrecognized option `-pthreads'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Kevin Murphy
Дата:
Сообщение: how to constrain a query to return 1 or 0 rows (or >1 or 0 rows)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Speeding up LIKE with placeholders?