Only a "-" in "top" column WCHAN since downgrade to gcc 4.1.2
Wolf Canis wrote:
> since I gcc downgraded to version 4.1.2 I have in the "top"
> column "WCHAN" only a "-". This applies to all processes.
> The System.map is available in /usr/src/linux.
> It works after installation, that was late 2007, with gcc 4.1.2
> and it works with gcc 4.2.2 but I had to downgrade to gcc 4.1.2
> because of build problems of firefox 220.127.116.11.
> I tried a symbolically link of System.map to the root directory. I
> also tried it with the boot partition permanently mounted and I
> re-emerged sys-process/procps-3.2.7, where top belongs to, too.
> But the behaviour of top is always the same, WCHAN shows only
> a "-".
> Has someone encountered a similar behaviour with top? Or does
> someone know what I'm missing?
> Thanks in advance
> W. Canis
I'm really the one who have this problem? Something must have
been changed in the past. But the man page still states that in the
column WCHAN the function, in which a process are sleeping, will
be displayed. Either the function name (if System.map is available)
or the address of the function or a "-" if the process is running.
On my system, according to the man page of top, all processes are
running. That can't be right.
Where is /usr/bin/top looking for the System.map?
Thanks in advance.