[Lazarus] Error when rebuilding the IDE in Lazarus 1.6.4, AMD64
Luca Olivetti
luca at wetron.es
Sun Mar 5 19:17:34 CET 2017
El 05/03/17 a les 18:53, brian via Lazarus ha escrit:
> 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...
I don't know how to fix it either, but try searching google for the
message "unrecognized relocation (0x2a)": there are a couple of bug
reports against ubuntu and debian and maybe they apply to your distribution.
>
>
>>
>>
>> /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'
>
>
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the Lazarus
mailing list