[Lazarus] Lazarus trunk (r49079) does not compile on MAC

Torsten Bonde Christiansen tc at epidata.info
Mon May 18 14:41:49 CEST 2015


On 2015-05-18 14:39, zeljko wrote:
> On 05/18/2015 02:26 PM, Martin Frb wrote:
>> On 18/05/2015 09:10, zeljko wrote:
>>> On 05/18/2015 09:58 AM, Torsten Bonde Christiansen wrote:
>>>> lib/i386-darwin/lazlistclasses.s:12244:invalid character '_' in 
>>>> mnemonic
>>>> lib/i386-darwin/lazlistclasses.s:12354:invalid character '_' in 
>>>> mnemonic
>>>> lib/i386-darwin/lazlistclasses.s:12384:invalid character '_' in 
>>>> mnemonic
>>>> lib/i386-darwin/lazlistclasses.s:12484:invalid character '_' in 
>>>> mnemonic
>>>> lib/i386-darwin/lazlistclasses.s:12494:invalid character '_' in 
>>>> mnemonic
>>>> lib/i386-darwin/lazlistclasses.s:12945:invalid character '_' in 
>>>> mnemonic
>>>> lib/i386-darwin/lazlistclasses.s:12951:invalid character '_' in 
>>>> mnemonic
>>>> /Users/torsten/FreePascal/lazarus/components/lazutils/lazlistclasses.pas(690,33) 
>>>>
>>>>
>>>> Error: (9007) Error while assembling exitcode 1
>>>> /Users/torsten/FreePascal/lazarus/components/lazutils/lazlistclasses.pas(690,33) 
>>>>
>>>>
>>>> Fatal: (10026) There were 2 errors compiling module, stopping
>>>> Fatal: (1018) Compilation aborted
>>>> make[1]: *** [lazutils.ppu] Error 1
>>>> make: *** [lazutils] Error 2
>>>
>>> It does not compile on linux too. Reason: r49054 and r49054 by Martin.
>>
>> There is a (one) problem, if the "debug type" option in the package is
>> set to "stabs" (or default). Try changing that. The above does not look
>> like that though.
>
> I did this:
> 1.svn revert -R .
> 2.make clean
> 3.svn update
> 4.make bigide
>
>
> fpc-2.6.4 i386
>
> So everything is default.

I think the Martin is right about the Stabs. I can compile with the 
following on my 64-bit linux:

make clean all CPU_TARGET=i386 OPT="-gw"

but not with

make clean all CPU_TARGET=i386

I guess that Lazarus defaults to stabs.

-Torsten.




More information about the Lazarus mailing list