BUG #1250: compilation fails in src/backend/storage/lmgr/s_lock.c

From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1250: compilation fails in src/backend/storage/lmgr/s_lock.c
Date: 2004-09-10 19:28:23
Message-ID: 20040910192823.7494A5A1142@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1250
Logged by: Aidan Dixon

Email address: Aidan(dot)Dixon(at)Blueyonder(dot)co(dot)uk

PostgreSQL version: 8.0 Beta

Operating system: Sun/Solaris9/64bit

Description: compilation fails in src/backend/storage/lmgr/s_lock.c

Details:

Compiler: SUNWspro (Forte Developer 7) cc

The code in s_lock.c uses a ".seg" directive where ".section" seems to be
in vogue, judging from the output of "cc -S" for a simple "hello world" type
program.

Build output:
make[4]: Entering directory
`/share/build/postgresql-8.0.0beta2/src/backend/storage/lmgr'
/opt/SUNWspro/bin/cc -xarch=v9 -O -Xa -O -v -I../../../../src/include
-I/soft-dist/local/include -c -o s_lock.o s_lock.c
"s_lock.c", line 228: warning: asm() statement disables optimization within
function
cg error (as) : "s_lock.c", line 228 : unknown opcode ".segment"
cc: cg failed for s_lock.c
make[4]: *** [s_lock.o] Error 2
make[4]: Leaving directory
`/share/build/postgresql-8.0.0beta2/src/backend/storage/lmgr'
make[3]: *** [lmgr-recursive] Error 2
make[3]: Leaving directory
`/share/build/postgresql-8.0.0beta2/src/backend/storage'
make[2]: *** [storage-recursive] Error 2
make[2]: Leaving directory `/share/build/postgresql-8.0.0beta2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/share/build/postgresql-8.0.0beta2/src'
make: *** [all] Error 2

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-09-10 19:32:56 Re: BUG #1249: pg_restore doesnt handle restoring databases not created as a superuser
Previous Message PostgreSQL Bugs List 2004-09-10 19:14:40 BUG #1249: pg_restore doesnt handle restoring databases not created as a superuser