https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67223
Marcin Kamionowski <soldier.kam at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Marcin Kamionowski <soldier.kam at gmail dot com> --- Yes, you are correct about misaligned address returned from zmalloc. Now it works without errors. Thank you for helping out. I was not aware of zmalloc features.