[Bug libstdc++/43865] C++ in freestanding environment

2010-04-27 Thread redi at gcc dot gnu dot org


--- Comment #3 from redi at gcc dot gnu dot org  2010-04-27 22:27 ---
Created an attachment (id=20501)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20501&action=view)
patch to fix freestanding build

this seems to fix the non-hosted build


-- 

redi at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |redi at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED


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



[Bug libstdc++/43865] C++ in freestanding environment

2010-04-23 Thread redi at gcc dot gnu dot org


--- Comment #2 from redi at gcc dot gnu dot org  2010-04-23 10:27 ---
building 4.6.0 with --disable-hosted-libstdcxx I get

In file included from
../../../../gcc-4.x/libstdc++-v3/libsupc++/eh_call.cc:27:0:
/home/redi/src/gcc/buildfree/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdlib:60:40:
error: expected initializer before ‘_GLIBC_NORETURN’
/home/redi/src/gcc/buildfree/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdlib:62:38:
error: expected initializer before ‘_GLIBC_NORETURN’
In file included from
../../../../gcc-4.x/libstdc++-v3/libsupc++/eh_call.cc:33:0:
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/../gcc/unwind-pe.h: In function
‘unsigned int size_of_encoded_value(unsigned char)’:
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/../gcc/unwind-pe.h:88:3: error: ‘abort’
is not a member of ‘std’
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/../gcc/unwind-pe.h: In function
‘_Unwind_Ptr base_of_encoded_value(unsigned char, _Unwind_Context*)’:
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/../gcc/unwind-pe.h:120:3: error:
‘abort’ is not a member of ‘std’
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/../gcc/unwind-pe.h: In function ‘const
unsigned char* read_encoded_value_with_base(unsigned char, _Unwind_Ptr, const
unsigned char*, _Unwind_Ptr*)’:
/home/redi/src/gcc/gcc-4.x/libstdc++-v3/../gcc/unwind-pe.h:257:4: error:
‘abort’ is not a member of ‘std’
make[4]: *** [eh_call.lo] Error 1


-- 


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



[Bug libstdc++/43865] C++ in freestanding environment

2010-04-23 Thread redi at gcc dot gnu dot org


-- 

redi at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Component|c++ |libstdc++
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-04-23 09:34:19
   date||


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