Re: [fpc-devel] Internal error building RTL

2022-04-26 Thread J. Gareth Moreton via fpc-devel
It would be best to keep a note of it though.  An internal error, no matter how messed up your build script or source files are, is an automatic bug, since they should never be triggered. In the meantime I found a bug in cgobj.pas that I'm fixing as part of my CMOV upgrades (since the upgrades

Re: [fpc-devel] Internal error building RTL

2022-04-26 Thread Hairy Pixels via fpc-devel
> On Apr 26, 2022, at 8:58 AM, J. Gareth Moreton via fpc-devel > wrote: > > It's just a "make all" in the RTL directory on x86_64-darwin, right? I can > only do x86_64-linux, which I hope is nearly the same, but I'll let you know. Ok I think this was because I was using the wrong build scri

Re: [fpc-devel] Internal error building RTL

2022-04-25 Thread J. Gareth Moreton via fpc-devel
It's just a "make all" in the RTL directory on x86_64-darwin, right?  I can only do x86_64-linux, which I hope is nearly the same, but I'll let you know. Gareth aka. Kit On 26/04/2022 02:53, Hairy Pixels via fpc-devel wrote: Can you replicate it? This may be the first time I’ve built from the

Re: [fpc-devel] Internal error building RTL

2022-04-25 Thread Hairy Pixels via fpc-devel
Can you replicate it? This may be the first time I’ve built from the gitlab branch on my new M1 Mac and something may be broken in my build system. > On Apr 26, 2022, at 8:42 AM, J. Gareth Moreton via fpc-devel > wrote: > > That's a new one... an unknown or unsupported tai_realconst(hp).realty

Re: [fpc-devel] Internal error building RTL

2022-04-25 Thread J. Gareth Moreton via fpc-devel
That's a new one... an unknown or unsupported tai_realconst(hp).realtyp value.  Did I break things again?! Gareth aka. Kit On 26/04/2022 02:32, Hairy Pixels via fpc-devel wrote: I’m doing a make all in the RTL and getting this internal error. Can anyone else replicate this? /Users/ryanjoseph

[fpc-devel] Internal error building RTL

2022-04-25 Thread Hairy Pixels via fpc-devel
I’m doing a make all in the RTL and getting this internal error. Can anyone else replicate this? /Users/ryanjoseph/Developer/fpc-gitlab/rtl/inc/genmath.inc:77:7: warning: Local variable "one" not used /Users/ryanjoseph/Developer/fpc-gitlab/rtl/inc/genmath.inc:78:7: warning: Local variable "zero