Fwd: [gmp] [powerpc] GMP build is broken because asm {...} syntax has been removed from latest toolchains

Douglas Mencken dougmencken at gmail.com
Sun Oct 21 12:32:55 CEST 2012


---------- Forwarded message ----------
From: Douglas Mencken <dougmencken at gmail.com>
Date: Sun, Oct 21, 2012 at 6:32 AM
Subject: Re: [gmp] [powerpc] GMP build is broken because asm {...}
syntax has been removed from latest toolchains
To: Torbjorn Granlund <tg at gmplib.org>


> What version of GCC comes without this support?

At least, current 4.8.0 checkout.

> I have not head of said segher before.  Does he make changes to the official GCC repository?

Segher Boessenkool can commit changes to official GCC repository. See also:
http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01015.html

> One should point out to him, and perhaps the GCC team, that this featue is in active use. Any non-trivial inline asm
> requires dependency on GCC internals. One basically cannot define anything except register operands without
> knowing the various magic letters.  See any asm macro in GMP's longlong.h.

I don't know all details, but these sed commands I mentioned gave me a
perfect GMP build, with all make check tests passed 100%.
Without them, fail is unavoidable.


More information about the gmp-bugs mailing list