The weekly snapshot (dated 20081107) of gcc 4.4 fails to compile on a Sun
Solaris machine 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'


I am using the Sun solaris cc compiler.
> cc -V
cc: Sun C 5.5 2003/03/12

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

However,

$ nm gcc/gimple.o | grep check_failed

        U gimple_check_failed

The issue was first pointed out at
http://gcc.gnu.org/ml/gcc-help/2008-11/msg00135.html . More information can be
found in that thread. I will gladly provide any additional information (if
necessary) to fix this bug.

thanks
raju


-- 
           Summary: gcc fails to compile with (undefined symbol)
                    gimple_check_failed error
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kamaraju at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38100

Reply via email to