No, solution was incomplete.
Correct is following:
EXTRA_CFLAGS += -fno-pie -fno-stack-protector

Otherwise it compiles, but afterwards doesn't work and complains with
"Unknown symbol __stack_chk_fail (err 0)"

For all other modules (tried with bbswitch-0.8, tuxedo-wmo-1.5.1, 
virtualbox-5.0.18) just find corresponding Makefile (there are few of them in 
virtualbox directory) and add following at the beginning of the file:
EXTRA_CFLAGS := -fno-pie -fno-stack-protector

And it will also compile and work fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574982

Title:
  Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong
  not supported by compiler

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1574982/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to