[PATCH] amd64 port kernel build/link patches

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sun Sep 16 22:56:40 PDT 2007


Hi.
On Sun, Sep 16, 2007 at 05:57:58PM -0600, Yonghong Yan wrote:
> not seeing feedback of this patch and i tend to commit them and move
> on :), deal?

Probably I missed something very essential, but how can I try
to build a kernel with AMD64_GENERIC?  Do I have to do buildworld
with TARGET_ARCH=amd64 first?

Cheers.

cc -c -O -pipe -mtune=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ansi -g -nostdinc -I. -Iinclude -I/home/source/dragonfly/current/src/sys -I/home/source/dragonfly/current/src/sys/../include -I/home/qhwt/amd64/home/source/dragonfly/current/src/sys/AMD64_GENERIC -I"/home/source/dragonfly/current/src/sys/dev/acpica5" -I"/home/source/dragonfly/current/src/sys/contrib/dev/acpica-unix-20061109/include" -I/home/sou
rce/dragonfly/current/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -ffreestanding -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables /home/source/dragonfly/current/src/sys/platform/pc64/amd64/genassym.c
/home/source/dragonfly/current/src/sys/platform/pc64/amd64/genassym.c:1: error: code model `kernel' not supported in the 32 bit mode
*** Error code 1

Stop in /home/qhwt/amd64/home/source/dragonfly/current/src/sys/AMD64_GENERIC.
*** Error code 1

Stop in /home/source/dragonfly/current/src.
*** Error code 1

Stop in /home/source/dragonfly/current/src.





More information about the Submit mailing list