http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47147

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-12 
21:17:35 UTC ---
Created attachment 22952
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22952
preprocessed source

configured with 
../gcc-4.6-20110108/configure --prefix=/home/redi/work/sandbox
--disable-libgomp --disable-bootstrap --disable-multilib
on netbsd-current

build fails in libstdc++-v3/libsupc++ with these errors:

In file included from
../../../../gcc-4.6-20110108/libstdc++-v3/libsupc++/tinfo.h:31:0,
                 from
../../../../gcc-4.6-20110108/libstdc++-v3/libsupc++/array_type_info.cc:25:
/disk/1/archive/tmp/redi/gcc-4.6-20110108/libstdc++-v3/libsupc++/cxxabi.h:70:17:
error: 'size_t' was not declared in this scope
/disk/1/archive/tmp/redi/gcc-4.6-20110108/libstdc++-v3/libsupc++/cxxabi.h:70:17:
note: suggested alternative:
/disk/1/archive/tmp/redi/objdir-4.6-20110108/x86_64-unknown-netbsd5.99.43/libstdc++-v3/include/x86_64-unknown-netbsd5.99.43/bits/c++config.h:88:26:
note:   'std::size_t'

preprocessed source attached

I'll look into it more later and try a build without --disable-boostrap too ...

Reply via email to