Recent

Author Topic: Error 203 (heap overflow) running Lazarus on Arch Linux  (Read 9950 times)

MatiasR

  • New member
  • *
  • Posts: 8
Re: Error 203 (heap overflow) running Lazarus on Arch Linux
« Reply #15 on: September 24, 2016, 04:42:29 pm »
Do you have /etc/fpc.cfg or ~/.fpc.cfg? You should have that correctly configured to build Lazarus from source.

Yes, I have them both, but I can't tell if they're correctly configured.

This is the ~/.fpc.cfg file:  http://pastebin.com/vwq760jV
And this is the /etc/fpc.cfg file:  http://pastebin.com/fzYWyGiy

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Error 203 (heap overflow) running Lazarus on Arch Linux
« Reply #16 on: September 24, 2016, 05:16:14 pm »
Yes, I have them both, but I can't tell if they're correctly configured.
In this case, only ~/.fpc.cfg will be read. The correct configuration is a single -Fu that points to your fpc units directory, in this case:
-Fu/home/mati/fpc-3.0.0/lib/fpc/$fpcversion/units/$fpctarget/*
I don't know if that's correct on your machine, it should contain rtl + each individual packages directory, for which the * is for. Right below them, are the .ppu's and .o's. Other than that, everything else is wrong (unless you customize and you know what you customize and how to configure them).

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Error 203 (heap overflow) running Lazarus on Arch Linux
« Reply #17 on: September 24, 2016, 05:30:53 pm »

-Fu/home/mati/fpc-3.0.0/lib/fpc/$fpcversion/units/$fpctarget/*

What about just renaming ~/.fpc.cfg to see if make would then use /etc/fpc.cfg?


Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Error 203 (heap overflow) running Lazarus on Arch Linux
« Reply #18 on: September 24, 2016, 07:02:06 pm »
What about just renaming ~/.fpc.cfg to see if make would then use /etc/fpc.cfg?
Will need to check whether that file contents is correct either.

 

TinyPortal © 2005-2018