Open herrkuhn opened 4 years ago
This would be something to do with libgcc
not getting linked in, maybe it is actually not desired for kernel modules? I would think this could possibly indicate an issue in the kernel headers package, because it doesn't look like there's anything we're doing that would cause the discrepancy in the build scripts. In any case, it's worth looking deeper into.
Hey,
just a short heads up, drivers can't be compiled under Raspberry Pi OS 64 Bit out of the box right now. I wanted to try a current build of Eclipse CDT, which only is available for 64 Bit, so I installed the current 64 Bit beta. I'm getting a bunch of
ERROR: "__stack_chk_guard" [/PATH/DRIVER.ko] undefined!
messages on compilation for all source files in pi-parport/driver.
As a workaround I added -fno-stack-protector to the Makefile flags in pi-parport/driver and and pi-parport/driver/parport , but I'm not sure if disabling stack protection completely has any negative side effects (or if this is even the correct way to deal with this issue).
With -fno-stack-protector everything seems to work fine so far.