Re[2]: Couldn't make kernel on FreeBSD 6.0-CURRENT under amd64

From: Tarasov Alexey <lexa_at_wincmd.ru>
Date: Sat, 11 Jun 2005 11:29:51 +0400
Hello!

>On Fri, Jun 10, 2005 at 03:54:04PM +0400, Tarasov Alexey wrote:
>  
>
>>Hello!
>>
>>I am trying to make kernel under amd64, but I have following error:
>>
>>    
>>
>>>stage 3.1. making depencies
>>>...
>>>/usr/src/sys/amd64/amd64/genassym.c:1 error: code mode `kernel' not 
>>>supported in 32bit mode
>>>      
>>>
>>What should I do to make kernel properly?
>>    
>>
>
>First show us exactly what you're trying to do (i.e. don't trim
>context and summarize too much), including your make.conf, environment
>variables and command input and output.
>
>Kris
>  
>
> [11:22:58]root_at_computer.lexasoft.ru:
> /home/lexa>uname -a
> FreeBSD computer.lexasoft.ru 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Thu 
> Jun  9 14:31:32 MSD 2005     
> root_at_computer.lexasoft.ru:/usr/obj/usr/src/sys/GENERIC  i386

> [11:25:12]root_at_computer.lexasoft.ru:
> /usr/src>make buildworld

No errors...

> [11:25:12]root_at_computer.lexasoft.ru:
> /usr/src>make buildkernel TARGET_ARCH=amd64


> --------------------------------------------------------------
> >>> stage 3.1: making dependencies
> --------------------------------------------------------------
> cd /usr/obj/amd64/usr/src/sys/GENERIC;  
> MAKEOBJDIRPREFIX=/usr/obj/amd64  MACHINE_ARCH=amd64  MACHINE=amd64  
> CPUTYPE=  GROFF_BIN_PATH=/usr/obj/amd64/usr/src/tmp/legacy/usr/bin  
> GROFF_FONT_PATH=/usr/obj/amd64/usr/src/tmp/legacy/usr/share/groff_font  
> GROFF_TMAC_PATH=/usr/obj/amd64/usr/src/tmp/legacy/usr/share/tmac  
> _SHLIBDIRPREFIX=/usr/obj/amd64/usr/src/tmp  INSTALL="sh 
> /usr/src/tools/install.sh"  
> PATH=/usr/obj/amd64/usr/src/tmp/legacy/usr/sbin:/usr/obj/amd64/usr/src/tmp/legacy/usr/bin:/usr/obj/amd64/usr/src/tmp/legacy/usr/games:/usr/obj/amd64/usr/src/tmp/usr/sbin:/usr/obj/amd64/usr/src/tmp/usr/bin:/usr/obj/amd64/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
> /usr/obj/usr/src/make.i386/make KERNEL=kernel depend -DNO_MODULES_OBJ
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -Wall 
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
> -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys 
> -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq 
> -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf 
> -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
> -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -include 
> opt_global.h -finline-limit=8000 --param inline-unit-growth=100 
> --param large-function-growth=1000 -fno-omit-frame-pointer 
> -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx 
> -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
> /usr/src/sys/amd64/amd64/genassym.c
> /usr/src/sys/amd64/amd64/genassym.c:1: error: code model `kernel' not 
> supported in the 32 bit mode
> *** Error code 1
>
> Stop in /usr/obj/amd64/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.

> [11:28:48]root_at_computer.lexasoft.ru:
> /usr/src>cat /etc/make.conf
> # -- use.perl generated deltas -- #
> # Created: Wed Jun  1 22:17:28 2005
> # Setting to use base perl from ports:
> PERL_VER=5.8.5
> PERL_VERSION=5.8.5
> PERL_ARCH=mach
> NOPERL=yo
> NO_PERL=yo
> NO_PERL_WRAPPER=yo
>
> #FETCH_CMD=/usr/local/bin/wget --continue --passive-ftp -t 3
>
> FETCH_CMD=/usr/local/bin/wget \${URI}


Best regards,
Alexey
Received on Sat Jun 11 2005 - 05:29:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC