Subject: pkg/7355: xanim extra codec object files vs. i386/ELF
To: None <>
From: Klaus Klein <>
List: netbsd-bugs
Date: 04/10/1999 18:07:13
>Number:         7355
>Category:       pkg
>Synopsis:       xanim extra codec object files vs. i386/ELF
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 10 09:20:02 1999
>Originator:     Klaus Klein
Frobozz Magic Standards Company
>Release:        -current as of April 10, 1999
System: NetBSD layla 1.4A NetBSD 1.4A (LAYLA+CTX+NMFS) #1182: Thu Apr 8 22:31:15 CEST 1999 kleink@layla:/vol/tmp/kernels/LAYLA+CTX+NMFS i386

	When linking xanim on an i386/ELF platform, complains
	that it can't decide on the format of the extra codec object
	files (either a.out-i386-bsd or a.out-i386-freebsd), causing
	link editing to fail.

	Build xanim on an i386/ELF system.  Well, try to.

	1) Check out if there are generic i386-elf objects that may
	   work for us, or

	2) use the (admittably disgusting :-) hack I did: use objcopy
	   to convert the objects' magics from a.out-i386-bsd to
	   a.out-i386-netbsd, and use ld's ability to coalesce different
	   object formats.  (N.B. converting them to elf32-i386 didn't
	   work for me; it merely resulted in non-functional codecs.)