[PATCH] amd64 port kernel build/link patches

Petr Janda elekktretterr at exemail.com.au
Mon Sep 17 04:52:13 PDT 2007


I'd love to try it. But I dont know a few things:

- How do I cross-compile?
- I believe I will have to recompile all of my 3rd party programs from pkgsrc. 
Correct? What's the chance that more pkgsrc programs wont work?

Petr

On Mon, 17 Sep 2007 09:57:58 am Yonghong Yan wrote:
> not seeing feedback of this patch and i tend to commit them and move
> on :), deal?
>
> yonghong
>
> On 9/13/07, Noah yan <noah.yan at gmail.com> wrote:
> > Please check the attached three patches that are for the amd64 kernel
> > build and linking.
> >
> > The patch.syssys includes patches for files that are platform
> > independent. but all changes are about the #ifdef, e.g. add
> > defined(__amd64).
> >
> > patch.kmod is for sys/conf/kmod.mk, i.e to add amd64-specific kld
> > module linking targets. please help double check this.
> >
> > The big patch.amd64 includes patches of files from sys/cpu/amd64,
> > sys/platform/pc64, sys/emulation/linux/amd64 and
> > sys/config/AMD64_GENERIC. They are all amd64/pc64 specific. Other than
> > the header files, most of those sources are dummy code and we include
> > them just to make the kernel linked. These dummy codes requires
> > completely redo work so you probably donot want to spend time on
> > codes that are going to be trashed soon :).
> >
> > they did not break the i386 world/kernel build and i upgraded my box
> > from them without any trouble.
> >
> > Thanks
> > Yonghong





More information about the Kernel mailing list