Subject: IMPORTANT: arm32 sed problems
To: Curt Sampson <cjs@portal.ca>
From: Todd Vierling <tv@pobox.com>
List: port-arm32
Date: 06/16/1998 11:24:03
On Tue, 16 Jun 1998, Todd Vierling wrote:

: The proper fix is to update libc.so.12.20 and /usr/include/ctype.h.

"Foot in mouth."

This, of course, is not a real fix, as there are many programs in-tree that
use these macros outside of regex (part of libc).  The proper fix is to
re-roll a full 1.3.2 distribution with a fixed <ctype.h>.

SUMMARY:

- <ctype.h> is broken in 1.3.x becuase of unsigned char uncleanliness.
  This causes high ASCII to break horribly on arm32.
- The biggest symptom yet seen is a problem in regex manifested through
  sed, when compiling the gtexinfo pkg, but this affects ALL NetBSD-1.3.x
  compiled binaries, as <ctype.h> defines _macros_ that are broken.
- I have killed the binary pkgs from ftp.netbsd.org as these are also
  "tainted" by the broken <ctype.h>.  New binary pkgs will need to be created.
- A hacked sed is available at:
  ftp://ftp.netbsd.org/pub/NetBSD/arch/arm32/sed_fix
- A fixed ctype.h file is available at:
  ftp://ftp.netbsd.org/pub/NetBSD/arch/arm32/ctype.h
- I am considering re-rolling a 1.3.2 distribution compiled with this new
  <ctype.h> file.  News at 11.

Any more questions?

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)