Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 1999 17:30:10 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: GENERIC compile blows up
Message-ID:  <Pine.BSF.4.01.9902021729190.10768-100000@herring.nlsystems.com>
In-Reply-To: <199902021627.JAA41473@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Feb 1999, Kenneth D. Merry wrote:

> Doug Rabson wrote...
> > On Mon, 1 Feb 1999, Kenneth D. Merry wrote:
> > 
> > > 
> > > This is from sources cvsupped about 11:15 PST, and the GENERIC config file:
> > > 
> > > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat  -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h  ../../alpha/alpha/interrupt.c
> > > /var/tmp/ccl76810.s: Assembler messages:
> > > /var/tmp/ccl76810.s:885: Error: macro requires $at register while noat in effect
> > > /var/tmp/ccl76810.s:927: Error: macro requires $at register while noat in effect
> > > *** Error code 1
> > > 
> > > Stop.
> > > 
> > > Anyone have any ideas?
> > > 
> > > The system in question is from early December.
> > 
> > You are using an outdated version of bsd.kern.mk.  The options for
> > building kernel code (-mno-fp-regs -Wa,-mev56) moved there so that
> > building modules could use them.
> > 
> > The makefile tries to use bsd.kern.mk directly from the source tree but
> > this fails unless you have a complete source tree (it looks for
> > ../share/mk/bsd.kern.mk).
> 
> I do have a full source tree.  That doesn't seem to help, however.  I had
> to do 'make -m /usr/src/share/mk' to get it to pick up the new .mk file.
> 
> Now it works, though.  Thanks.

Have a look at the makefile.  It should be doing something special to look
for bsd.kern.mk.  Perhaps you just need to re-run (or rebuild) config(8)?

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" 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.01.9902021729190.10768-100000>