docs/known-issues: add note about build issue on x86_64 with 32bit userspace 1.13
authorJohannes Stezenbach <js@sig21.net>
Mon Feb 13 21:10:06 2012 +0100 (2012-02-13)
branch1.13
changeset 2911763c3d0b1261
parent 2878 e34353936149
child 2912 6467c949c91c
docs/known-issues: add note about build issue on x86_64 with 32bit userspace

Signed-off-by: Johannes Stezenbach <js@sig21.net>
(transplanted from da77b5e7cb9f921d0e2a22818b7945906100e704)
docs/B - Known issues.txt
     1.1 --- a/docs/B - Known issues.txt	Thu Feb 09 21:42:35 2012 +0100
     1.2 +++ b/docs/B - Known issues.txt	Mon Feb 13 21:10:06 2012 +0100
     1.3 @@ -233,3 +233,23 @@
     1.4    See above issue.
     1.5  
     1.6  --------------------------------
     1.7 +Symptoms:
     1.8 +  On x86_64 hosts with 32bit userspace the GMP build fails with:
     1.9 +    configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
    1.10 +    in this configuration expects 64 bits.
    1.11 +    You appear to have set $CFLAGS, perhaps you also need to tell GMP the
    1.12 +    intended ABI, see "ABI and ISA" in the manual.
    1.13 +
    1.14 +Explanations:
    1.15 +  "uname -m" detects x86_64 but the build host is really x86.
    1.16 +
    1.17 +Status:
    1.18 +  CURRENT
    1.19 +
    1.20 +Fix:
    1.21 +  None so far. See above issue.
    1.22 +
    1.23 +Workaround:
    1.24 +  use "setarch i686 ct-ng build"
    1.25 +
    1.26 +--------------------------------