X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0E60BD802A for ; Thu, 1 Sep 2005 22:04:49 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77383-09 for ; Fri, 2 Sep 2005 01:04:46 +0000 (GMT) Received: from chet.youngguns.nl (unknown [82.94.241.190]) by svr1.postgresql.org (Postfix) with SMTP id CB2DED84D4 for ; Thu, 1 Sep 2005 22:04:44 -0300 (ADT) Received: (qmail 29645 invoked by uid 89); 2 Sep 2005 01:04:48 -0000 Received: by simscan 1.1.0 ppid: 29634, pid: 29642, t: 0.7586s scanners: clamav: 0.86.1/m:33/d:971 Received: from cp288318-a.dbsch1.nb.home.nl (HELO ?192.168.0.102?) (martijn@youngguns.nl@84.27.239.76) by 82.94.241.190 with ESMTPA; 2 Sep 2005 01:04:47 -0000 Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5D9CD747-D04D-46BC-BCE8-AF5FAD89F108@gmail.com> Cc: pgsql-bugs@postgresql.org Content-Transfer-Encoding: 7bit From: Martijn de Munnik Subject: Compile with Solaris 10 AMD 64bit Sun CC Date: Fri, 2 Sep 2005 03:04:19 +0200 To: pgsql-ports@postgresql.org X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200509/9 X-Sequence-Number: 12749 Hi I'm trying to compile PostgreSQL 8.0.3 on a Sun Solaris 10 box, dual opteron and using the sun studio cc compiler. I get the following error; cc -Xa -fast -xarch=amd64 -I../../../../src/include -fast - xarch=amd64 -c -o clog.o clog.c cc -Xa -fast -xarch=amd64 -I../../../../src/include -fast - xarch=amd64 -c -o transam.o transam.c cc -Xa -fast -xarch=amd64 -I../../../../src/include -fast - xarch=amd64 -c -o varsup.o varsup.c cc -Xa -fast -xarch=amd64 -I../../../../src/include -fast - xarch=amd64 -c -o xact.o xact.c cc -Xa -fast -xarch=amd64 -I../../../../src/include -fast - xarch=amd64 -c -o xlog.o xlog.c "../../../../src/include/storage/s_lock.h", line 701: #error: PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable- spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. cc: acomp failed for xlog.c gmake[4]: *** [xlog.o] Error 2 gmake[4]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src/backend/access/transam' gmake[3]: *** [transam-recursive] Error 2 gmake[3]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src/backend/access' gmake[2]: *** [access-recursive] Error 2 gmake[2]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src' gmake: *** [all] Error 2 then I add --disable-spinlocks to the configuration and I get the following error; gmake[3]: Entering directory `/export/home/users/munnik/software/ postgresql-8.0.3/src/backend/port' cc -Xa -fast -xarch=amd64 -I../../../src/include -fast -xarch=amd64 -c -o dynloader.o dynloader.c "dynloader.c", line 4: warning: empty translation unit cc -Xa -fast -xarch=amd64 -I../../../src/include -fast -xarch=amd64 -c -o pg_sema.o pg_sema.c cc -Xa -fast -xarch=amd64 -I../../../src/include -fast -xarch=amd64 -c -o pg_shmem.o pg_shmem.c cc -Xa -fast -xarch=amd64 -c tas.s Assembler: tas.s "tas.s", line 12 : Illegal mnemonic "tas.s", line 14 : Illegal mnemonic "tas.s", line 15 : Syntax error "tas.s", line 17 : Syntax error "tas.s", line 26 : Illegal mnemonic "tas.s", line 28 : Illegal mnemonic cc: assembler failed for tas.s gmake[3]: *** [tas.o] Error 2 gmake[3]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src/backend/port' gmake[2]: *** [port-recursive] Error 2 gmake[2]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/export/home/users/munnik/software/ postgresql-8.0.3/src' gmake: *** [all] Error 2 CFLAGS=-fast -xarch=amd64 CPPFLAGS=-fast -xarch=amd64 cc: Sun C 5.7 2005/01/07 SunOS chet 5.10 Generic i86pc i386 i86pc 1st attempt ./configure --prefix=/opt/postgresql --without-readline 2nd attempt ./configure --prefix=/opt/postgresql --without-readline --disable- spinlocks any ideas? Martijn