Date: Mon, 31 Aug 1998 04:16:36 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: John Birrell <jb@cimlogic.com.au> Cc: current@FreeBSD.ORG Subject: Re: The Day After, initial reports. Message-ID: <11777.904562196@time.cdrom.com> In-Reply-To: Your message of "Mon, 31 Aug 1998 20:45:51 %2B1000." <199808311045.UAA19965@cimlogic.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 .L352: movl 8(%ebp),%ecx movl 272(%ecx),%eax andb $254,212(%eax) %fs? %gs? Interesting! :-) > Jordan K. Hubbard wrote: > > The make-aout-to-elf target seems to have worked fine, but building > > the GENERICupgrade kernel dies with: > > > > cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnest ed-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -i nclude opt_global.h ../../i386/i386/machdep.c > > {standard input}: Assembler messages: > > {standard input}:893: Error: operands given don't match any known 386 instr uction > > {standard input}:894: Error: operands given don't match any known 386 instr uction > > *** Error code 1 > > Is this version 1.305 of machdep.c ???? > > Try backing out: > > 1.305 +7 -1 src/sys/i386/i386/machdep.c > 1.36 +1 -12 src/sys/i386/include/cpu.h > 1.45 +4 -2 src/sys/i386/include/param.h > 1.16 +1 -2 src/sys/kern/kern_mib.c > > which were from a commit that Kato did at 1998/08/31 01:41:58 PDT. > > Just a hunch. 8-) > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 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?11777.904562196>