Subject: toolchain/22986: with gcc 3.3.1 newsyslog breaks on arm (little endian) platforms
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martin@duskware.de>
List: netbsd-bugs
Date: 09/28/2003 10:55:43
>Number: 22986
>Category: toolchain
>Synopsis: with gcc 3.3.1 newsyslog breaks on arm (little endian) platforms
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 28 08:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Martin Husemann
>Release: NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD drowsy.duskware.de 1.6ZC NetBSD 1.6ZC (DROWSY) #0: Sat Sep 27 22:51:45 CEST 2003 martin@insomnia.duskware.de:/usr/src/sys/arch/shark/compile/DROWSY shark
Architecture: arm
Machine: shark
>Description:
After upgrading my arm to -current (x-compiled from i386) I get errors from
newsyslog. I recompiled it native and it still fails the same way.
newsyslog: config line 7: bad flags.
That is with the default newsyslog.conf file. Looking at the code and
digging a bit around: "ap" is NULL", *q is 0. This can not happen in the
loop, AFAICT, so this seems to be a compiler issue.
I have not been able to reproduce it with a simple test example though.
>How-To-Repeat:
Run "newsyslog" on a shark -current with default /etc/newsyslog.conf.
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: