[Wylug-help] nm: "truncated .o" - SMP, NFS, SuSE, other???
Willswills@vspuse3.vws.co.uk
Willswills at vspuse3.vws.co.uk
Fri, 14 Jul 2000 10:31:31 +0100 (BST)
I have a suite of programs developed originally on Irixen which
I am trying to port to Linux. Said port works fine when returned to
an SGI O2, and passes all the tests which can be done remotely on the
School's Linux server. However, /this/ machine -SuSE6.4eval with
custom-built 2.2.16-SMP kernel and "gcc version 2.95.2 19991024
(release)"- produces the following results:
In ~wills/devel/ekaviel - an NFS mounted directory: sometimes
gives linker errors, correspondingly `nm` on the relevant .a (and
indeed directly on the offending .o that went in it) will report
"File truncated". If compilation succeeeds, all three programs dump
core at the start of main() and arg[cv] will have silly values. `make
-j1` does not seem to have an effect [and although this is consistent
with missing -D options on some of the objects, the fact another
Linux box succeeds strikes me as odd].
However -and this lends itself well to my already-confused state-
if I compile in my /usr/tmp instead, only the audio-aware programs
fail, dumping core after finding an unexpected null pointer in an
abstraction layer which is fine in the IRIX versions. But I digress,
'cause I can probably suss that mesen.
Wills.