• Status New
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages → Packages: Build-list
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Archlinux32
Opened by Andreas Baumann - 25.11.2017
Last edited by Andreas Baumann - 26.11.2017

FS#17 - nvidia and nvidia-lts kernel module build failure on 32-bit

In file included from ./arch/x86/include/asm/page.h:75:0,
                 from ./arch/x86/include/asm/thread_info.h:11,
                 from ./include/linux/thread_info.h:37,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:80,
                 from ./include/linux/spinlock.h:50,
                 from /build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/common/inc/nv-lock.h:16,
                 from /build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/common/inc/nv-linux.h:19,
                 from /build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/nvidia/os-interface.c:15:
/build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/nvidia/os-interface.c: In function 
os_unmap_kernel_numa
/build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/nvidia/os-interface.c:824:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     NV_KUNMAP((NvU64)addr);
               ^
./include/asm-generic/memory_model.h:32:41: note: in definition of macro 
__pfn_to_page
 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
                                         ^~~
./arch/x86/include/asm/page_32.h:12:25: note: in expansion of macro 
__phys_addr_nodebug
 #define __phys_addr(x)  __phys_addr_nodebug(x)
                         ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/page.h:41:18: note: in expansion of macro 
__phys_addr
 #define __pa(x)  __phys_addr((unsigned long)(x))
                  ^~~~~~~~~~~
./arch/x86/include/asm/page.h:68:41: note: in expansion of macro 
__pa
 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
                                         ^~~~
/build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/common/inc/nv-linux.h:740:39: note: in expansion of macro 
virt_to_page
 #define NV_GET_PAGE_STRUCT(phys_page) virt_to_page(__va(phys_page))
                                       ^~~~~~~~~~~~
/build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/common/inc/nv-linux.h:740:52: note: in expansion of macro 
__va
 #define NV_GET_PAGE_STRUCT(phys_page) virt_to_page(__va(phys_page))
                                                    ^~~~
/build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/common/inc/nv-linux.h:1945:32: note: in expansion of macro 
NV_GET_PAGE_STRUCT
 #define NV_KUNMAP(phys) kunmap(NV_GET_PAGE_STRUCT((NvU64)phys))
                                ^~~~~~~~~~~~~~~~~~
/build/nvidia/src/NVIDIA-Linux-x86-387.34/kernel/nvidia/os-interface.c:824:5: note: in expansion of macro 
NV_KUNMAP
     NV_KUNMAP((NvU64)addr);
     ^~~~~~~~~
Admin
Andreas Baumann commented on 26.11.2017 09:43

The package builds, the build error is just a warning, but the module may crash..

(Intentionally no [] brackets in the title, so the package doesn't get blocked).

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing