Subject: bin snapshot: "Abort trap" coredump on dynamically linked execuatbles
To: None <port-powerpc@netbsd.org>
From: Tad Hunt <tad@entrisphere.com>
List: port-powerpc
Date: 01/30/2001 16:47:53
Machine: MPC8260ADS evaluation board
Version: NetBSD-1.4.3

I've seen the same behavior with the "base.tgz" binary snapshot for the macppc
and the prep:

	ftp://ftp.netbsd.org/pub/NetBSD/arch/macppc/snapshot/20001125
	ftp://ftp.netbsd.org/pub/NetBSD/arch/prep/snapshot/20000802/binary/sets

Whenever I try to run a statically linked executable, it works great.
If I try to run a dynamically linked executable, it core dumps with
an "Abort trap".  I'm currently at a loss to figure out where the executables
are crashing, because I can't run gdb on core files from my cross development
platform (NetBSD-1.4.3, i386):

	# powerpc-elf-gdb -quiet /powerpc/usr/bin/telnet /powerpc/telnet.core
	(no debugging symbols found)...
	GDB can't read core files on this machine.
	(gdb) 

And I can't run the gdb on the MPC8260 out of "comp.tgz" (from any of the
sets I've tried), because it is also dynamically linked.

Any thoughts?  Are these snapshots not viable with NetBSD-1.4.3?  I would
like to hold of on building userland on the cross development platform,
if at all possible.  (because a brief try made the task seem daunting)

-Tad