diff options
author | Johannes Stezenbach <js@sig21.net> | 2012-02-13 21:10:06 +0100 |
---|---|---|
committer | Johannes Stezenbach <js@sig21.net> | 2012-02-13 21:10:06 +0100 |
commit | f0edb53da35e70fb2319da100bba5ed4e1566231 (patch) | |
tree | 217dcb17674db1c22a886dec4c6f914f78a4cdce | |
parent | d3629f0995b4b784e9ea24efac7b0b8cb3601997 (diff) | |
download | crosstool-ng-f0edb53da35e70fb2319da100bba5ed4e1566231.tar.gz crosstool-ng-f0edb53da35e70fb2319da100bba5ed4e1566231.tar.bz2 crosstool-ng-f0edb53da35e70fb2319da100bba5ed4e1566231.zip |
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)
-rw-r--r-- | docs/B - Known issues.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/B - Known issues.txt b/docs/B - Known issues.txt index f753ac6b..0217b7a8 100644 --- a/docs/B - Known issues.txt +++ b/docs/B - Known issues.txt @@ -233,3 +233,23 @@ Workaround: 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" + +-------------------------------- |