Re: [linux-audio-dev] Cross compiling the kernel

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Fri Dec 09 2005 - 01:16:31 EET

On Thu, 2005-12-08 at 16:20 -0600, Richard Smith wrote:
> > > Christ, I cannot believe what a pain in the ass this is. At this rate> > it will have taken me 2 days to get this working.>> Yep. thats about par for the course. Perhaps if you ask on the> debian-amd64 some kind soul has unofficial packages you can use.>
> Try here:
> http://debian.speedblue.org/
>

Thanks, it looks like this will work. Unfortunately gcc-4.0-x86-64 +
deps are an 80MB download but I guess that's better than nothing. I'm
still disgusted at having to use third party .debs to accomplish
something so utterly trivial.

FWIW I tried -m64 as described in one of the other links you sent and
got these errors.

I wonder if this is why so many x86-64 users use Gentoo despite its
apparent complexity: because the 64 bit support in other distros is
shit.

$ make CFLAGS="-m64 -mcpu=x86-64" ARCH=x86_64
  CHK include/linux/version.h
  CC arch/x86_64/kernel/asm-offsets.s
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:53,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/kernel.h:105: warning: conflicting types for built-in function 'snprintf'
include/linux/kernel.h:107: warning: conflicting types for built-in function 'vsnprintf'
In file included from include/linux/bitmap.h:8,
                 from include/linux/cpumask.h:82,
                 from include/linux/sched.h:15,
                 from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/string.h:18: warning: conflicting types for built-in function 'strspn'
include/linux/string.h:19: warning: conflicting types for built-in function 'strcspn'

etc

Lee
Received on Fri Dec 9 08:15:09 2005

This archive was generated by hypermail 2.1.8 : Fri Dec 09 2005 - 08:15:09 EET