This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.8 build
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Kalai Rajah N <kalairajah at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Mar 2013 17:27:10 +0000
- Subject: Re: GCC 4.8 build
- References: <CAPTDLfHfg2sBms85y4H=eCnHM66Lvm5zzkYk4kGi-tvye4ZZ9Q at mail dot gmail dot com>
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.