Subject: port-sparc/25901: src/regress/usr.bin/rtld/dlopen fails on sparc
To: None <gnats-bugs@gnats.NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 06/11/2004 09:39:21
>Number:         25901
>Category:       port-sparc
>Synopsis:       src/regress/usr.bin/rtld/dlopen fails on sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 11 07:40:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Manuel Bouyer
>Release:        NetBSD 2.0_BETA, sources as or 20040605
>Organization:
>Environment:
System: NetBSD maumusson 2.0_BETA NetBSD 2.0_BETA (GENERIC.MP) #8: Sun Jun 6 21:19:25 CEST 2004 bouyer@maumusson:/obj/sparc/obj/home/bouyer/src/sys/arch/sparc/compile/GENERIC.MP sparc
Architecture: sparc
Machine: sparc
>Description:
	src/regress/usr.bin/rtld/dlopen fails on sparc (tested on SS1+ and
	SS10) with:
maumusson# make USETOOLS=never regress
if [ -f /home/bouyer/src/regress/usr.bin/rtld/testlib/libtest.so ]; then  ./dlopen /home/bouyer/src/regress/usr.bin/rtld/testlib/libtest.so >dlopen.out;  tail +4 /home/bouyer/src/regress/usr.bin/rtld/dlopen/dlopen.exp | diff - dlopen.out;  fi
[1]   Bus error (core dumped) ./dlopen /home/b...
1,3d0
< constructor
< OK
< destructor
*** Error code 1
maumusson# gdb dlopen dlopen.core 
GNU gdb 5.3nb1
[...]
Core was generated by `dlopen'.
Program terminated with signal 10, Bus error.
[...]
#0  0x10022f3c in _rtld_relocate_nonplt_objects () from /usr/libexec/ld.elf_so

>How-To-Repeat:
	make USETOOLS=never; make USETOOLS=never regress
	in src/regress/usr.bin/rtld
>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: