Subject: bin/4685: ld segv's on wrong .o type
To: None <gnats-bugs@gnats.netbsd.org>
From: Christian E. Hopps <chopps@yahoo.emich.edu>
List: netbsd-bugs
Date: 12/14/1997 13:37:23
>Number:         4685
>Category:       bin
>Synopsis:       ld segv's on wrong .o type
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 14 10:50:00 1997
>Last-Modified:
>Originator:     Christian E. Hopps
>Organization:
>Release:        1.3_BETA
>Environment:
	
System: NetBSD yahoo.emich.edu 1.3_BETA NetBSD 1.3_BETA (GENERIC) #0: Mon Dec 1 21:27:33 EST 1997 chopps@yahoo.emich.edu:/e/release-1-3/src/sys/arch/amiga/compile/GENERIC amiga


>Description:

	ld fails to determine that an object file is incorrect for the
	architecture it is building for.  At least when the endianess is
	different ld cores.

>How-To-Repeat:

	Try linking an object file for a different architecture with ld
	(e.g., an i386 .o file on an Amiga/m68k)

>Fix:
>Audit-Trail:
>Unformatted: