[Pkg-fglrx-devel] Bug#785150: fglrx-modules-dkms: the module fail to build with linux 4.0.0-1-amd64

Remi Vanicat vanicat at debian.org
Tue May 12 19:54:53 UTC 2015


Package: fglrx-modules-dkms
Version: 1:14.9+ga14.201-2
Severity: grave

When building the module for linux 4.0.0-1-amd64 dkms fail with:

DKMS make.log for fglrx-14.12 for kernel 4.0.0-1-amd64 (x86_64)
mardi 12 mai 2015, 21:50:46 (UTC+0200)
make: Entering directory '/usr/src/linux-headers-4.0.0-1-amd64'
  LD      /var/lib/dkms/fglrx/14.12/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/14.12/build/firegl_public.o
/var/lib/dkms/fglrx/14.12/build/firegl_public.c: In function ‘kcl_mem_pat_setup’:
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4471:9: error: implicit declaration of function ‘read_cr4’ [-Werror=implicit-function-declaration]
         cr4 = read_cr4();
         ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4472:9: error: implicit declaration of function ‘write_cr4’ [-Werror=implicit-function-declaration]
         write_cr4(cr4 & ~X86_CR4_PGE);
         ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c: In function ‘kasSetExecutionLevel’:
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4819:5: error: implicit declaration of function ‘__get_cpu_var’ [-Werror=implicit-function-declaration]
     orig_level = __get_cpu_var(kasExecutionLevel);
     ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4820:38: error: lvalue required as left operand of assignment
     __get_cpu_var(kasExecutionLevel) = level;
                                      ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c: At top level:
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:6396:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.0.0-1-common/scripts/Makefile.build:263: recipe for target '/var/lib/dkms/fglrx/14.12/build/firegl_public.o' failed
make[3]: *** [/var/lib/dkms/fglrx/14.12/build/firegl_public.o] Error 1
/usr/src/linux-headers-4.0.0-1-common/Makefile:1407: recipe for target '_module_/var/lib/dkms/fglrx/14.12/build' failed
make[2]: *** [_module_/var/lib/dkms/fglrx/14.12/build] Error 2
Makefile:145: 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.0.0-1-amd64'
DKMS make.log for fglrx-14.12 for kernel 4.0.0-1-amd64 (x86_64)
mardi 12 mai 2015, 21:50:46 (UTC+0200)
make: Entering directory '/usr/src/linux-headers-4.0.0-1-amd64'
  LD      /var/lib/dkms/fglrx/14.12/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/14.12/build/firegl_public.o
/var/lib/dkms/fglrx/14.12/build/firegl_public.c: In function ‘kcl_mem_pat_setup’:
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4471:9: error: implicit declaration of function ‘read_cr4’ [-Werror=implicit-function-declaration]
         cr4 = read_cr4();
         ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4472:9: error: implicit declaration of function ‘write_cr4’ [-Werror=implicit-function-declaration]
         write_cr4(cr4 & ~X86_CR4_PGE);
         ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c: In function ‘kasSetExecutionLevel’:
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4819:5: error: implicit declaration of function ‘__get_cpu_var’ [-Werror=implicit-function-declaration]
     orig_level = __get_cpu_var(kasExecutionLevel);
     ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:4820:38: error: lvalue required as left operand of assignment
     __get_cpu_var(kasExecutionLevel) = level;
                                      ^
/var/lib/dkms/fglrx/14.12/build/firegl_public.c: At top level:
/var/lib/dkms/fglrx/14.12/build/firegl_public.c:6396:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.0.0-1-common/scripts/Makefile.build:263: recipe for target '/var/lib/dkms/fglrx/14.12/build/firegl_public.o' failed
make[3]: *** [/var/lib/dkms/fglrx/14.12/build/firegl_public.o] Error 1
/usr/src/linux-headers-4.0.0-1-common/Makefile:1407: recipe for target '_module_/var/lib/dkms/fglrx/14.12/build' failed
make[2]: *** [_module_/var/lib/dkms/fglrx/14.12/build] Error 2
Makefile:145: 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.0.0-1-amd64'


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

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

fglrx-modules-dkms recommends no packages.

Versions of packages fglrx-modules-dkms suggests:
ii  fglrx-driver  1:14.12-1

Versions of packages fglrx-driver depends on:
ii  debconf [debconf-2.0]                  1.5.56
ii  glx-alternative-fglrx                  0.5.1
ii  libc6                                  2.19-18
ii  libfglrx                               1:14.12-1
ii  libgl1-mesa-glx [libgl1]               10.4.2-2
ii  libstdc++6                             5.1.1-5
ii  libx11-6                               2:1.6.3-1
ii  libxext6                               2:1.3.3-1
ii  libxrandr2                             2:1.4.2-1+b1
ii  libxrender1                            1:0.9.8-1+b1
ii  xserver-xorg-core [xorg-video-abi-18]  2:1.16.4-1

Versions of packages fglrx-driver recommends:
ii  fglrx-atieventsd       1:14.12-1
ii  libgl1-fglrx-glx       1:14.12-1
ii  libgl1-fglrx-glx-i386  1:14.12-1

Versions of packages fglrx-driver suggests:
ii  amd-opencl-icd  1:14.9+ga14.201-2
ii  fglrx-control   1:14.12-1
pn  xvba-va-driver  <none>

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6                                  2.19-18
ii  libdrm-intel1                          2.4.60-3
ii  libdrm2                                2.4.60-3
ii  libpciaccess0                          0.13.3-1
ii  libpixman-1-0                          0.32.6-3
ii  libudev1                               215-17
ii  libx11-6                               2:1.6.3-1
ii  libx11-xcb1                            2:1.6.3-1
ii  libxcb-dri2-0                          1.10-3+b1
ii  libxcb-util0                           0.3.8-3
ii  libxcb1                                1.10-3+b1
ii  libxv1                                 2:1.0.10-1+b1
ii  libxvmc1                               2:1.0.9-1
ii  xserver-xorg-core [xorg-video-abi-18]  2:1.16.4-1

Versions of packages fglrx-modules-dkms is related to:
pn  ia32-libs                  <none>
ii  libdrm-radeon1             2.4.60-3
pn  linux-headers              <none>
ii  xserver-xorg               1:7.7+9
ii  xserver-xorg-core          2:1.16.4-1
ii  xserver-xorg-video-ati     1:7.5.0-1
ii  xserver-xorg-video-radeon  1:7.5.0-1

-- debconf information:
  fglrx-driver/check-xorg-conf-on-removal: true
* fglrx-driver/needs-xorg-conf-to-enable:
* fglrx-driver/removed-but-enabled-in-xorg-conf:

-- 
Rémi Vanicat



More information about the Pkg-fglrx-devel mailing list