Re: [fpc-devel] Linux compilation question

2018-12-01 Thread J. Gareth Moreton
I admit I do wonder how hard maintenance will be.  True, there is some more looking ahead, but it's not really any more complex than what it is already (e.g. take a look at OptPass1MOV in the trunk). When it comes to debugging the peephole optimiser, one thing I did was write a function that

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread J. Gareth Moreton
Aw, okay.  Well, post peephole is still a separate stage, since that prevents a lot of other optimisations (e.g. changing mov 0,%reg into xor %reg,%reg). I'll start breaking it up into smaller chunks. Gareth aka. Kit On Sat 01/12/18 19:54 , Florian Klämpfl flor...@freepascal.org sent: Am

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread Florian Klämpfl
Am 01.12.2018 um 17:28 schrieb J. Gareth Moreton: > Thanks Bart, > > I managed to get it to build after reinstalling the FPC compiler 3.0.4 - it > seems it was getting confused between two > different versions on my virtual machine - but after all that it does look > like a bug in my new code. 

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread J. Gareth Moreton
Thanks Bart, I managed to get it to build after reinstalling the FPC compiler 3.0.4 - it seems it was getting confused between two different versions on my virtual machine - but after all that it does look like a bug in my new code.  I've managed to get it to compile from a clean build and with

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread Bart
On Fri, Nov 30, 2018 at 3:41 PM J. Gareth Moreton wrote: > /usr/bin/diff ppc3 ppcx64 > Binary files ppc3 and ppcx64 differ > > And then it drops out. I've tried the usual things of doing a "make > distclean", but am I missing something obvious? Preliminary Linux testing is > the only thing

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread J. Gareth Moreton
I must have something configured incorrectly - I'm still getting the error.  Apologies for bugging everyone. Gareth aka. Kit On Sat 01/12/18 06:14 , "Christo Crause" christo.cra...@gmail.com sent: On Sat, 1 Dec 2018, 01:37 J. Gareth Moreton ___

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread J. Gareth Moreton
The only thing I've managed to run so far is the standard "make all". What's mysterious though is that if I grab a clean copy from the trunk, it builds fine. However, if I do "make clean" first, that error appears. Does anyone else get this? (I'm using Ubuntu and compiling on x86_64) I

Re: [fpc-devel] Linux compilation question

2018-12-01 Thread Florian Klämpfl
Am 30.11.2018 um 14:39 schrieb J. Gareth Moreton: > Hi everyone, > > I have a little question.  I'm having problems compiling fpc under > x86_64-linux.  At first I thought it was a bug in one > of my changes, but it seems to occur on the trunk as well.  After > successfully compiling the

Re: [fpc-devel] Linux compilation question

2018-11-30 Thread Christo Crause
On Sat, 1 Dec 2018, 01:37 J. Gareth Moreton Actually still having lots of problems here. Can anyone give me some > advice? Admittedly my skills with Linux are lacking, but I would like to > get it to build on x86_64-linux before I submit my patch to everyone. > > What I've discovered so far is

Re: [fpc-devel] Linux compilation question

2018-11-30 Thread J. Gareth Moreton
Actually still having lots of problems here.  Can anyone give me some advice?  Admittedly my skills with Linux are lacking, but I would like to get it to build on x86_64-linux before I submit my patch to everyone. What I've discovered so far is that if I pull a clean copy from the SVN trunk, it

Re: [fpc-devel] Linux compilation question

2018-11-30 Thread J. Gareth Moreton
Never mind.  Got it working after I got a clean copy ("svn update" then "svn revert -R .") - now the adventure continues! Gareth aka. Kit On Fri 30/11/18 13:39 , "J. Gareth Moreton" gar...@moreton-family.com sent: Hi everyone, I have a little question.  I'm having problems compiling fpc

[fpc-devel] Linux compilation question

2018-11-30 Thread J. Gareth Moreton
Hi everyone, I have a little question.  I'm having problems compiling fpc under x86_64-linux.  At first I thought it was a bug in one of my changes, but it seems to occur on the trunk as well.  After successfully compiling the compiler a few times, the following happens: /usr/bin/diff ppc3