bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc -profile never finishes linking


From: Hans-Bernhard Broeker
Subject: Re: gcc -profile never finishes linking
Date: 24 Apr 2001 13:43:49 GMT

Mike Castle <address@hidden> wrote:

> I'm using a homegrown linux system.

> gcc 2.95.3
> binutils 2.11, 010423, and 2.11.90.0.5
> glibc 2.2.2
> Kernel 2.4.2


> I am trying to build GNU Queue 1.30.1 with gcc -profile.

> However, the process never finishes, it's stuck in ld.

> I could see where I might have a corrupted file that's being read in, but
> I'm not sure how to figure out which one is broken.

Add -Wl,-v to the linking flags, and maybe some other 'ld' options to
make ld talk about what it's doing.

For a short-term solution, you may want to try -pg instead of
-profile.  -profile tries to use profiling versions of libc and libm
--- those have a higher likelihood of being broken than the stock
versions.




-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]