[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.6.23 build fails from Debian sources



Hello list,

I was trying to compile 2.6.23 starting from Debian sources, pulled from 
the apt repositories published here:

http://wiki.debian.org/DebianKernel

The 2.6.23 in those repos works a charm:

jack@vasquez:~$ uname -a
Linux vasquez 2.6.23-1-amd64 #1 SMP Sun Oct 14 03:58:39 UTC 2007 x86_64 
GNU/Linux

but I wanted to add the tickless option to my AMD64 kernel so I 
downloaded the hrt-1 patch from:

http://www.kernel.org/pub/linux/kernel/people/tglx/hrtimers/2.6.23/
patch-2.6.23-hrt1.patch.bz2

applied it (no problems there), copied the .config file from the Debian 
kernel package 2.6.23 in /boot and added the option I needed through

jack@vasquez:~$ make menuconfig

Saved my new configuration and then issued

jack@vasquez:~$ make-kpkg --initrd kernel_image

After a few seconds I get this error:

  CC      arch/x86_64/vdso/vma.o
  LDS     arch/x86_64/vdso/vdso.lds
  AS      arch/x86_64/vdso/vdso-start.o
  AS      arch/x86_64/vdso/vdso-note.o
  CC      arch/x86_64/vdso/vclock_gettime.o
  CC      arch/x86_64/vdso/vgetcpu.o
  CC      arch/x86_64/vdso/vvar.o
  SYSCALL arch/x86_64/vdso/vdso.so
/usr/bin/ld: section .data [ffffffffff700900 -> ffffffffff700917] 
overlaps section .text [ffffffffff700600 -> ffffffffff700923]
/usr/bin/ld: arch/x86_64/vdso/vdso.so: section .data lma 
0xffffffffff700900 overlaps previous sections
/usr/bin/ld: arch/x86_64/vdso/vdso.so: section .note lma 
0xffffffffff700918 overlaps previous sections
/usr/bin/ld: arch/x86_64/vdso/vdso.so: section .eh_frame_hdr lma 
0xffffffffff700930 overlaps previous sections
/usr/bin/ld: arch/x86_64/vdso/vdso.so: section .eh_frame lma 
0xffffffffff700968 overlaps previous sections
/usr/bin/ld: arch/x86_64/vdso/vdso.so: section .dynamic lma 
0xffffffffff700a08 overlaps previous sections
/usr/bin/ld: arch/x86_64/vdso/vdso.so: section .useless lma 
0xffffffffff700af8 overlaps previous sections
collect2: ld returned 1 exit status
make[2]: *** [arch/x86_64/vdso/vdso.so] Error 1
make[1]: *** [arch/x86_64/vdso] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.23'
make: *** [debian/stamp-build-kernel] Error 2

I have searched the interweb and it looks like a known problem, but it 
also says that it's been fixed in -rc8.

I can post the complete log (including .config) if it's needed.

Thanks for any help!

jack@vasquez:~$ COLUMNS=200 dpkg -l linux-source*
ii  linux-source-2.6.23                          
2.6.23-1~experimental.1~snapshot.9653        Linux kernel source for 
version 2.6.23 with Debian patches

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64



Reply to: