This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] add note about build issue on x86_64 with 32bit userspace


Signed-off-by: Johannes Stezenbach <js@sig21.net>

diff -r cc5137ade317 docs/B - Known issues.txt
--- a/docs/B - Known issues.txt	Fri Feb 10 12:14:16 2012 +0100
+++ b/docs/B - Known issues.txt	Fri Feb 10 12:43:13 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"
+
+--------------------------------

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]