public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] add note about build issue on x86_64 with 32bit userspace
@ 2012-02-10 11:51 Johannes Stezenbach
  2012-02-13 20:15 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Stezenbach @ 2012-02-10 11:51 UTC (permalink / raw)
  To: crossgcc; +Cc: Yann E. MORIN

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] add note about build issue on x86_64 with 32bit userspace
  2012-02-10 11:51 [PATCH] add note about build issue on x86_64 with 32bit userspace Johannes Stezenbach
@ 2012-02-13 20:15 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2012-02-13 20:15 UTC (permalink / raw)
  To: crossgcc; +Cc: Johannes Stezenbach

Johannes, All,

On Friday 10 February 2012 12:51:40 Johannes Stezenbach wrote:
> +Symptoms:
> +  On x86_64 hosts with 32bit userspace the GMP build fails with:

Applied as #da77b5e7cb9f. Thank you!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-13 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-10 11:51 [PATCH] add note about build issue on x86_64 with 32bit userspace Johannes Stezenbach
2012-02-13 20:15 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).