GCC 4.8 build

Kalai Rajah N kalairajah@gmail.com
Wed Mar 27 17:32:00 GMT 2013


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?

Thanks,
Kalai

On Tue, Mar 26, 2013 at 10:53 AM, Kalai Rajah N <kalairajah@gmail.com> wrote:
> Thanks for the information. This is the first time I'm hearing about
> Systemtap. Is there a pointer which would tell me where I could get
> Systemtap & install it as a non-root user?
>
> Thanks,
> Kalai
>
> On Tue, Mar 26, 2013 at 10:27 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>> 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.



More information about the Gcc-help mailing list