This is the mail archive of the gcc-help@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]

Re: GCC 4.8 build


On 26 March 2013 17:17, Kalai Rajah N wrote:
> Hi,
>  I downloaded the 4.8 source code and started the build. I'm seeing
> the following errors during the build ...
>
> In file included from
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/unwind-cxx.h:41:0,
>                  from
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/eh_throw.cc:26:
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/eh_throw.cc: In function ‘void
> __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*))’:
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/unwind-cxx.h:45:34: error: unable
> to find string literal operator ‘operator"" _SDT_S’

This is a problem in the Systemtap sdt.h header, which is incompatible
with C++11 because it has no whitespace between string literals and
the _SDT_S macro, as described in the User-defined literals section of
http://gcc.gnu.org/gcc-4.7/porting_to.html

You could try upgrading to a newer Systemtap releases.


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