Hi, I guess these errors are propagating from systemmap sdt.h file. I made some changes in this header file to avoid compiler error explained above.Some one told me to use the upgrade version of systemmap for building gcc 4.8.0, but what i found we are using some macros defined in sdt.h, here is the diff of installed systemmap and systemmap-2.0(new one) section which matter in this case.. 39,43c41,47 < # define _SDT_ASM_1(x) _SDT_S(x)"\n" < # define _SDT_ASM_2(a, b) _SDT_S(a)"," _SDT_S(b)"\n" < # define _SDT_ASM_3(a, b, c) _SDT_S(a)"," _SDT_S(b)"," _SDT_S(c)"\n" < # define _SDT_ASM_5(a, b, c, d, e) _SDT_S(a)"," _SDT_S(b)"," _SDT_S(c)","\ < _SDT_S(d)"," _SDT_S(e)"\n" --- > # define _SDT_ASM_1(x) _SDT_S(x) "\n" > # define _SDT_ASM_2(a, b) _SDT_S(a) "," _SDT_S(b) "\n" > # define _SDT_ASM_3(a, b, c) _SDT_S(a) "," _SDT_S(b) "," \ > _SDT_S(c) "\n" > # define _SDT_ASM_5(a, b, c, d, e) _SDT_S(a) "," _SDT_S(b) "," \ > _SDT_S(c) "," _SDT_S(d) "," \ > _SDT_S(e) "\n" I just propagated these changes in installed sdt.h file, i solved compiler error, but I guess i made mess while linking. Any suggestion, are these changes are cause of linker error..... Rahul. On Tue, Jun 4, 2013 at 7:11 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > On Mon, Jun 3, 2013 at 11:52 PM, rahul <rahulroot@xxxxxxxxx> wrote: >> >> `_.stapsdt.base' referenced in section `.note.stapsdt' of >> ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o): defined in >> discarded section `.stapsdt.base[.stapsdt.base]' of >> ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o) >> `_.stapsdt.base' referenced in section `.note.stapsdt' of >> ../libsupc++/.libs/libsupc++convenience.a(eh_throw.o): defined in >> discarded section `.stapsdt.base[.stapsdt.base]' of >> ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o) >> `_.stapsdt.base' referenced in section `.note.stapsdt' of >> ../libsupc++/.libs/libsupc++convenience.a(eh_throw.o): defined in >> discarded section `.stapsdt.base[.stapsdt.base]' of >> ../libsupc++/.libs/libsupc++convenience.a(eh_catch.o) >> collect2: error: ld returned 1 exit status >> make[6]: *** [libstdc++.la] Error 1 > > Are those all the errors, or did you omit some? Because I don't > understand those errors at all. I don't know where the string > "stapsdt" is coming from. > > Ian