Package: fglrx-modules-dkms
Version: 1:15.12-2~bpo8+3
Severity: grave

--- Please enter the report below this line. ---

The DKMS is unable to build the module for kernel 4.9.13, which is the latest 
4.9 kernel in Debian Backports (4.9.13-1~bpo8+1), found in packages:

* linux-image-4.9.0-0.bpo.2-amd64
* linux-headers-4.9.0-0.bpo.2-amd64

The output of dkms is the following: 

# dkms build -m fglrx -v 15.12 -k 4.9.0-0.bpo.2-amd64 

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=4.9.0-0.bpo.2-amd64 -C /lib/modules/4.9.0-0.bpo.2-
amd64/build M=/var/lib/dkms/fglrx/15.12/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-amd64 
(x86_64)
Consult /var/lib/dkms/fglrx/15.12/build/make.log for more information.


The output of make.log is included as an attachment.

The package is usable with kernel 4.8.15-2~bpo8+2, for which the DKMS module 
builds correctly.


--- System information. ---
Architecture: amd64
Kernel:       Linux 4.8.0-0.bpo.2-amd64

Debian Release: 8.7
  500 stable-updates  ftp.de.debian.org 
  500 stable          security.debian.org 
  500 stable          ftp.de.debian.org 
  100 jessie-backports ftp.de.debian.org 

--- Package information. ---
Package's Depends field is empty.

Package Status                 (Version) | Installed
========================================-+-===========
xserver-xorg                             | 1:7.7+7
xserver-xorg-core                        | 2:1.16.4-1
linux-headers                            | 
libdrm-radeon1                           | 
xserver-xorg-video-ati                   | 
xserver-xorg-video-radeon                | 
ia32-libs                                | 


Package's Recommends field is empty.

Package's Suggests field is empty.



-8<---8<---8<---8<---8<---8<---8<---8<---8<--
Please attach the file:
  /tmp/reportbug-ng-fglrx-modules-dkms-vsJz2W.txt
to the mail. I'd do it myself if the output wasn't too long to handle.

  Thank you!
->8--->8--->8--->8--->8--->8--->8--->8--->8--
DKMS make.log for fglrx-15.12 for kernel 4.9.0-0.bpo.2-amd64 (x86_64)
Thu Mar 16 12:24:12 CET 2017
make: Entering directory '/usr/src/linux-headers-4.9.0-0.bpo.2-amd64'
  LD      /var/lib/dkms/fglrx/15.12/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/firegl_public.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_acpi.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_agp.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_debug.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_ioctl.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_pci.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_io.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_str.o
In file included from /var/lib/dkms/fglrx/15.12/build/kcl_debug.c:38:0:
/var/lib/dkms/fglrx/15.12/build/firegl_public.h:654:21: warning: extra tokens at end of #ifndef directive
 #ifndef boot_cpu_has(X86_FEATURE_PGE)
                     ^
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_iommu.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/kcl_wait.o
/var/lib/dkms/fglrx/15.12/build/kcl_acpi.c:839:20: warning: ‘KCL_ACPI_Slot_No_Hotplug’ defined but not used [-Wunused-function]
 static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 lvl, void *data, void **rv)
                    ^
In file included from /var/lib/dkms/fglrx/15.12/build/kcl_iommu.c:48:0:
/var/lib/dkms/fglrx/15.12/build/firegl_public.h:654:21: warning: extra tokens at end of #ifndef directive
 #ifndef boot_cpu_has(X86_FEATURE_PGE)
                     ^
In file included from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:207:0:
/var/lib/dkms/fglrx/15.12/build/firegl_public.h:654:21: warning: extra tokens at end of #ifndef directive
 #ifndef boot_cpu_has(X86_FEATURE_PGE)
                     ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c: In function ‘KCL_LockUserPages’:
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3232:78: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL);
                                                                              ^
In file included from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3232:11: error: too many arguments to function ‘get_user_pages_remote’
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL);
           ^
In file included from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: declared here
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c: In function ‘KCL_LockReadOnlyUserPages’:
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3254:78: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL);
                                                                              ^
In file included from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3254:11: error: too many arguments to function ‘get_user_pages_remote’
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL);
           ^
In file included from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: declared here
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c: At top level:
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:6493:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
/usr/src/linux-headers-4.9.0-0.bpo.2-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/fglrx/15.12/build/firegl_public.o' failed
make[3]: *** [/var/lib/dkms/fglrx/15.12/build/firegl_public.o] Error 1
/usr/src/linux-headers-4.9.0-0.bpo.2-common/Makefile:1507: recipe for target '_module_/var/lib/dkms/fglrx/15.12/build' failed
make[2]: *** [_module_/var/lib/dkms/fglrx/15.12/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.9.0-0.bpo.2-amd64'

Reply via email to