Subject: bin/1856: Problems with new gcc 2.7.2 (
To: None <>
From: Bernd Ernesti <>
List: netbsd-bugs
Date: 12/25/1995 11:32:07
>Number:         1856
>Category:       bin
>Synopsis:       Problems with new gcc 2.7.2 (
>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
>Originator:     Bernd Ernesti
>Release:        NetBSD-current 24-12-95
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

	a compiled with gcc 2.7.2 does not work, at least under m68k

	AS 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++
	cd /src/gnu/usr.bin/ld
	make install

	and you get core dumps from every shared binary, so keep the old
	before you try that (and keep an open root shell to copy it back)
	There is allready an open send-pr (bin/1557) with many patches,
	one for src/gnu/usr.bin/ld/rtld/Makefile which solves the
	problem. But you need to rename the old before you can copy
	the new one to /usr/libexec or you get trapsignals.