Subject: toolchain/16304: Cross build ELF sendmail generates rewrite errors
To: None <>
From: Mike Pumford <>
List: netbsd-bugs
Date: 04/11/2002 18:33:07
>Number:         16304
>Category:       toolchain
>Synopsis:       Cross build ELF sendmail generates rewrite errors
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 11 10:34:00 PDT 2002
>Originator:     Mike Pumford
>Release:        NetBSD 1.5ZC
System: NetBSD 1.5ZC NetBSD 1.5ZC (BSTAR_WS) #1: Fri Apr 5 18:58:46 BST 2002 acorn32
Architecture: arm
Machine: acorn32
	Building sendmail with -O2 generates a sendmail which reports
	rewrite errors. An ELF sendmail built with optimization
	off -O0 with the same compiler works fine. An a.out sendmail
	also works fine. The sendmail error messages follow below:

Apr  6 13:41:42 black-star sendmail[334]: g36CfgD00334: SYSERR(root): rewrite: r
uleset check_relay: replacement $1 out of bounds
Apr  6 13:41:42 black-star sendmail[335]: g36CfgD00335: SYSERR(root): rewrite: r
uleset canonify: replacement $1 out of bounds

	See description. The compile machine was a NetBSD 1.5ZC i386 machine
	built from the same source tree.
 		cvs update done just after acorn32 switched to ELF.