From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19980 invoked from network); 2 Nov 1999 20:51:01 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Nov 1999 20:51:01 -0000 Received: from mailext03.compaq.com (mailext03.compaq.com [207.18.199.41]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA04338 for ; Tue, 2 Nov 1999 15:51:01 -0500 Received: from mailint02.im.hou.compaq.com (mailint02.compaq.com [207.18.199.35]) by mailext03.compaq.com (Postfix) with ESMTP id B7FB5151FBC; Tue, 2 Nov 1999 14:51:00 -0600 (CST) Received: by mailint02.im.hou.compaq.com (Postfix, from userid 12345) id CA17FBC4C4; Tue, 2 Nov 1999 14:50:53 -0600 (CST) Received: from quarry.zk3.dec.com (bryquarry.zk3.dec.com [16.141.40.15]) by mailint02.im.hou.compaq.com (Postfix) with ESMTP id 638AFB2A42; Tue, 2 Nov 1999 14:50:53 -0600 (CST) Received: from wavy.zk3.dec.com by quarry.zk3.dec.com (8.8.8/1.1.8.2/16Jan95-0946AM) id PAA0000021773; Tue, 2 Nov 1999 15:50:56 -0500 (EST) Received: from zk3.dec.com by wavy.zk3.dec.com (8.8.8/1.1.20.8/09Sep99-1228PM) id PAA0000957400; Tue, 2 Nov 1999 15:50:55 -0500 (EST) Sender: frival@wavy.zk3.dec.com Message-ID: <381F4C6B.E64E925D@zk3.dec.com> Date: Tue, 02 Nov 1999 20:41:15 +0000 From: Peter Rival X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20smp i586) X-Accept-Language: en MIME-Version: 1.0 To: Richard Henderson Cc: axp-list@redhat.com Subject: Re: Assembly errors with lockmeter References: <381F3A59.B110991E@zk3.dec.com> <19991102121947.A29750@twiddle.net> Content-Type: multipart/alternative; boundary="------------327C2DC2E348E99F70685AF9" --------------327C2DC2E348E99F70685AF9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------327C2DC2E348E99F70685AF9 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------327C2DC2E348E99F70685AF9--