Subject: toolchain/16304: Cross build ELF sendmail generates rewrite errors
To: None <gnats-bugs@gnats.netbsd.org>
From: Mike Pumford <mpumford@black-star.demon.co.uk>
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
>Closed-Date:
>Last-Modified:
>Originator: Mike Pumford
>Release: NetBSD 1.5ZC
>Organization:
None
>Environment:
System: NetBSD black-star.demon.co.uk 1.5ZC NetBSD 1.5ZC (BSTAR_WS) #1: Fri Apr 5 18:58:46 BST 2002 mpumford@excalibur.home.net:/usr/src/sys/arch/acorn32/compile/BSTAR_WS acorn32
Architecture: arm
Machine: acorn32
>Description:
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
>How-To-Repeat:
See description. The compile machine was a NetBSD 1.5ZC i386 machine
built from the same source tree.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
cvs update done just after acorn32 switched to ELF.