Subject: toolchain/19276: metafont compiled with -O2 coredumps creating cmbx12
To: None <>
From: None <>
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
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 1.6_STABLE
seal your e-mail:
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


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

One test file is in my home directory on (~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 is not known. Workaround is to compile teTeX-bin with these lines 
added to /etc/mk.conf:

.sinclude "/usr/pkg/share/mk/"

 	autobuild as from 2002 Nov 20