Subject: port-mips/20895: [rkb] -current MIPS kernels fail to run 1.6 dynamic binaries
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/26/2003 11:08:18
>Number:         20895
>Category:       port-mips
>Synopsis:       -current MIPS kernels fail to run 1.6 dynamic binaries
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 26 08:09:00 PST 2003
>Originator:     Rafal Boni
>Release:        NetBSD 1.6P on sgimips
Not today
System: NetBSD babylon-sound-system 1.6P NetBSD 1.6P (BABYLON_SOUND_SYSTEM) #3: Mon Mar 17 00:35:54 EST 2003 rafal@stinkpad:/usr/rafal/netbsd-src/sys/arch/sgimips/compile/BABYLON_SOUND_SYSTEM sgimips
Architecture: mipseb
Machine: sgimips

	I believe this is not sgi specific and impacts all MIPS ports.

	The combination of 1.6 ld.elf_so and 1.6P causes all dynamic 
	binaries to fall over with nonsensical corefiles.  Replacing
	the dynamic linker with one built from -current makes things
	run again.

	I *believe* that this worked with a 1.6O kernel for me, but 
	Ilpo (lonewolf@) reports that 1.6N kernel with a 1.6 userland
	experiences the same problem.

	Install recent -current kernel on a MIPS (sgimips in my case)
	machine which still has a 1.6 (or much older post-1.6 current)

	Attempt to run dynamic binaries.  Watch them go "Boom!".

	None, I'm not even sure *why* things fall over, but wanted to
	file a PR before it slipped through the cracks.

 		This has been happening on my systems since somewhere
 		between 1.6N and 1.6P, IIRC.