Build GCC4.8 fail when make

Jonathan Wakely jwakely.gcc@gmail.com
Tue Apr 2 15:11:00 GMT 2013


On 2 April 2013 09:48, Jerry OELoo wrote:
> Hi All:
> When compile GCC4.8, I encouter below errors when make, Any suggestions? Thanks!
>
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/eh_throw.cc:63:3: note:
> in expansion of macro ‘PROBE2’
>    PROBE2 (throw, obj, tinfo);
>    ^
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/unwind-cxx.h:45:34:
> error: unable to find string literal operator ‘operator"" _SDT_S’
>  #define PROBE2(name, arg1, arg2) STAP_PROBE2 (libstdcxx, name, arg1, arg2)
>                                   ^
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/eh_throw.cc:63:3: note:
> in expansion of macro ‘PROBE2’
>    PROBE2 (throw, obj, tinfo);
>    ^
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/eh_throw.cc: In function
> ‘void __cxxabiv1::__cxa_rethrow()’:
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/unwind-cxx.h:45:34:
> error: unable to find string literal operator ‘operator"" _SDT_S’
>  #define PROBE2(name, arg1, arg2) STAP_PROBE2 (libstdcxx, name, arg1, arg2)
>                                   ^
> ../../../../gcc-4.8.0/libstdc++-v3/libsupc++/eh_throw.cc:105:4: note:
> in expansion of macro ‘PROBE2’
>     PROBE2 (rethrow, __get_object_from_ambiguous_exception(header),

This is a problem with the Systemtap headers, they are not compatible with C++11

I believe the latest version of Systemtap fixes this problem.



More information about the Gcc-help mailing list