Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2005 04:11:17 -0500
From:      Jim Haskell <militantjingoist@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help with 'make' failure while building custom kernel
Message-ID:  <42BBCE35.5010905@gmail.com>
In-Reply-To: <42BB7926.2060206@daleco.biz>
References:  <42BB5C26.7090702@gmail.com> <42BB7926.2060206@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Kinsey wrote:
> Jim Haskell wrote:
> 
>> I, a relatively newcomer to FreeBSD, am having trouble compiling my own
>> kernel for my new FreeBSD box. According to the handbook, if 'make'
>> fails (and /usr/sbin/config and make dep do not have problems,) I should
>> seek the wisdom of those on this listserv. Attached is my kernel config.
>> If any of you would be so kind as to take the time to look at my config
>> and give me a suggestion, I would be grateful.
>>
>> Sincerely,
>> Jim Haskell
>>
>> P.S.: Some notes about my system -- the target machine is a pIII 850
>> mhz (which I've positively identified as an i686 type), and the only
>> network cards installed use the rl driver.
>>
>> ---- config file ----
>> #
>> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
>> #
>>
> 
> <snipped remaining kernel config file>
> 
> Hello, Jim!
> 
> IANAE, but I'm pretty sure that the last several lines of
> output of the failed "make" command, and perhaps giving
> the command that caused the failure, in addition to
> your config file, would be Most Helpful(TM).
> 
> Also, have you been received the error more than once,
> and, if so, in the same place in the build, or at different
> stages?
> 
> Kevin Kinsey
> 

Ah, yes, right. My apologizes.

The offending lines from make:

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 -std=c99 
-nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd 
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror ../../../i386/i386/locore.s
../../../i386/i386/locore.s: Assembler messages:
../../../i386/i386/locore.s:783: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:783: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:791: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:792: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:792: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:831: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:832: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:832: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:843: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:843: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:848: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:848: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:853: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:853: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:858: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:858: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:864: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:870: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:907: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:918: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:925: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:927: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:940: Error: suffix or operands invalid for `shl'
*** Error code 1

Thanks,
Jim Haskell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42BBCE35.5010905>