[Lazarus] Building and running Lazarus natively on various architectures

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Oct 18 09:42:51 CEST 2010


Mark Morgan Lloyd wrote:

>> OK. I'll apply Jonas's fix and recompile like that. I may be some time.
> 
> Using the modified 2.4.0 Lazarus builds (make all) on armel without 
> problems. However I still get a failure during exit that I don't believe 
> I've seen on other architectures:
> 
> TMainIDE.ParseCmdLineOptions:
>   PrimaryConfigPath="/home/markMLl/.lazarus"
>   SecondaryConfigPath="/etc/lazarus"
> NOTE: miscellaneous options file not found - using defaults
> TMainIDE.DoLoadLFM Creating designer for hidden component of 
> /home/markMLl/unit1.pas
> TMainIDE.DoOpenProjectFile Form1:TForm1 TDesigner
> TApplication.HandleException Access violation
>   Stack trace:
>   $005D3AF0  SEARCH,  line 4407 of project.pp
>   $005D36F8  TPROJECT__UPDATEUNITCOMPONENTDEPENDENCIES,  line 4485 of 
> project.pp
>   $00082BA8  TMAINIDE__UNITCOMPONENTISUSED,  line 7074 of main.pp
>   $00082568  TMAINIDE__CLOSEUNITCOMPONENT,  line 6948 of main.pp
>   $00087E78  TMAINIDE__DOCLOSEEDITORFILE,  line 8323 of main.pp
>   $0008E57C  TMAINIDE__DOCLOSEPROJECT,  line 9831 of main.pp
>   $000694D4  TMAINIDE__MAINIDEFORMCLOSEQUERY,  line 1720 of main.pp
>   $00092134  TMAINIDE__QUITIDE,  line 10666 of main.pp
>   $00072F0C  TMAINIDE__MNUQUITCLICKED,  line 3428 of main.pp
>   $005AB748  TIDEMENUITEM__MENUITEMCLICK,  line 551 of menuintf.pas
>   $005AF8E0  TIDEMENUCOMMAND__MENUITEMCLICK,  line 1616 of menuintf.pas
>   $001FA534  TMENUITEM__CLICK,  line 75 of ./include/menuitem.inc
>   $001FAD6C  TMENUITEM__DOCLICKED,  line 269 of ./include/menuitem.inc
>   $00034898  TOBJECT__DISPATCH,  line 465 of 
> /usr/local/src/fpc/fpcbuild-2.4.0/fpcsrc/rtl/inc/objpas.inc
>   $002D915C  DELIVERMESSAGE,  line 112 of lclmessageglue.pas
>   $002A8944  DELIVERMESSAGE,  line 3516 of gtk2proc.inc
>   $0033FDD0  GTK2MENUITEMACTIVATE,  line 138 of gtk2wsmenus.pp
> WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the 
> component is processing an event?
> [TMainIDE.Destroy] A
> [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
> [TMainIDE.Destroy] END
> 
> I've not tried building a significant project yet. As noted before this 
> is on a unit with extremely limited RAM, it's using swap heavily so 
> there's scope for race conditions etc.
> 
> I find that I only get symbols on the backtrace (sent by Lazarus to 
> stdout) if run in the directory with the lazarus binary 
> (/usr/local/share/lazarus-trunk), I've not tried using gdb.
> 
> Any comments would be appreciated, otherwise I'll try a "make bigide" at 
> the end of the day.

"make bigide" is OK on Debian armel, but I still get an exception on 
entry or when opening a project similar to the above. lazbuild is OK.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list