Subject: strange ld error: destdir.vax/usr/lib: read_file_symbols(header): premature EOF
To: None <,>
From: Olaf Seibert <>
List: port-vax
Date: 10/07/2000 13:15:26
I am building a recent sup of the world, and each link command fails
like this:

dependall ===> bin/test
/vol1/rhialto/destdir.vax/usr/bin/cc  -static -o test -nostdlib -Wl,-rpath-link,/vol1/rhialto/destdir.vax/usr/lib /vol1/rhialto/destdir.vax/usr/lib/crt0.o  test.o  -L/vol1/rhialto/destdir.vax/usr/lib -lgcc -lc -lgcc 
ld: /vol1/rhialto/destdir.vax/usr/lib: read_file_symbols(header): premature EOF
collect2: ld returned 1 exit status

/vol1/rhialto/destdir.vax/usr/lib is in my $DESTDIR, of course, and on
NFS.  If I remove all references to /vol1/rhialto/destdir.vax/usr/lib,
and write the references to -lgcc and -lc in full, then the link
succeeds, but all links are then static instead of dynamic.

Because I build from an older snapshot, I also get the following warning
for every (new) dynamic executable I start (typically things like cc,
cpp, cc1, as and ld):

/usr/libexec/ warning: minor version >= 56 expected, using it anyway

Can this be a problem? In the somewhat-distant past (a few months ago),
it worked despite these warnings.

I also built from the same sources, with NetBSD/alpha 1.4.1, without
this problem.

___ Olaf 'Rhialto' Seibert - rhialto@polder    -- Ah only did well at school
\X/       -- tae git intae an O level class tae git away fae Begbie.
Hi! I am a .signature virus. Copy me into your .signature to help me spread.