Forum > macOS / Mac OS X

(Solved) Lazarus trunk build error

(1/1)

zoltanleo:
Hi folks

I'm having a trouble then I'm trying to build Lazarus trunk from source by fpcupdeluxe (I'm use hackintosh x86_64 on vmware). I'm getting the following error:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision/hash: main-0-gbcda2c2047fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision/hash: main-0-gf73bf85730fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.3.0fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 3.3.1 <skiped> (3104) Compiling ./cocoa/cocoadatepicker.pas/Users/admin/laz_dev_2/lazarus/lcl/interfaces/./cocoa/cocoaint.pas(550,100) Error: (1026) Compilation raised exception internally(3104) Compiling fpdbgdisasx86.ppAn unhandled exception occurred at $000000010B97D83C:EAccessViolation: Access violation  $000000010B97D83C  $000000010BA0DEC2Fatal: (1018) Compilation abortedError: /Users/admin/laz_dev_2/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcodeError: (lazarus) Compile package LCL 2.3: stopped with exit code 1Error: (lazarus) Compile package fpdebug 1.0: terminatedError: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.make: *** [useride] Error 2fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned exit status #512
Can anyone help me?

dseligo:
I had similar problem (with fpcupdeluxe, but also with rebuilding Lazarus) in virtual machines when using too little memory.
I haven't work with Vmware in a long time so I can't tell you exactly what to do in it, but try to increase memory available to virtual machine.

Jonas Maebe:
Try updating to the latest main sources. I fixed a compiler crash in https://gitlab.com/freepascal.org/fpc/source/-/commit/efbf5eaa01649749fc7f8adee03b63db407ec2a3 related to handling Objective-C protocols.

zoltanleo:

--- Quote from: Jonas Maebe on September 22, 2022, 08:42:32 pm ---Try updating to the latest main sources. I fixed a compiler crash in https://gitlab.com/freepascal.org/fpc/source/-/commit/efbf5eaa01649749fc7f8adee03b63db407ec2a3 related to handling Objective-C protocols.

--- End quote ---
So the problem is solved.  Thanks a lot. :)

Navigation

[0] Message Index

Go to full version