Subject: toolchain/19276: metafont compiled with -O2 coredumps creating cmbx12
To: None <gnats-bugs@gnats.netbsd.org>
From: None <is@netbsd.org>
List: netbsd-bugs
Date: 12/04/2002 20:56:29
>Number:         19276
>Category:       toolchain
>Synopsis:       metafont compiled with -O2 coredumps creating cmbx12
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 04 11:58:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 1.6_STABLE
>Organization:
seal your e-mail: http://www.gnupg.org/
>Environment:
	
	
System: NetBSD marie 1.6_STABLE NetBSD 1.6_STABLE (MARIE) #4: Sun Dec 1 21:56:37 CET 2002 is@marie:/var/tmp/MARIE shark
Architecture: arm
Machine: shark

>Description:

Normally installed teTeX (compiled from pkgsrc) includes a metafont
binary, that core dumps when compiling some fonts.

>How-To-Repeat:
	
One test file is in my home directory on ftp.netbsd.org (~is/lit.dvi).
When viewing this with xdvi, at least with the default metafont
mode set to deskjet and ljfour, it crashes after outputting character
[73] of cmbx12. The wrapper script continues, xdvi later complains that
it can't find the font. The same happens with cmmi at some size, too, 
later in the document.

>Fix:

Fix is not known. Workaround is to compile teTeX-bin with these lines 
added to /etc/mk.conf:

CPU_FLAGS=-O0
.sinclude "/usr/pkg/share/mk/cpuflags.mk"

Regards,
	-is
>Release-Note:
>Audit-Trail:
>Unformatted:
 	autobuild as from 2002 Nov 20