Subject: Re: strange ld error: destdir.vax/usr/lib: read_file_symbols(header): premature EOF
To: None <,>
From: Olaf Seibert <>
List: current-users
Date: 10/08/2000 15:29:56
On Sat 07 Oct 2000 at 13:15:26 +0200, Olaf Seibert wrote:
> 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

Installing a new ld and did not help. But to make the
link succeed it seemed to be enough to remove the

If it is indeed true that the ld option -rpath-link fails on NFS-mounted
directories (which is my current suspicion), then this would certainly
be a showstopper for 1.5...

Note: VAX is still a.out.

___ 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.