Commit 6863fd63 authored by Philip Müller's avatar Philip Müller

[pkg-upd] 1:15.201.1151-0.9

parent 78886b37
--- archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.h.orig 2019-07-11 08:47:40.633197174 +0200
+++ archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.h 2019-07-11 08:53:59.029829653 +0200
@@ -17,6 +17,10 @@
#ifndef _FIREGL_PUBLIC_H_
#define _FIREGL_PUBLIC_H_
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 2, 0)
+# include <uapi/linux/mman.h>
+#endif
+
#ifndef ESX
#include <stdarg.h>
#include "kcl_iommu.h"
--- archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2019-07-11 08:47:40.633197174 +0200
+++ archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.c 2019-07-11 08:53:59.029829653 +0200
@@ -4219,22 +4219,22 @@ static vm_nopage_ret_t ip_vm_gart_nopage
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
-static int ip_vm_fault(struct vm_fault *vmf) {
+static unsigned int ip_vm_fault(struct vm_fault *vmf) {
TRACE_FAULT(do_vm_fault, vmf->vma, vmf);
}
-static int ip_vm_shm_fault(struct vm_fault *vmf) {
+static unsigned int ip_vm_shm_fault(struct vm_fault *vmf) {
TRACE_FAULT(do_vm_shm_fault, vmf->vma, vmf);
}
-static int ip_vm_dma_fault(struct vm_fault *vmf) {
+static unsigned int ip_vm_dma_fault(struct vm_fault *vmf) {
TRACE_FAULT(do_vm_dma_fault, vmf->vma, vmf);
}
-static int ip_vm_kmap_fault(struct vm_fault *vmf) {
+static unsigned int ip_vm_kmap_fault(struct vm_fault *vmf) {
TRACE_FAULT(do_vm_kmap_fault, vmf->vma, vmf);
}
-static int ip_vm_pcie_fault(struct vm_fault *vmf) {
+static unsigned int ip_vm_pcie_fault(struct vm_fault *vmf) {
TRACE_FAULT(do_vm_pcie_fault, vmf->vma, vmf);
}
-static int ip_vm_gart_fault(struct vm_fault *vmf) {
+static unsigned int ip_vm_gart_fault(struct vm_fault *vmf) {
TRACE_FAULT(do_vm_gart_fault, vmf->vma, vmf);
}
......@@ -45,6 +45,7 @@ source=(https://drivers.amd.com/drivers/linux/amd-catalyst-15.9-linux-installer-
4.16-manjaro.patch
4.17-manjaro.patch
4.21-manjaro.patch
5.2-manjaro.patch
LICENSE.TXT)
url_ref="https://support.amd.com/en-us/download/desktop?os=Linux+x86"
......@@ -73,6 +74,7 @@ sha256sums=('bf3e6e7d5c51db3d075410a3f116f865b82823debc1d66698d187249feec6a91'
'1fa9c117cd9aaf32aa230bc0ccc9204f8efd05e3681bf43ed8eabb6e19322f45'
'2b7dd2aa25bcad250e43f1bb9917aa401cc198800cb80eadb2f22137aee27fad'
'7c3c8537594b40ed70344d99035b1b632255c73eed1c7a8805ae5160365a4935'
'7eb2c8a810f923c7097116d8b0daf6625e4ab7b856cea05884b2e07c9dc2b755'
'4f7530540f6e1ea032746e94bd164160abdf93c15509bfb8bdbecd23bcea5c47')
prepare() {
......@@ -136,6 +138,7 @@ build() {
patch -Np1 -i ${srcdir}/4.16-manjaro.patch
patch -Np1 -i ${srcdir}/4.17-manjaro.patch
patch -Np1 -i ${srcdir}/4.21-manjaro.patch
patch -Np1 -i ${srcdir}/5.2-manjaro.patch
cd "${srcdir}/fglrx-$_pkgver/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/fglrx-$_pkgver/archive_files/arch/${_archdir}/lib/modules/fglrx/build_mod/libfglrx_ip.a" .
......
  • Produces following error:

      Building modules, stage 2.
      MODPOST 1 modules
    ERROR: "libip_ac_notify" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_uswc_user_disabled" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_debug_proc_read" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_vm_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "mc_heap_get_page" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_ioctl" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_dev" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "cf_object_init" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_pagetable_page_from_vm" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_mem_info1" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_interrupt_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "libip_video_notify" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "adapter_chain_init" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_bios_version" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "libip_resume" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "cf_object_cleanup" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_cleanup_device_heads" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_trace" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_open" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_pci_save_state" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_pci_restore_state" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_private_cleanup" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_asyncio_read" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_vm_open" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "libip_lid_open_notify" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_private_init" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "libip_suspend" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_ptm_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_vm_close" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_clients_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_lock_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_asyncio_fasync" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_pcie_pageaddr_from_vm" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_asyncio_write" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_num_devices" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_pciemem_from_addr" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "libip_iommu_invalidate_pasid_ctx" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_addr_from_vm" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_debug_proc_write" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_release" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_find_device" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_query_pcidev" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_query_acpi_handle" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_init" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_name_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_dev_from_vm" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_asyncio_poll" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_realloc_device_list" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_get_pagelist_from_vm" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "drm_mem_info" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_debug_dump" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_init_device_list" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_mmap" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "adapter_chain_cleanup" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "firegl_compat_ioctl" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    ERROR: "libip_iommu_invalid_pri_request" [/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/fglrx.ko] undefined!
    make[1]: *** [scripts/Makefile.modpost:91: __modpost] Error 1
    make: *** [Makefile:1599: modules] Error 2
    make: Leaving directory '/usr/lib/modules/5.2.0-0-MANJARO/build'
    ==> ERROR: A failure occurred in build().
  • Original error:

    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c: At top level:
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4282:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4282 |     fault:   ip_vm_fault,
          |              ^~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4282:14: note: (near initialization for 'vm_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4293:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4293 |     fault:   ip_vm_shm_fault,
          |              ^~~~~~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4293:14: note: (near initialization for 'vm_shm_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4304:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4304 |     fault:   ip_vm_dma_fault,
          |              ^~~~~~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4304:14: note: (near initialization for 'vm_pci_bq_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4315:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4315 |     fault:   ip_vm_dma_fault,
          |              ^~~~~~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4315:14: note: (near initialization for 'vm_ctx_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4326:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4326 |     fault:   ip_vm_pcie_fault,
          |              ^~~~~~~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4326:14: note: (near initialization for 'vm_pcie_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4337:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4337 |     fault:   ip_vm_kmap_fault,
          |              ^~~~~~~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4337:14: note: (near initialization for 'vm_kmap_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4348:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4348 |     fault:   ip_vm_gart_fault,
          |              ^~~~~~~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4348:14: note: (near initialization for 'vm_gart_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4360:14: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types]
     4360 |     fault:   ip_vm_fault,
          |              ^~~~~~~~~~~
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:4360:14: note: (near initialization for 'vm_agp_bq_ops.fault')
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c:6563:12: warning: 'KCL_fpu_save_init' defined but not used [-Wunused-function]
     6563 | static int KCL_fpu_save_init(struct task_struct *tsk)
          |            ^~~~~~~~~~~~~~~~~
      CC [M]  /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/kcl_iommu.o
      CC [M]  /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/kcl.o
      CC [M]  /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/kcl_wait.o
    In file included from /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/kcl_iommu.c:48:
    /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.h:675:21: warning: extra tokens at end of #ifndef directive
      675 | #ifndef boot_cpu_has(X86_FEATURE_PGE)
          |                     ^
    cc1: some warnings being treated as errors
    make[1]: *** [scripts/Makefile.build:278: /home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
    make: *** [Makefile:1595: _module_/home/phil/dev/gitlab-mjr/repos/extra/linux52-extramodules/catalyst/src/fglrx-15.201.1151/archive_files/common/lib/modules/fglrx/build_mod] Error 2
    make: Leaving directory '/usr/lib/modules/5.2.0-0-MANJARO/build'
    
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment