Subject: Re: powerpc tools fail to build with -O2 -g
To: matthew green <>
From: Todd Vierling <>
List: tech-toolchain
Date: 03/04/2002 11:14:37
On Sun, 3 Mar 2002, matthew green wrote:

: this is strange. it occurs only when i build with HOST_CFLAGS="-O2 -g":

On what host $MACHINE_ARCH and OS?  (With the new toolchain, it's not so
obvious anymore.  :)

Oddly enough, the first error that shows up here comes from a #else block
that should never get pulled in:

: /usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/system.h:353: conflicting types for `sys_errlist'
: /usr/include/errno.h:59: previous declaration of `sys_errlist'

The "sys_errlist" block in system.h is supposed to be used when
HAVE_STRERROR is not set.  On NetBSD hosts, HAVE_STRERROR should most
definitely be set....

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --