Subject: Problems compiling 1.5X kernel
To: 'thorpej@zembu.com' <thorpej@zembu.com>
From: Glen Gross <ggross@symark.com>
List: current-users
Date: 10/15/2001 07:47:04
Subject: Re: current kernel build failure
Hello there,
I've been trying to build a current NetBSD kernel using 1.5 and got these same
errors Matt reported. After upgrading my gas, I got:
cc -x assembler-with-cpp -traditional-cpp -D_LOCORE -I. -I../../../../arch
-I../../../.. -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DLKM
-DDIAGNOSTIC -DDEBUG -DMAXUSERS=512 -D_KERNEL -D_KERNEL_OPT -Di386 -c
../../../../arch/i386/i386/locore.s
../../../../arch/i386/isa/vector.s: Assembler messages:
../../../../arch/i386/isa/vector.s:328: Error: Alignment too large: 15.
assumed.*** Error code 1
Stop.
Any idea what happened here? I'm trying to build from a custom config file,
but "make depend" completes without errors. Do I need
to upgrade my gcc? It's version egcs-2.91.66 19990314 (egcs-1.1.2 release).
TIA,
Glen M. Gross
Unix Technical Support Specialist
Symark Software
5716 Corsa Avenue, Suite 200
Westlake Village, CA 91362
http://www.symark.com
pp-support@symark.com
pb-support@symark.com
Main: 800-234-9072 or 818-865-6100
Main fax: 818-889-1894
[you wrote...]
To: Matt Bell <mtbell@micropede.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 08/06/2001 14:53:44
On Mon, Aug 06, 2001 at 04:54:28PM -0400, Matt Bell wrote:
> Im trying to build a kernel with today's source and July 25th's userland
> and get this error:
Make sure you have updated your gas(1) first.
>
> cc -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
> -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
> -I../../../.. -nostdinc -DLKM -DIPSEC_DEBUG -DMAXUSERS=32 -D_KERNEL
> -D_KERNEL_OPT -Di386 -c ../../../../dev/clock_subr.c
> cc -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
> -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
> -I../../../.. -nostdinc -DLKM -DIPSEC_DEBUG -DMAXUSERS=32 -D_KERNEL
> -D_KERNEL_OPT -Di386 -c ../../../../arch/i386/isa/npx.c
> /tmp/ccaNVX5r.s: Assembler messages:
> /tmp/ccaNVX5r.s:314: Error: no such 386 instruction: `fxsave'
> /tmp/ccaNVX5r.s:410: Error: no such 386 instruction: `fxsave'
> /tmp/ccaNVX5r.s:450: Error: no such 386 instruction: `fxrstor'
> /tmp/ccaNVX5r.s:486: Error: no such 386 instruction: `fxsave'
> /tmp/ccaNVX5r.s:581: Error: no such 386 instruction: `fxsave'
> *** Error code 1
>
> Stop.
>
> Any Ideas?
>
> -Matt
>
--
-- Jason R. Thorpe <thorpej@zembu.com>