As noted in https://issues.guix.gnu.org/44000, intptr_t is incorrect when cross-compiling (say) from 64-bit to 32-bit: since arch32-bit? is determined at macro-expansion time (viacond-expand), it is #false in that case even though it should be #true.
I posted a patch that solves the issue, but it's somewhat Guile-specific, so I suppose we'd need a more generic solution.
Hello @TaylanUB,
As noted in https://issues.guix.gnu.org/44000,
intptr_t
is incorrect when cross-compiling (say) from 64-bit to 32-bit: sincearch32-bit?
is determined at macro-expansion time (viacond-expand
), it is#false
in that case even though it should be#true
.I posted a patch that solves the issue, but it's somewhat Guile-specific, so I suppose we'd need a more generic solution.
WDYT?
Ludo'.