Subject: toolchain/23002: gcc3.3.1 miscompiles newsyslog on ARM
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Earnshaw <rearnsha@arm.com>
List: netbsd-bugs
Date: 09/29/2003 10:54:22
>Number: 23002
>Category: toolchain
>Synopsis: gcc3.3.1 miscompiles newsyslog on ARM
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 29 09:55:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Richard Earnshaw
>Release: NetBSD 1.6ZC
>Organization:
ARM
--
>Environment:
System: NetBSD shark1.cambridge.arm.com 1.6ZC NetBSD 1.6ZC (SHARK1) #7: Sat Sep 27 15:13:42 BST 2003 rearnsha@vpc960.cambridge.arm.com:/usr/src/sys/arch/shark/compile/SHARK1 shark
Architecture: arm
Machine: shark
>Description:
newsyslog on ARM is being miscompiled with gcc-3.3.1. The symptom is
that it complains that the flags for the rotated logs are invalid
>How-To-Repeat:
# newsyslog -nv
newsyslog: config line 7: bad flags
>Fix:
This appears to be a bug in the GCSE pass of gcc (still investigating)
A work-around is to build newsyslog on ARM with -fno-gcse.
>Release-Note:
>Audit-Trail:
>Unformatted:
-current (25/9/03)