It is now impossible to cross-compile PMDK...

24 views
Skip to first unread message

Raphael Cohn

unread,
Jan 3, 2018, 8:45:21 AM1/3/18
to pmem
Hi,

The code in `src/pmemcommen.inc` makes use of `uname`. This is naive; it assumes the build system is the deployment system. Hence, when cross-compiling for Linux on a Mac (as I have been for sometime for a particular Rust project) now breaks.

A possible simple solution might be for the makefile system takes a HOST argument, and uses this in `pmemcommen.inc` and also passes it to jemalloc.cfg as an additional `--host` parameter.

Raph

Janek Mi

unread,
Jan 4, 2018, 5:50:10 AM1/4/18
to pmem
Hi Raph

Good point. I have created feature request with your idea: https://github.com/pmem/issues/issues/734

Janek
Reply all
Reply to author
Forward
0 new messages