[fpc-pascal] Warning for anybody else using Linux Mint Debian ('Betsy')
brian at meadows.pair.com
Wed Mar 8 09:19:20 CET 2017
On 03/07/2017 07:10 PM, Mattias Gaertner wrote:
>> brian <brian at meadows.pair.com> hat am 8. März 2017 um 00:16 geschrieben:
>>> /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
>> Trying to build a simple 'Hello, World' from the 3.0.2 FP IDE also
>> failed with a linker error.
>> There are reports of this error "unrecognized relocation (0x2a) in
>> section `.text'" with the *testing* version of plain Debian, but Betsy
>> is based on Jessie (stable), NOT testing, and the library versions on
>> this system *are* the ones from stable, I checked the versions.
>> Downgrading to FPC 3.0.0 and Lazarus 1.6.2-1 means that everything
>> works again as expected.
>> I don't pretend to understand what has happened to cause this error on
>> a system based on stable rather than testing, but as far as users with
>> my configuration are concerned, there appears to be a barrier to
>> upgrading, at least at the moment.
> You are not alone:
Thank you for the pointer to the confirmation. I'd not thought it
necessary to check whether the FPC .debs which came with Lazarus 1.6.4
were official ones or not. From what is said in the comments to that
bug, that was obviously my mistake. Lesson learned!
More information about the fpc-pascal