I've now got a SPARC/Linux system permanently running in front of me which gives me a bit more incentive to work on this. I've got FPC 2.0.4 compiled from source and installed without significant problem, using this Lazarus 0.9.22 builds without significant problem (particularly with my parallel experience building for x86, that's largely why I did that).

Starting Lazarus again does nothing (with the exception described below) unexpected, everything I've tried from the menus works and the form editor works; using an externally-created project I'm able to compile a test which runs from outside the IDE.

There is however a major problem with the unit editor window in that any click on the client area (i.e. including the gutter but excluding the tabs and scrollbar) brings up an exception. Looking back through the list shows that I got to pretty much the same position last August, Mattias pointed me at this

-----8<-----
#0  0x00289478 in GTKAPIWIDGETCLIENT_DRAWCARET (CLIENT=0xbdbf18,
  CALLEDBYTIMER=false) at gtkwinapiwindow.pp:698

Please check if the line numbers are correct:

696:      if (WidgetStyle<>nil)
697:      and (Widget^.Window<>nil)
698:      and (Width>0)
696:      and (Height>0)

The Width is accessed some lines in front.
Maybe a compiler bug?
Add some writelns and find out what pointer exactly gives the SIGSEGV.
----->8-----

where the line numbers etc. still appear to be valid.

Enabling the internal debug output immediately brings up compilation errors, suggesting that it's not been checked for some while. Now I'm quite happy getting my hands dirty and helping to fix this, but it would help enormously if anybody was aware of any other attempts to tackle this problem: FPC appears to be OK and Lazarus is so very close to working that I'd be surprised if this was the result of a compiler problem.

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

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

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to