Re: "../.././gcc/c-common.c", line 2259: invalid token: short_fract_type_no...

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

 



On Wed, Nov 12, 2008 at 9:37 AM, Andrew Haley <aph@xxxxxxxxxx> wrote:
> kamaraju kusumanchi wrote:
>>> Surely this is exactly the same as the last time.
>>>
>>
>> You are right and the patch worked. Now the compilation stops with the
>> following errors.
>>
>> cc  -g -DIN_GCC    -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o
>> attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
>> c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o
>> c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o
>> c-parser.o sol2-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o
>> c-omp.o dummy-checksum.o \
>>           main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
>> ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ./../intl/libintl.a
>> ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpfr -lgmp
>> -lmpfr -lgmp
>> ild: (undefined symbol) gimple_check_failed -- referenced in the text
>> segment of libbackend.a(tree-ssa-loop-unswitch.o)
>> ild: (undefined symbol) gimple_check_failed -- referenced in the text
>> segment of libbackend.a(tree-ssa-loop-prefetch.o)
>> ild: (undefined symbol) gimple_check_failed -- referenced in the text
>> segment of libbackend.a(tree-loop-linear.o)
>> ild: (undefined symbol) gimple_check_failed -- referenced in the text
>> segment of libbackend.a(tree-affine.o)
>> ild: (undefined symbol) gimple_check_failed -- referenced in the text
>> segment of libbackend.a(lambda-trans.o)
>>
>> .... lot of these errors.....
>>
>> make[3]: *** [cc1-dummy] Error 5
>> make[3]: Leaving directory
>> `/home/kkusuman/software/compileHere/gcc-4.4-20081107/gcc'
>> make[2]: *** [all-stage1-gcc] Error 2
>> make[2]: Leaving directory
>> `/home/kkusuman/software/compileHere/gcc-4.4-20081107'
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory
>> `/home/kkusuman/software/compileHere/gcc-4.4-20081107'
>> make: *** [all] Error 2
>>
>>
>> I am attaching the latest make.log (if it is of any help).
>
> gimple_check_failed should be defined in gimple.o:
>
> zorro:obj-x86_64-unknown-linux-gnu $ cd gcc
> zorro:gcc $
>
> zorro:gcc $ nm gimple.o | grep check_failed
> 0000000000000f00 T gimple_check_failed
> 0000000000000de0 T gimple_range_check_failed
>
> gimple.o should be in libbackend.a:
>
> zorro:gcc $ ar t libbackend.a | grep gimple.o
> gimple.o
>


In my case, gimple.o is indeed present in libbackend.a

$ ar t gcc/libbackend.a | grep gimple.o
gimple.o

However,

$ nm gcc/gimple.o | grep check_failed

         U gimple_check_failed


I tried removing the gimple.o and run the make script again. Even
then, I get the same error messages. See the attached make.log for
more info.

raju

Attachment: make.log
Description: Binary data


[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