Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2022-04

Internal error building RTL

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hairy Pixels

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" not used Assembling (pipe) ../../rtl/units/x86_64-darwin/system.s /Users/ryanjoseph/Developer/fpc-gitlab/rtl/inc/genmath.inc:898:7: error: Internal error 2014051001 error: Compilation aborted
make[1]: *** [system.ppu] Error 1
make: *** [darwin_all] Error 2

Regards,
Ryan Joseph

Reply by email

J. Gareth Moreton
to Hairy Pixels

That's a new one... an unknown or unsupported tai_realconst(hp).realtyp value.  Did I break things again?!

Gareth aka. Kit

Hairy Pixels wrote 17 lines
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" not used Assembling (pipe) ../../rtl/units/x86_64-darwin/system.s /Users/ryanjoseph/Developer/fpc-gitlab/rtl/inc/genmath.inc:898:7: error: Internal error 2014051001 error: Compilation aborted make[1]: *** [system.ppu] Error 1 make: *** [darwin_all] Error 2 Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

Hairy Pixels
to J. Gareth Moreton

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.

Show quoted text 8 lines
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).realtyp value. Did I break things again?! Gareth aka. Kit On 26/04/2022 02:32, Hairy Pixels via fpc-devel wrote:

Regards,
Ryan Joseph

Reply by email

J. Gareth Moreton
to Hairy Pixels

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

Hairy Pixels wrote 17 lines
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).realtyp value. Did I break things again?! > > Gareth aka. Kit > > On 26/04/2022 02:32, Hairy Pixels via fpc-devel wrote: > Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

Hairy Pixels
to J. Gareth Moreton
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 script for the architecture since I change from x86_64-darwin to aarch64 the internal error seems to have gone away. I don’t understand why but this may be safe to ignore.

Regards,
Ryan Joseph

Reply by email

J. Gareth Moreton
to Hairy Pixels

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 greatly increase the likelihood of triggering the bug) -
https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/198 - it might be worth seeing if the internal error still happens after it's approved and merged.

Gareth aka. Kit

Hairy Pixels wrote 13 lines
> 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 script for the architecture since I change from x86_64-darwin to aarch64 the internal error seems to have gone away. I don’t understand why but this may be safe to ignore. Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email