# HG changeset patch # User Johannes Stezenbach # Date 1329163806 -3600 # Node ID 9362b3751bbc75820fc9841ae8ae25e51cbfba98 # Parent 8651f30987b6e1e806420cd9db6198a6dae5fd63 docs/known-issues: add note about build issue on x86_64 with 32bit userspace Signed-off-by: Johannes Stezenbach (transplanted from da77b5e7cb9f921d0e2a22818b7945906100e704) diff -r 8651f30987b6 -r 9362b3751bbc docs/B - Known issues.txt --- a/docs/B - Known issues.txt Wed Feb 08 00:44:52 2012 +0100 +++ b/docs/B - Known issues.txt Mon Feb 13 21:10:06 2012 +0100 @@ -233,3 +233,23 @@ See above issue. -------------------------------- +Symptoms: + On x86_64 hosts with 32bit userspace the GMP build fails with: + configure: error: Oops, mp_limb_t is 32 bits, but the assembler code + in this configuration expects 64 bits. + You appear to have set $CFLAGS, perhaps you also need to tell GMP the + intended ABI, see "ABI and ISA" in the manual. + +Explanations: + "uname -m" detects x86_64 but the build host is really x86. + +Status: + CURRENT + +Fix: + None so far. See above issue. + +Workaround: + use "setarch i686 ct-ng build" + +--------------------------------