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

brian brian666 at hughes.net
Mon Mar 6 13:14:31 CET 2017


On 03/06/2017 04:31 AM, Mark Morgan Lloyd via Lazarus wrote:
> On 06/03/17 00:30, brian via Lazarus wrote:
>> On 03/05/2017 10:35 AM, Mark Morgan Lloyd via Lazarus wrote:> On
>> 05/03/17 15:00, brian via Lazarus wrote:>> On 03/05/2017 09:15 AM,
>> brian666--- via Lazarus wrote:> Hi all,> >>> Just upgraded to the
>> AMD 64 versions of FPC 3.02 and Lazarus 1.6.4>> as> downloaded from
>> SourceForge, I upgraded an instance of 1.6.2>> (from the> same
>> source) which was working just fine. I'm running>> 64-bit Linux>
>> Mint 'Betsy', i.e. the Debian-based version of Mint,>> on a AMD
>> Phenom> x2. The problem is that rebuilding the IDE doesn't>> seem to
>> work.> > 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.> > Any ideas,>>
>> please?>>> P.S. Same error when trying to build a 'Hello, World'
>> simple program.> > I built on amd64 using pukka Debian a couple of
>> days ago with no> problems.  GNU ld (GNU Binutils for Debian) 2.25>
> 
>> Mark, could you please check your version of libc6?
> 
> Like this?
> 
> $ sudo ldconfig -v |grep libc
> ..
>         libc.so.6 -> libc-2.19.so
> 
> ar, as and ld all at 2.25.
> 
> $ uname -a
> Linux pye-dev-04 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30)
> x86_64 GNU/Linux
> 
> That should be an ablutions-standard Debian "Jessie". In the interest
> of full disclosure it's had deb-multimedia enabled to install
> something like Flash at some point, but apart from that I'd expect no
> surprises.
> 

Thanks. The bug reports I read (pointed to by Luca) suggested that it
was the version of libc6 on the system which indicated the problem
would occur, but the suggestion was that it has to be the version in
testing (2.21, I think). You have exactly the same version as I do,
which is what I would expect, LMDE is explicitly said to be based on
Jessie. I think it's time to put a vanilla Jessie in a VM and set up
Lazarus and FPC in that (takes a day or so thanks to this @#$%^*&
satellite internet!) - unless someone else surprises me and comes up
with a fix. I recall it being some kind of problem with a much earlier
version of LMDE and Lazarus/FPC which drove me from Mint to Debian in
the first place. I don't know how they do it... :(


Brian.


More information about the Lazarus mailing list