Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
tall a 32-bit C library. It's one of the things that actually get build, even on 64-bit systems. I'll just install that, second. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
On Mon, May 29, 2017 at 02:14:26PM +0200, John Paul Adrian Glaubitz wrote: > On Mon, May 29, 2017 at 01:09:05PM +0200, John Paul Adrian Glaubitz wrote: > > I tried adding "-32" like this: > > Even passing "-Av8plus" does not help. So, the options from > co

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
the patches have to apply against that version. -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 _

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
On Mon, May 29, 2017 at 01:09:05PM +0200, John Paul Adrian Glaubitz wrote: > I tried adding "-32" like this: Even passing "-Av8plus" does not help. So, the options from compiler/sparc/cpugas.pas are definitely not passed to the assembler. Adrian -- .''`. Jo

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
ocations probably come from the Makefiles, not ppcsparc itself. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 954

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
k these > days these startup codes could be written in Pascal anyway, but for Sparc > they're not. But isn't the Makefile generated from fpcmake? :-O Let me know if you need access to a porterbox. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
pubkey. Great, thanks. -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ fpc-devel m

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
le, I got a 32bit > FP executable, crosscompiled. Maybe something on the buildbox will reveal, > why it doesn't work there. Nope. Still doesn't work here. Maybe my brain is just messing things up in today's heat here in Berlin :O. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian De

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
ibanl-2.24.so root@deb4g:~# Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
rt at all. I can even ask one of Oracle's toolchain SPARC team members to confirm my assessment. In fact, I will just do this now. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
een those > versions. :) Not surprising. SPARCv9 has been around since the mid-90ies. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
n't support anything but 32 bits for SPARC anyway and after looking at the rtl/linux/Makefile.fpc, you already do this for mips32. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 6

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
wn fpc.cfg resides. The packaging is a bit confusing. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 __

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
be nice > indeed. We have a SPARC-T5 with lots of RAM and even more compute power. The machine is much faster than even most x86_64 machines ;). Just drop me a private mail with your SSH public key when you want to have an account. Adrian -- .''`. John Paul Adrian Glaubitz : :' :

[fpc-devel] Bootstrapping for ppc64el

2017-05-29 Thread John Paul Adrian Glaubitz
), statically linked, stripped glaubitz@plummer:~$ Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
ernals. I also don't think it will be that hard given the fact that the important part, a code generator for SPARCv9, is already in place. I can also provide a machine that could be used for running the testsuite on Linux/sparc64. We already provide such a machine for the QEMU upstream develop

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
On Mon, May 29, 2017 at 10:37:42AM +0200, John Paul Adrian Glaubitz wrote: > > Although we still seem to have a stable 3.0.2 release. Can you try > > if the stable release built by us works on your system? Any binary > > from this. > > > > ftp://ftp.freepascal.org/

[fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
d access. It may just be a matter of a small patch to fix this issue though. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 29

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
breaks 32bit SPARC and/or some > distros/older versions of binutils? Otherwise I can add it > permanently, it's no biggie. You're already doing that for the linker, using the GNU option syntax. So, I don't think the code becomes any less compatible with that change. Adrian -- .''`. John P

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread John Paul Adrian Glaubitz
On Mon, May 29, 2017 at 12:46:57PM +0200, John Paul Adrian Glaubitz wrote: > On Mon, May 29, 2017 at 11:53:26AM +0200, Karoly Balogh (Charlie/SGR) wrote: > > > Running the file utility on one of the object files shows that the > > > assembler did not generate 32-bit code.

Re: [fpc-devel] Bootstrapping for ppc64el

2017-05-29 Thread John Paul Adrian Glaubitz
On 05/29/2017 10:34 PM, John Paul Adrian Glaubitz wrote: > Building without -dFPC_LITTLE_ENDIAN produces a binary which doesn't work on > an actual ppc64el machine: Aha. Passing "-Cb-" works and yields a little-endian binary. -- .''`. John Paul Adrian Glaubitz : :' : Debian D