Subject: bin/1856: Problems with new gcc 2.7.2 (ld.so)
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 12/25/1995 11:32:07
>Number: 1856
>Category: bin
>Synopsis: Problems with new gcc 2.7.2 (ld.so)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 25 05:35:01 1995
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 24-12-95
>Environment:
System: NetBSD arresum 1.1A NetBSD 1.1A (VEEGO) #44: Sat Dec 23 22:40:31 MET 1995 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
a ld.so compiled with gcc 2.7.2 does not work, at least under m68k
AS ld.so does relocation behind GCCs back, we cannot let the compiler cache
function addresses in registers
not to mentioned all the warnings in groff and the errors in libg++
>How-To-Repeat:
cd /src/gnu/usr.bin/ld
make
make install
and you get core dumps from every shared binary, so keep the old ld.so
before you try that (and keep an open root shell to copy it back)
>Fix:
There is allready an open send-pr (bin/1557) with many patches,
one for src/gnu/usr.bin/ld/rtld/Makefile which solves the ld.so
problem. But you need to rename the old ld.so before you can copy
the new one to /usr/libexec or you get trapsignals.
>Audit-Trail:
>Unformatted: