[Bug 1564254] Re: nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)]
This occurs in nvidia-graphics-384 still; in this case, the error is: CC [M] /var/lib/dkms/nvidia-384/384.111/build/nvidia/nv-frontend.o cc: error: unrecognized command line option ‘-fstack-protector-strong’ scripts/Makefile.build:258: recipe for target '/var/lib/dkms/nvidia-384/384.111/build/nvidia/nv-frontend.o' failed make[2]: *** [/var/lib/dkms/nvidia-384/384.111/build/nvidia/nv-frontend.o] Error 1 ** Also affects: nvidia-graphics-drivers-384 (Ubuntu) Importance: Undecided Status: New ** No longer affects: nvidia-graphics-drivers-384 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564254 Title: nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361-updates/+bug/1564254/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1564254] Re: nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)]
Nevermind that, misdiagnosis: that error is not because it is using clang, but because it is using gcc < 4.9. Sorry for the noise! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564254 Title: nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361-updates/+bug/1564254/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1564254] Re: nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)]
** Summary changed: - nvidia-361-updates 361.28-0ubuntu1: nvidia-361-updates kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)] + nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)] ** Changed in: nvidia-graphics-drivers-375 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564254 Title: nvidia-* kernel module failed to build with clang [arch_hweight.h:56:7: error: expected absolute expression asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361-updates/+bug/1564254/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs