postgreSQL-8.0.1 compilation with icc-8.1 on Itanium-2 gives "error: asm statements not supported"

Поиск
Список
Период
Сортировка
От Vikram Kalsi
Тема postgreSQL-8.0.1 compilation with icc-8.1 on Itanium-2 gives "error: asm statements not supported"
Дата
Msg-id ed5f0fd705030223352dbe06db@mail.gmail.com
обсуждение исходный текст
Ответы Re: postgreSQL-8.0.1 compilation with icc-8.1 on Itanium-2 gives "error: asm statements not supported"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I am trying to compile postgresql-8.0.1 with icc-8.1.028 on a Linux
RHEL AS3 SMP Itanium2 machine and I get an error as follows-
The complete config.log and make.log is online at
http://www.cse.psu.edu/~kalsi/files/

------------------------------------------------------------------------------------------------------------------------------------
icc -static -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels
-fno-strict-aliasing -I../../../../src/include -D_GNU_SOURCE -c -o
xlog.o xlog.c

../../../../src/include/storage/s_lock.h(184): error: asm statements
not supported in this environment
__asm__ __volatile__(
^

../../../../src/include/storage/s_lock.h(186): error: expected a ")"
: "=r"(ret), "+m"(*lock)

------------------------------------------------------------------------------------------------------------------------------------

I am able to sucessfully compile this postgreSQL with gcc on this machine.

I suppose this means that pgsql uses ASM statements and since ASM
statements are not supported in the Intel C++ compiler, the
compilation fails.

Is there some way to workaround this, for e.g. a patch? Will icc be
supported in any future release of pgsql?

All suggestions welcome,

Thanks in anticipation,


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 8.0.X and the ARC patent
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgreSQL-8.0.1 compilation with icc-8.1 on Itanium-2 gives "error: asm statements not supported"