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

Torbjorn Granlund tg at gmplib.org
Sun Oct 21 12:45:25 CEST 2012

Douglas Mencken <dougmencken at gmail.com> writes:

  > What version of GCC comes without this support?
  At least, current 4.8.0 checkout.
As far as I can tell, there is not yet any release "4.8.0".

  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.

Sure, if they de-support the currently used asm syntax, then GMP and GCC
will be incompatible on PowerPC.  I am sure many programs out there will
be incompatible with GCC 4.8 if this GCC change prevails.

One might argue that the current GCC inline asm feature is unfortunate,
as it exposes GCC internals.  That in turn forces a certain level of
conservatism on GCC development.


More information about the gmp-bugs mailing list