Recent

Author Topic: Re-compiling Lazarus hangs at "Linking"  (Read 7210 times)

edvard

  • Full Member
  • ***
  • Posts: 172
Re: Re-compiling Lazarus hangs at "Linking"
« Reply #15 on: February 11, 2016, 02:15:04 am »
...
Put -XS in the option box (note that it's case sensitive)

Did that, no change.

Probably I am wrong, but just in case.

Linking deals extensively with the HDD. If the drive started to take longer time for usual activities, then it is time to consider preparing a backup of your important data.

What's interesting is when it hangs on linking, the HD light isn't even flashing, so there's no disk activity to tip me off that anything is even happening, let alone disk malfunction.  Looking at top, lazarus is taking up more memory than usual, but not more than the usual suspects (chromium, thunderbird, etc).

I installed Sparky linux (debian testing based) and there is a serious problem while linking, is not Lazarus. It happens also compiling FreePascal and every project. Linking takes very long time (linking lazarus takes too much time).

All is pointing to Binutils 2.26. I don't know if this happen only in Debian Testing or also other Linux distros using Binutils 2.26 suffer this issue.

Interesting... apt-get updating now... Well, looky there, binutils is due for an update to 2.26-3; lets see what happens...

After last Debian testing upgrade: Binutils 2.26-2 to 2.26-3, linking is fast again so don't panic :)
...

CONFIRMED, all linking stages took anywhere from 1 -30 seconds.   :o
Debian 'Testing' Binutils changelog is here:
http://metadata.ftp-master.debian.org/changelogs/main/b/binutils/binutils_2.26-3_changelog
looks like ld got a bugfix, so that was probably the problem; thanks for everyone's help!
« Last Edit: February 11, 2016, 02:16:38 am by edvard »
All children left unattended will be given a mocha and a puppy.

Arch (though I may go back to Debian)| FreePascal 3.2.2 + Lazarus 2.2.4, GTK2+ and Qt.  Mostly Qt...

sunjob

  • New Member
  • *
  • Posts: 27
Re: Re-compiling Lazarus hangs at "Linking"
« Reply #16 on: June 14, 2020, 12:23:36 pm »
I confirm, updating packages - solves the problem of "long link"

slackware-14.2 x64, source from slackware-14.2+

Code: [Select]
binutils-2.26
-->
binutils-2.33.1

oprofile-1.1.0
-->
oprofile-1.3.0

p.s. but, after reboot system is ... the system has stopped working normally
« Last Edit: July 07, 2020, 01:15:05 am by sunjob »

 

TinyPortal © 2005-2018