Re: GCC 4.8.0 Build Failed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for response.

These are my settings.

 [root@fedora32 gcc-4.8.0-build]# ../gcc-4.8.0/configure --prefix=/usr
 --libexecdir=/usr/lib --enable-shared --enable-threads=posix
 --disable-install-libiberty -with-system-zlib

 I get into the following error prior to this.

  -D_GNU_SOURCE -std=gnu++0x -c
 ../../.././libstdc++-v3/libsupc++/eh_throw.cc  -fPIC -DPIC
 -D_GLIBCXX_SHARED -o eh_throw.o
 In file included from ../../.././libstdc++-v3/libsupc++/unwind-cxx.h:41:0,
                  from ../../.././libstdc++-v3/libsupc++/eh_throw.cc:26:
 ../../.././libstdc++-v3/libsupc++/eh_throw.cc: In function âvoid
 __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*))â:
 ../../.././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)
                                   ^
 ../../.././libstdc++-v3/libsupc++/eh_throw.cc:63:3: note: in expansion
 of macro âPROBE2â
    PROBE2 (throw, obj, tinfo);
    ^
 ../../.././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)
                                   ^
 ../../.././libstdc++-v3/libsupc++/eh_throw.cc:63:3: note: in expansion
 of macro âPROBE2â
    PROBE2 (throw, obj, tinfo);
   ^
../../.././libstdc++-v3/libsupc++/eh_throw.cc: In function âvoid
 __cxxabiv1::__cxa_rethrow()â:
 ../../.././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)
                                   ^
 ../../.././libstdc++-v3/libsupc++/eh_throw.cc:105:4: note: in
 expansion of macro âPROBE2â
     PROBE2 (rethrow, __get_object_from_ambiguous_exception(header),
     ^
 ../../.././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)
                                   ^
 ../../.././libstdc++-v3/libsupc++/eh_throw.cc:105:4: note: in
 expansion of macro âPROBE2â
     PROBE2 (rethrow, __get_object_from_ambiguous_exception(header),
     ^
 make[5]: *** [eh_throw.lo] Error 1
 make[5]: Leaving directory
 `/developer/gcc-4.8.0/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory
`/developer/gcc-4.8.0/i686-pc-linux-gnu/libstdc++-v3'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory
`/developer/gcc-4.8.0/i686-pc-linux-gnu/libstdc++-v3'
 make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
 make[2]: Leaving directory `/developer/gcc-4.8.0'
 make[1]: *** [stage1-bubble] Error 2
 make[1]: Leaving directory `/developer/gcc-4.8.0'
 make: *** [all] Error 2

 but I solved it in /usr/include/sys/sdt.h by intruducing space between
 MACRO and string. Please let me know where i can see build log.

Rahul





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux