Linking speed with large amount of debugging info (IO speed)

Andrew_Pinski@PlayStation.Sony.Com Andrew_Pinski@PlayStation.Sony.Com
Mon Jun 11 21:35:00 GMT 2007


Hi,
  I have been looking at linking speeds and where there are a large amount 
of debugging info present in a many different files, I have noticed that 
linking time is slow.  I investigated a little further and noticed that 
almost all of the time is spent doing IO calls.  I have been told by some 
of my colleges that they have a non GPL linker (which is compatiable with 
elf linking) and does not suffer this slow down.  Does anyone know what 
could be causing this slow down?  Could a non standard linker script 
causing this huge slow down or is there something I am just missing?

The difference between linking with debugging and without is 3 minutes vs 
30 seconds which seems a bit high.

This is with binutils 2.17 and 2.16.1 for a modified powerpc64-linux 
target.

Thanks,
Andrew Pinski



More information about the Binutils mailing list