Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 14:12:53 +0000
From:      Mike Smith <mike@smith.net.au>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        John Birrell <jb@cimlogic.com.au>, current@FreeBSD.ORG
Subject:   Re: The Day After, initial reports. 
Message-ID:  <199808311412.OAA01117@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 31 Aug 1998 04:16:36 MST." <11777.904562196@time.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

Just as a hopefully-useful followup:

> Nope, I'm afraid those changes were innocuous.  This is something
> weirder, I think.  The compiler is spitting out something which the
> ELF assembler doesn't like, to wit:
> 
> su-2.01# /usr/libexec/elf/as -v -o machdep.o machdep.s  
> GNU assembler version 2.8.1 (i386-unknown-freebsdelf), using BFD version 2.8.1
> machdep.s: Assembler messages:
> machdep.s:919: Error: operands given don't match any known 386 instruction
> machdep.s:920: Error: operands given don't match any known 386 instruction
> 
> if you look at the location in question, the error is on:
>         ..
>         cmpl %esi,curpcb
>         jne .L352
>         movl _udatasel,%ecx
> #APP
>         mov %ecx,%fs	<-- XXX these two
>         mov %ecx,%gs	    lines XXX -- >
> #NO_APP

These markers mean that the code comes from the "asm" macro, so it's 
not the compiler, fortunately.  8)

> .L352:
>         movl 8(%ebp),%ecx
>         movl 272(%ecx),%eax
>         andb $254,212(%eax)
> 
> %fs?  %gs?  Interesting!  :-)

Yes; these are 386 registers.  Luoqi's trying to reload them with 
something sensible; we were leaving them polluted before IIRC.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808311412.OAA01117>