Subject: toolchain/18314: C++ applications on m68k have binary differences on m68k
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/17/2002 16:29:53
>Number:         18314
>Category:       toolchain
>Synopsis:       C++ applications on m68k have binary differences on m68k
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 16 23:30:00 PDT 2002
>Originator:     Luke Mewburn
>Release:        NetBSD 1.6
>Organization: Release Engineering
	During the final processes of release engineering NetBSD 1.6,
	I observed that the text.tgz set didn't contain the same
	contents on some MACHINE_ARCHs (whilst it did on others).

	One of the problematic MACHINE_ARCHs is m68k.
	I noticed that "C++ groff" applications differed.
	I was able to find 3 different groups of files which contained
	the same contents:
		a) amiga atari hp300 mac68k x68k
		b) luna68k mvme68k news68k next68k
		c) sun3

	I.e, any MACHINEs in a given group had the exact contents, but
	each group had different contents.

	An example, comparing amiga, atari, and luna68k:

	extract /ftp/pub/NetBSD/NetBSD-1.6/amiga/binary/sets/text.tgz

	compare /ftp/pub/NetBSD/NetBSD-1.6/atari/binary/sets/text.tgz

	compare /ftp/pub/NetBSD/NetBSD-1.6/luna68k/binary/sets/text.tgz 
	Files amiga/usr/bin/addftinfo and luna68k/usr/bin/addftinfo differ
	Files amiga/usr/bin/eqn and luna68k/usr/bin/eqn differ
	Files amiga/usr/bin/grn and luna68k/usr/bin/grn differ
	Files amiga/usr/bin/grodvi and luna68k/usr/bin/grodvi differ
	Files amiga/usr/bin/groff and luna68k/usr/bin/groff differ
	Files amiga/usr/bin/grohtml and luna68k/usr/bin/grohtml differ
	Files amiga/usr/bin/grolbp and luna68k/usr/bin/grolbp differ
	Files amiga/usr/bin/grolj4 and luna68k/usr/bin/grolj4 differ
	Files amiga/usr/bin/grops and luna68k/usr/bin/grops differ
	Files amiga/usr/bin/grotty and luna68k/usr/bin/grotty differ
	Files amiga/usr/bin/hpftodit and luna68k/usr/bin/hpftodit differ
	Files amiga/usr/bin/indxbib and luna68k/usr/bin/indxbib differ
	Files amiga/usr/bin/lkbib and luna68k/usr/bin/lkbib differ
	Files amiga/usr/bin/lookbib and luna68k/usr/bin/lookbib differ
	Files amiga/usr/bin/pfbtops and luna68k/usr/bin/pfbtops differ
	Files amiga/usr/bin/pic and luna68k/usr/bin/pic differ
	Files amiga/usr/bin/refer and luna68k/usr/bin/refer differ
	Files amiga/usr/bin/tbl and luna68k/usr/bin/tbl differ
	Files amiga/usr/bin/tfmtodit and luna68k/usr/bin/tfmtodit differ
	Files amiga/usr/bin/troff and luna68k/usr/bin/troff differ

	Notice that  (amiga == atari ) != luna68k 

	sun3 is a weird case:

	extract /ftp/pub/NetBSD/NetBSD-1.6/luna68k/binary/sets/text.tgz

	compare /ftp/pub/NetBSD/NetBSD-1.6/sun3/binary/sets/text.tgz
	Files luna68k/usr/bin/addftinfo and sun3/usr/bin/addftinfo differ
	Files luna68k/usr/bin/eqn and sun3/usr/bin/eqn differ
	Files luna68k/usr/bin/grn and sun3/usr/bin/grn differ
	Files luna68k/usr/bin/grodvi and sun3/usr/bin/grodvi differ
	Files luna68k/usr/bin/groff and sun3/usr/bin/groff differ
	Files luna68k/usr/bin/grohtml and sun3/usr/bin/grohtml differ
	Files luna68k/usr/bin/grolbp and sun3/usr/bin/grolbp differ
	Files luna68k/usr/bin/grolj4 and sun3/usr/bin/grolj4 differ
	Files luna68k/usr/bin/grops and sun3/usr/bin/grops differ
	Files luna68k/usr/bin/grotty and sun3/usr/bin/grotty differ
	Files luna68k/usr/bin/hpftodit and sun3/usr/bin/hpftodit differ
	Files luna68k/usr/bin/indxbib and sun3/usr/bin/indxbib differ
	Files luna68k/usr/bin/lkbib and sun3/usr/bin/lkbib differ
	Files luna68k/usr/bin/lookbib and sun3/usr/bin/lookbib differ
	Files luna68k/usr/bin/pfbtops and sun3/usr/bin/pfbtops differ
	Files luna68k/usr/bin/pic and sun3/usr/bin/pic differ
	Files luna68k/usr/bin/refer and sun3/usr/bin/refer differ  
	Files luna68k/usr/bin/tbl and sun3/usr/bin/tbl differ
	Files luna68k/usr/bin/tfmtodit and sun3/usr/bin/tfmtodit differ
	Files luna68k/usr/bin/troff and sun3/usr/bin/troff differ

	compare /ftp/pub/NetBSD/NetBSD-1.6/sun3/binary/sets/text.tgz
	Files amiga/usr/bin/grodvi and sun3/usr/bin/grodvi differ
	Files amiga/usr/bin/indxbib and sun3/usr/bin/indxbib differ
	Files amiga/usr/bin/pic and sun3/usr/bin/pic differ  
	Files amiga/usr/bin/refer and sun3/usr/bin/refer differ
	Files amiga/usr/bin/tbl and sun3/usr/bin/tbl differ

	(The comparisons are made with a hokey script which extracts the
	various sets into temporary directories and runs "diff -qr ...")

	Notice that amiga/binary/sets/text.tgz does not contain the
	same binary contents as luna68/binary/sets/text.tgz.

	... is left for m68k toolchain gurus?