[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)]

2018-01-09 Thread Sjors Gielen
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:

[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)]

2018-01-09 Thread Sjors Gielen
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

[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)]

2017-06-11 Thread Daniel van Vugt
** 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