Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 21:26:14 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Kris Kennaway <kris@FreeBSD.ORG>
Cc:        R Joseph Wright <rjoseph@mammalia.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: odd error in bioscall.s
Message-ID:  <Pine.BSF.4.21.0006072119560.439-100000@besplex.bde.org>
In-Reply-To: <Pine.BSF.4.21.0006070134001.51979-100000@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Jun 2000, Kris Kennaway wrote:

> On Tue, 6 Jun 2000, R Joseph Wright wrote:
> 
> > I have this problem while building a kernel from sources cvsup'ed
> > today:
> > 
> > cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s
> > {standard input}: Assembler messages:
> > {standard input}:774: Error: operands given don't match any known 386 instruction
> > {standard input}:839: Error: operands given don't match any known 386 instruction
> > *** Error code 1
> > 
> > Stop in /usr/src/sys/compile/MANATEE.
> > 
> > The file bioscall.s has only 163 lines.  Where is it getting 774 and
> > 839?
> 
> Preprocessor.

Preprocessor + broken assembler.  Error messages about files in pipelines
are even less useful than error messages about temporary files.  The
preprocessor puts line numbers in its output, but gas apparently doesn't
understand them.

Bruce



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?Pine.BSF.4.21.0006072119560.439-100000>