[Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64

brian brian666 at hughes.net
Sun Mar 5 18:53:37 CET 2017


On 03/05/2017 11:59 AM, Luca Olivetti via Lazarus wrote:
> El 05/03/17 a les 15:15, brian666--- via Lazarus ha escrit:
> 
>>
>> The error is shown as 'Generic error while linking'. I don't think the
>> source line is relevant, as it tags the 'end.' in lazarus.pp. The exit
>> code returned is 512.
> 
> Right click on the messages window, copy -> copy all/original messages
> to clipboard
> Then open a text editor and paste what you just copied, so you can see
> the exact linker error.
> 
> Bye

Thank you, that found more details of the problem, but I'm still at a
loss how to fix it. I think this is the relevant section of the
messages...


> 
> 
> /usr/bin/ld: /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/cprt0.o: unrecognized relocation (0x2a) in section `.text'
> /usr/bin/ld: final link failed: Bad value
> /usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Error: (9013) Error while linking
> /usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Fatal: (10026) There were 1 errors compiling module, stopping
> Fatal: (1018) Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[1]: *** [idepkg] Error 2
> make: *** [idepkg] Error 2
> Error: /usr/bin/ppcx64 returned an error exitcode
> Makefile:4004: recipe for target 'lazarus' failed
> make[2]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
> Makefile:4430: recipe for target 'idepkg' failed
> make[1]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
> Makefile:3074: recipe for target 'idepkg' failed
> make: Leaving directory '/usr/share/lazarus/1.6.4'




More information about the Lazarus mailing list