Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Peter Rival <frival@zk3.dec.com>
To: Richard Henderson <rth@twiddle.net>
Cc: axp-list@redhat.com
Subject: Re: Assembly errors with lockmeter
Date: Tue, 02 Nov 1999 20:41:15 +0000	[thread overview]
Message-ID: <381F4C6B.E64E925D@zk3.dec.com> (raw)
In-Reply-To: 19991102121947.A29750@twiddle.net

[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]

Richard Henderson wrote:

> On Tue, Nov 02, 1999 at 07:24:09PM +0000, Peter Rival wrote:
> >         "       stl_c %1,6f\n"
> >         "6:\n"
>
> Look close and think carefully.
>
> You shouldn't be storing to a label, but instead to %0.
>

Oh my God, I'm a moron.  I was reading from something I had scratched
together earlier and the paper was at an angle and I combined the stl_c
with the following beq and came up with junk.

After feeling stupid (and grabbing more coffee) I fixed it up as shown
but now I still get the second error:

[frival@av8r kernel]$ gcc -D__KERNEL__
-I/home/frival/lockwork/linux-2.3.22/include -Wall -Wstrict-prototypes
-O2 -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c
lockmeter.c -o lockmeter.o
{standard input}: Assembler messages:
{standard input}:655: Internal error!
Assertion failure in alpha_align at ./config/tc-alpha.c line 4518.
Please report this bug.

Where this is what we see:

        mov $2,$1
        stl_c $2,0($16)
        beq $2,6f
        mb
.section .text2,"ax"
6:
.previous
        addl $1,$31,$1    <-- Line 655
        beq $1,$L944
        ldq $16,16($30)
        bis $31,$31,$18
        bsr $26,$lstat_update..ng
        br $31,$L943
$L944:
        rpcc $1

Is this an "upgrade to GCC 2.95" thing, or is something else wrong?
This is a "stock" RH6.1 installed system.

 - Pete

[-- Attachment #2: Type: text/html, Size: 2281 bytes --]

  reply	other threads:[~1999-11-02 20:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-02 19:24 Assembly errors with lockmeter Peter Rival
1999-11-02 20:19 ` Richard Henderson
1999-11-02 20:41   ` Peter Rival [this message]
1999-11-02 20:57     ` Richard Henderson
1999-11-02 21:49       ` Cross Platform IDE Jonas Gustavsson
1999-11-03 21:32         ` Adam C Powell IV
1999-11-04  0:00           ` SV: " Jonas Gustavsson
1999-11-08  0:47     ` Assembly errors with lockmeter Richard Henderson
1999-11-08 14:03       ` Peter Rival
1999-11-24  5:27         ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox