Comment 19 for bug 1574982

Revision history for this message
Nazar Mokrynskyi (nazar-pc) wrote :

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.