@jonah, I experienced the same error, i.e., “unserialize”, on OS X. Removing -march=native works for me too.
-march=native