Closed adrelanos closed 5 years ago
Thanks for reporting. The worst thing we see here isn't the warnings, but that your build overrides our CFLAGS. This is the miner, it is highly performance-critical. Our default CFLAGS are just -O2 -fomit-frame-pointer
. It should be OK to add -D_FORTIFY_SOURCE=2
- the miner's performance isn't dependent on the library functions. Stack protector might or might not have significant performance impact - we need to test this. Maybe we can selectively disable it just for yespower-opt.c. And we should keep -fomit-frame-pointer
and not enable debugging.
The warnings are benign, but we may address them separately. Thank you for reporting!
Fixed in 2.5.0-res4.
Real warnings or noise? Worth fixing? Priority? Dunno. You tell me.