On Wed, Mar 27, 2013 at 10:32 AM, Kalai Rajah N <kalairajah@xxxxxxxxx> wrote: > I fixed the problem due to systemtap. Now I'm getting stuck with the > following error message: > > ./gcc-4.8.0/libgcc/../gcc -I../../../../gcc-4.8.0/libgcc/../include > -I../../../../gcc-4.8.0/libgcc/config/libbid > -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o morestack.o > -MT morestack.o -MD -MP -MF morestack.dep -c -xassembler-with-cpp > -include morestack.vis > ../../../../gcc-4.8.0/libgcc/config/i386/morestack.S > ./morestack.vis: Assembler messages: > ./morestack.vis:1: Error: junk at end of line, first unrecognized > character is `:' > ./morestack.vis:2: Error: Missing symbol name in directive > ./morestack.vis:2: Error: junk at end of line, first unrecognized > character is `|' > make[5]: *** [morestack.o] Error 1 > make[5]: Leaving directory > `/dev/shm/sw-build/gcc-4.8.0-build/x86_64-unknown-linux-gnu/32/libgcc' > make[4]: *** [multi-do] Error 1 > make[4]: Leaving directory > `/dev/shm/sw-build/gcc-4.8.0-build/x86_64-unknown-linux-gnu/libgcc' > make[3]: *** [all-multi] Error 2 > make[3]: Leaving directory > `/dev/shm/sw-build/gcc-4.8.0-build/x86_64-unknown-linux-gnu/libgcc' > make[2]: *** [all-stage1-target-libgcc] Error 2 > > make[2]: Leaving directory `/dev/shm/sw-build/gcc-4.8.0-build' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/dev/shm/sw-build/gcc-4.8.0-build' > make: *** [all] Error 2 > > From the mail archives, I see that this might be caused due to nm / > awk. I have nm(elfutils) 0.155 and awk 4.0.2 - and I'm still seeing > the problem. Anyone else faced the same problem? Most people use nm from the GNU binutils. The code in this case is running nm -pg. I don't have a copy of the elfutils. What does the elfutils nm print when using -pg? For the GNU binutils nm, the -p option is selects portable output and the -g option selects only external symbols. Ian