build failure when building with clang

Bug #1869395 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
New
Medium
Unassigned

Bug Description

Building this package against the unstable kernel with clang I hit the following build failure:

<DKMSDIR>>/build/nvidia/390.132/build/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
<<DKMSDIR>>/build/nvidia/390.132/build/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
  556 | void *ptr = ioremap_nocache(phys, size);
      | ^~~~~~~~~~~~~~~
      | ioremap_cache

Building the same dkms package with gcc this works fine. I think clang is being more pedantic about the missing declaration for ioremap_nocache()

Changed in nvidia-graphics-drivers-390 (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.