Recent

Author Topic: Build lazarus os OSX PPC, some problems.  (Read 3521 times)

effed3s

  • Newbie
  • Posts: 3
Build lazarus os OSX PPC, some problems.
« on: March 11, 2017, 06:26:43 pm »
Hello
  {first post here, hello to all lazarus-user|dev}

On a PowerMac G5, osx 10.5.8 i build some version of Lazarus:

Lazarus-1.6.2 + fpc 3.0.2 : build ok out of the box, ad seems funcional, compile ad run fine.

Lazarus-1.4.2 and 1.4.4 + fpc-2.6.4 builds ok, and compile a simple test program, but show both a similar problem: selecting Tool->Option both gave error:

lazarus-1.4.2:

TApplication.HandleException Error reading ComponentsListView.Items.LazData: Stream read error
  Stack trace:
  $00111B80
  $00110824
  $00102FEC
  $002C4778  TCONTROL__READSTATE,  line 3657 of /Users/stefano/build/lazarus-1.4.2/lcl/controls.pp
  $0011044C
  $001108E4
  $00102FEC
  $002C4778  TCONTROL__READSTATE,  line 3657 of /Users/stefano/build/lazarus-1.4.2/lcl/controls.pp
  $0011044C
  $001108E4
  $00102FEC
  $002C4778  TCONTROL__READSTATE,  line 3657 of /Users/stefano/build/lazarus-1.4.2/lcl/controls.pp
  $0011296C
  $001F1618  INITCOMPONENT,  line 3131 of /Users/stefano/build/lazarus-1.4.2/lcl/lresources.pp
  $001F13E8  INITLAZRESOURCECOMPONENT,  line 3158 of /Users/stefano/build/lazarus-1.4.2/lcl/lresources.pp
  $001E7390  INITRESOURCECOMPONENT,  line 800 of /Users/stefano/build/lazarus-1.4.2/lcl/lresources.pp
  $00108A10
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585

---------------------------------------------------------------------------------
lazarus-1.4.4:

TApplication.HandleException Error reading ComponentsListView.Items.LazData: Stream read error
  Stack trace:
  $00112A70
  $00111714
  $00103EDC
  $002C5798
  $0011133C
  $001117D4
  $00103EDC
  $002C5798
  $0011133C
  $001117D4
  $00103EDC
  $002C5798
  $0011385C
  $001F2508
  $001F22D8
  $001E8280
  $00109900

Any idea?
Thanks in advance.
Greetings




Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1058
Re: Build lazarus os OSX PPC, some problems.
« Reply #1 on: March 11, 2017, 10:03:33 pm »
That suggests that there was an error regarding handling big endian systems in the LCL of Lazarus 1.4.x, or in FPC's component streaming.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: Build lazarus os OSX PPC, some problems.
« Reply #2 on: March 12, 2017, 12:18:21 am »
Interestingly, this old issue related to endianness seems to have been resolved in Lazarus 1.6.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

 

TinyPortal © 2005-2018