Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 1999 09:41:11 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc:        ken@plutotech.com, alpha@FreeBSD.ORG
Subject:   Re: GENERIC compile blows up
Message-ID:  <Pine.BSF.4.01.9902020940070.10768-100000@herring.nlsystems.com>
In-Reply-To: <19990202182250O.simokawa@sat.t.u-tokyo.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Feb 1999, Hidetoshi Shimokawa wrote:

> ken> This is from sources cvsupped about 11:15 PST, and the GENERIC config file:
> ken> 
> ken> 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
> ken> /var/tmp/ccl76810.s: Assembler messages:
> ken> /var/tmp/ccl76810.s:885: Error: macro requires $at register while noat in effect
> ken> /var/tmp/ccl76810.s:927: Error: macro requires $at register while noat in effect
> ken> *** Error code 1
> ken> 
> ken> Stop.
> ken> 
> ken> Anyone have any ideas?
> ken> 
> ken> The system in question is from early December.
> ken> 
> ken> Ken
> 
> I think this is because of lack of '-Wa,-mev56' option in cc command line.
> Update /usr/share/mk/bsd.kern.mk and try again.

Also make sure you delete any .o files which were built with the wrong
options.  The compiler has a nasty habit of using float registers as
temporaries and this will cause an instant panic in kernel code.

--
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.9902020940070.10768-100000>