[fpc-devel] Porting fpc to linux-sparc64

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun May 28 23:06:57 CEST 2017


Hi!

I'm one of Debian's sparc64 porters and we're currently in the process of
getting the sparc64 port back in shape so it can part of the official release,
superceding Debian's old sparc port.

Naturally, I was trying to bootstrap fpc for Debian/sparc64. However, I noticed
that - despite supporting the SPARCV9 target - fpc is tied to 32-bit SPARC
only.

When trying to cross-build fpc for sparc64, I ran into linker issues. I was
able to resolve these when changing the ELF format from 32 to 64 bits in
compiler/system/t_linux.pas and changing the dynamic loader path from
/lib/ld-linux.so.2 to /lib64/ld-linux.so.2. However, trying to run these
binaries on an actual sparc64 box running Debian unstable results in bus errors.

Thus, I was wondering whether there are still people around who care for the
SPARC port of fpc and who could help me. We have very fast sparc64 porterboxes
available running Debian unstable and I'd be happy to create accounts on these
machines for anyone who wants to help.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the fpc-devel mailing list