Subject: toolchain/33002: obstack.[hc] needs an update to build with gcc 4++
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cagney@gnu.org>
List: netbsd-bugs
Date: 03/05/2006 20:40:00
>Number: 33002
>Category: toolchain
>Synopsis: obstack.[hc] needs an update to build with gcc 4++
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 05 20:40:00 +0000 2006
>Originator: cagney
>Release: n/a
>Organization:
>Environment:
gcc (GCC) 4.1.0 20060228
>Description:
The obstack included in gcc/{include,libiberty}/obstack[ch] contains bad code, fixed in later versions of those files, recommend update
>How-To-Repeat:
try build.sh with a 4.1 based host compiler
>Fix:
import ner obstack[ch] (it is obstack.h that contains the fixes, but might as well be consistent :-)