Cross compiling for ARM: incorrect fx_r_type (8) for fx_subsy != 0

Torbjorn Granlund tg at swox.com
Tue Apr 29 15:31:22 CEST 2008


"Daniel Ringwalt" <explodingpickle.org at explodingpickle.org> writes:

  I am trying to cross compile GMP for the iPhone (arm-apple-darwin),
  there is always this error during build:
  
    tmp-invert_limb.s:56:FATAL:Internal error: incorrect fx_r_type (8)
  for fx_subsy != 0 in fix_to_relocation_info()
  
It is good you get the assembler crash always, since non-deterministic
program behaviour is always annoying.

Apple has a tendency of following standards for relocations and object
file formats, and thus the GMP assembly code does not always work on
Apple systems.  Perhaps the assembler bug is triggered by unexpected
assembly code, perhaps not.

-- 
Torbjörn


More information about the gmp-bugs mailing list