[Pkg-fglrx-devel] Bug#651775: Fails to build for 64-bit kernel on i386

Ben Hutchings ben at decadent.org.uk
Mon Dec 12 05:04:45 UTC 2011


Package: fglrx-modules-dkms

Version: 1:11-11-3
Severity: important

The i386 version of this package includes only the 32-bit build of the
proprietary driver code.  If the target kernel is 64-bit (e.g. the
Debian amd64 flavour), the driver fails to build:

DKMS make.log for fglrx-11-11 for kernel 3.1.0-1-amd64 (x86_64)
Mon Dec 12 05:00:27 GMT 2011
make: Entering directory `/usr/src/linux-headers-3.1.0-1-amd64'
/usr/src/linux-headers-3.1.0-1-common/arch/x86/Makefile:81: stack protector enabled but no compiler support
  LD      /var/lib/dkms/fglrx/11-11/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/11-11/build/firegl_public.o
In file included from /var/lib/dkms/fglrx/11-11/build/firegl_public.c:193:0:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used [-Wunused-variable]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used [-Wunused-variable]
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_acpi.o
In file included from /var/lib/dkms/fglrx/11-11/build/kcl_acpi.c:33:0:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used [-Wunused-variable]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used [-Wunused-variable]
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_agp.o
In file included from /var/lib/dkms/fglrx/11-11/build/kcl_agp.c:47:0:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used [-Wunused-variable]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used [-Wunused-variable]
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_debug.o
In file included from /var/lib/dkms/fglrx/11-11/build/kcl_debug.c:39:0:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.c:45:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.c:65:14: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.c: In function ‘prvGetCpuId’:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.c:72:18: warning: unused variable ‘Mode’ [-Wunused-variable]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.c: At top level:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used [-Wunused-variable]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used [-Wunused-variable]
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_ioctl.o
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_io.o
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_pci.o
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_str.o
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_iommu.o
In file included from /var/lib/dkms/fglrx/11-11/build/kcl_iommu.c:45:0:
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:202:5: warning: "_DEBUG" is not defined [-Wundef]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used [-Wunused-variable]
/var/lib/dkms/fglrx/11-11/build/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used [-Wunused-variable]
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl.o
  CC [M]  /var/lib/dkms/fglrx/11-11/build/kcl_wait.o
  LD [M]  /var/lib/dkms/fglrx/11-11/build/fglrx.o
ld: Relocatable linking with relocations from format elf32-i386 (/var/lib/dkms/fglrx/11-11/build/libfglrx_ip.a) to format elf64-x86-64 (/var/lib/dkms/fglrx/11-11/build/fglrx.o) is not supported
make[3]: *** [/var/lib/dkms/fglrx/11-11/build/fglrx.o] Error 1
make[2]: *** [_module_/var/lib/dkms/fglrx/11-11/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.1.0-1-amd64'

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fglrx-modules-dkms depends on:
ii  dkms  2.2.0.3-1

fglrx-modules-dkms recommends no packages.

Versions of packages fglrx-modules-dkms suggests:
pn  fglrx-driver  <none>

-- no debconf information





More information about the Pkg-fglrx-devel mailing list