Skip site navigation (1) Skip section navigation (2)

Re: compile problem on a vax

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: bart sikkes <b(dot)sikkes(at)student(dot)utwente(dot)nl>, pgsql-ports(at)postgresql(dot)org
Subject: Re: compile problem on a vax
Date: 2001-01-18 23:40:53
Message-ID: 200101182340.SAA23237@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
> bart sikkes writes:
> 
> > I have been trying to compile postgresql-7.0.3 on a uVax II running NetBSD
> 
> The spinlock assembly code for VAX was corrupted during a code indentation
> run.  I'll try to remember to fix it over the weekend.

OK, here is the fix:

    __asm__("   movl $1, r0 \
            bbssi $0, (%1), 1f \
                            ^^
            clrl r0 \


The old pgindent had a bug with numbers followed by a letter, '1f -> '1 f'.

The new version I have fixes that problem, and I verified that the VAX
ASM doesn't change under the new pgindent.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-ports by date

Next:From: Bruce MomjianDate: 2001-01-18 23:41:07
Subject: Re: compile problem on a vax
Previous:From: Peter EisentrautDate: 2001-01-18 23:34:04
Subject: Re: compile problem on a vax

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group