[pkg-nvidia-devel] Bug#503661: Bug#503661: nvidia-kernel-source: building 32-bit module fails after building 64-bit one

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Mon Oct 27 17:55:03 UTC 2008


On Mon, Oct 27, 2008 at 12:04:17PM +0100, Sven Joachim wrote:
> Package: nvidia-kernel-source
> Version: 177.80-1
> Severity: normal
> 
> The following snippet in nvidia-kernel/debian/conf.mk:
> 
> --8<---------------cut here---------------start------------->8---
> 	if [ "$(kernel_arch)" = "x86_64" ]; then \
> 		cp $(CURDIR)/nv-kernel.o.x86_64 $(CURDIR)/nv-kernel.o ; \
> 	fi
> --8<---------------cut here---------------end--------------->8---

Hmm, I thought I changed that to do a copy for both i386 and x86_64
based on the architecture so that no matter what nv_kernel.o got
overwritten by the right one.  Maybe I lost that part of my patch some
time ago.  It certainly is a safer and more consistent method.

> unconditionally overwrites nv-kernel.o without a backup, so it is no
> longer possible to build a 32-bit nvidia.ko unless one unpacks the
> nvidia-kernel.tar.bz2 again.  While module-assistant does this
> automatically, make-kpkg does not.  This leads to the following failure:

-- 
Len Sorensen





More information about the Pkg-nvidia-devel mailing list