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

From: Vikram Kalsi <vikramkalsi(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: postgreSQL-8.0.1 compilation with icc-8.1 on Itanium-2 gives "error: asm statements not supported"
Date: 2005-03-03 07:35:41
Message-ID: ed5f0fd705030223352dbe06db@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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,

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-03-03 07:48:58 Re: postgreSQL-8.0.1 compilation with icc-8.1 on Itanium-2 gives "error: asm statements not supported"
Previous Message Josh Berkus 2005-03-03 05:57:20 Re: 8.0.X and the ARC patent