[Lazarus] Build of Lazarus fails on Mac with STABS error (perhaps because of MacOSX 10.11??)

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 1 20:45:54 CEST 2015


On Wed, 30 Sep 2015 15:22:31 +0200
Michael Ring <mail at michael-ring.org> wrote:

> Two or three weeks ago I switched my main computer to OSX 10.11, now I 
> tried to re-compile Lazarus but compilation failed. I compile Lazarus 
> quite regulary, so my guess is that this is perhaps related to OSX 10.11 
> as this problem is new to me and I have not seen others talking about an 
> error like this in the forum (besides a thread in may, but this seems at 
> least partially unrelated as I was able to compile lazarus during the 
> whole summer.
> 
> I was able to make the main compile work again by adding -gw explicitly 
> to OPT:
>[...]
> <stdin>:5:9: error: unsupported directive '.stabs'
>          .stabs "dbgintfbasetypes.pas",100,0,0,Lf1
>[...]                 ^
> Any ideas how to solve this?

I changed the makefiles, IDE and lazbuild to use -gw instead of -g on
darwin.

Please test.

Mattias




More information about the Lazarus mailing list