Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Slow link time: (5 Items)
   
Slow link time  
When using gcc 3.3.5 link time is 1.43sec, executable is 12Meg ( debug version ) and map file is 800k

When using gcc 4.2.1 + bin utils 2.17 link time is *10 sec*,executable is 8.5Meg and map file is 2.5M.

It's the time difference that worries me ;-)
Re: Slow link time  
Ping

> 
> When using gcc 3.3.5 link time is 1.43sec, executable is 12Meg ( debug version
>  ) and map file is 800k
> 
> When using gcc 4.2.1 + bin utils 2.17 link time is *10 sec*,executable is 8.
> 5Meg and map file is 2.5M.
> 
> It's the time difference that worries me ;-)


Re: Slow link time  
> 
> When using gcc 3.3.5 link time is 1.43sec, executable is 12Meg ( debug version
>  ) and map file is 800k
> 
> When using gcc 4.2.1 + bin utils 2.17 link time is *10 sec*,executable is 8.
> 5Meg and map file is 2.5M.
> 
> It's the time difference that worries me ;-)

Is this a single invocation of the linker? Which host/target is this for? Can you provide a test case?

Regards,

Ryan Mansfield

Re: Slow link time  
> > 
> > When using gcc 3.3.5 link time is 1.43sec, executable is 12Meg ( debug 
> version
> >  ) and map file is 800k
> > 
> > When using gcc 4.2.1 + bin utils 2.17 link time is *10 sec*,executable is 8.
> 
> > 5Meg and map file is 2.5M.
> > 
> > It's the time difference that worries me ;-)
> 
> Is this a single invocation of the linker? 

I ran this test multiple time, erasing the executable only,

> Which host/target is this for?

QNX6 self host

> Can you provide a test case?

Challenging but I'll see what I can do.

> 
> Regards,
> 
> Ryan Mansfield
> 


Re: Slow link time  
Can you try the attached 2.18 x86 linker to see if there is any difference in performance?

Regards,

Ryan Mansfield
Attachment: Text ntox86-ld-2.18 672.82 KB