Public bug reported:
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()
** Affects: nvidia-graphics-drivers-390 (Ubuntu)
Importance: Medium
Status: New
** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-390 in Ubuntu.
https://bugs.launchpad.net/bugs/1869395
Title:
build failure when building with clang
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1869395/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp