Bug#444340: fglrx-kernel-src: Fails to build on amd64 (multiarch) kernel
hello, some hints/ideas: fglrx-driver in etch/amd64 have 32bit binaries in /emul/ia32-linux/ hierarchy. The purpose of these is clear. The question is are these the same ones found in etch/i386? digging deeper into the {src}/rules file excerpt: ifeq ($(DEB_BUILD_ARCH),amd64) dh_install -p$(PKG_driver) $(ARCH)/usr/X11R6/lib64/*.so* usr/lib dh_install -p$(PKG_driver) $(ARCH)/usr/X11R6/lib64/modules/dri/* usr/lib/dri dh_install -p$(PKG_driver) $(XDIR)/usr/X11R6/lib64/modules/* usr/lib/xorg/modules dh_install -p$(PKG_driver) $(ARCH)/usr/X11R6/lib/*.so* emul/ia32-linux/usr/lib dh_install -p$(PKG_driver) $(ARCH)/usr/X11R6/lib/modules/dri/* emul/ia32-linux/usr/lib/dri # replace library paths -- careful, these are binary files rpl -v -e '/usr/X11R6/lib64/modules/dri\0' \ '/usr/lib/dri\0' \ debian/$(PKG_driver)/usr/lib/libGL.so.1.2 rpl -v -e '/usr/X11R6/lib/modules/dri\0' \ '/usr/lib32/dri\0' \ debian/$(PKG_driver)/emul/ia32-linux/usr/lib/libGL.so.1.2 else dh_install -p$(PKG_driver) $(ARCH)/usr/X11R6/lib/*.so* usr/lib dh_install -p$(PKG_driver) $(ARCH)/usr/X11R6/lib/modules/dri/* usr/lib/dri dh_install -p$(PKG_driver) $(XDIR)/usr/X11R6/lib/modules/* usr/lib/xorg/modules # replace library paths -- careful, these are binary files rpl -v -e '/usr/X11R6/lib/modules/dri\0' \ '/usr/lib/dri\0!!' \ debian/$(PKG_driver)/usr/lib/libGL.so.1.2 endif as I suspected 32bit files in amd64 and i386 packages are not the same. I guess, by providing alternative fglrx-driver64 and fglrx-kernel-src64 packages to i386 myght solve the problem... by the way there are no 32bit binaries in sid/amd64 - they were dropped by some reason. I guess moving them into fgrx-driver32 package would be grate... ArturasK. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#444340: fglrx-kernel-src: Fails to build on amd64 (multiarch) kernel
Le Thursday 07 February 2008 14:10:38 Arturas K, vous avez écrit : hello, Hi ! some hints/ideas: fglrx-driver in etch/amd64 have 32bit binaries in /emul/ia32-linux/ hierarchy. The purpose of these is clear. The question is are these the same ones found in etch/i386? I think your misunderstand the issue. The module is for 3D acceleration, which also needs a set of userspace binaries/libraries. Now, with a 64 bit kernel running a 32 bit userland, * The module should be 64 bits * The userspace needs to be 32 bits So even if you would have a 64 bits libGL, it would not work with your 32 bit userland, would it ? by the way there are no 32bit binaries in sid/amd64 - they were dropped by some reason. I guess moving them into fgrx-driver32 package would be grate... They were moved when I switched to plain mesa library, which has its own 32 bit binaries for that purpose. However, now that I'll switch back to diverting libGL (pouah...) since in fact fglrx doesn't support plain mesa, I think I'll add them back at that moment. Romain
Bug#444340: fglrx-kernel-src: Fails to build on amd64 (multiarch) kernel
hi, Romain Beauxis wrote: I think your misunderstand the issue. definitely not :D The module is for 3D acceleration, which also needs a set of userspace binaries/libraries. Now, with a 64 bit kernel running a 32 bit userland, * The module should be 64 bits * The userspace needs to be 32 bits So even if you would have a 64 bits libGL, it would not work with your 32 bit userland, would it ? i do suggest not using 64bit libs, but using 32bit ones form 64bit source tree... lets browse sources. there are: {src}/arch/x86/usr/X11R6/lib/ {src}/arch/x86_64/usr/X11R6/lib/ - these ones are 32bit {src}/arch/x86_64/usr/X11R6/lib64/ do you now understand what I suggest? I am not sure, but MABY 32bit libs in x86 source tree are not capable to communicate to 64bit kernel module, and it fails; and 32bit ones from x86_64 MIGHT be tuned for this scenario. there must be a reason for checksum differences :D --- ArturasK. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#444340: fglrx-kernel-src: Fails to build on amd64 (multiarch) kernel
Le Thursday 07 February 2008 15:34:36 Arturas K, vous avez écrit : do you now understand what I suggest? I am not sure, but MABY 32bit libs in x86 source tree are not capable to communicate to 64bit kernel module, and it fails; and 32bit ones from x86_64 MIGHT be tuned for this scenario. there must be a reason for checksum differences Ok, so please try, I'll be delighted to commit someting actually working. Romain