This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]