While building gcc 4.4.0 20090109 on OpenSolaris 2008.11 there is an error
during the build which does not terminate "make". The error comes from
binutils 2.19's 'ld' program but "make" does not 'see' it and the build
continues.


# /usr/local/bin/ld -V
GNU ld (GNU Binutils) 2.19
  Supported emulations:
   elf_i386_ldso
   elf_i386
   elf_x86_64


# prev-gcc/xgcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-decimal-float --with-long-double-128 --enable-nls
--with-included-gettext --enable-gather-detailed-mem-stats --with-stabs
--enable-debug -enable-largefile --enable-symvers --without-system-zlib
--enable-gtk-cairo --enable-qt-peer --enable-xmlj --enable-gconf-peer
--enable-gjdoc --enable-java-awt=gtk,xlib,qt,x --enable-gc-debug
--enable-libgcj-multifile --enable-libgcj-debug --enable-objc-gc
--enable-libstdcxx-debug --enable-stage1-checking --enable-checking=release
--enable-coverage=noopt --without-system-libunwind --with-gnu-as
--with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 4.4.0 20090109 (experimental) (GCC) 


# gmake
...
gmake[3]: Leaving directory `/usr/share/src/gcc_build/zlib'
gmake[3]: Entering directory `/usr/share/src/gcc_build/libcpp'
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
gmake[3]: Leaving directory `/usr/share/src/gcc_build/libcpp'
gmake[3]: Entering directory `/usr/share/src/gcc_build/libdecnumber'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/share/src/gcc_build/libdecnumber'
gmake[3]: Entering directory `/usr/share/src/gcc_build/gcc'
build/genchecksum cc1-dummy > cc1-checksum.c
/usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/
-B/usr/local/i386-pc-solaris2.11/bin/ -c  -g -O2 -fprofile-generate -DIN_GCC 
-fprofile-arcs -ftest-coverage -frandom-seed=cc1-checksum.o -O0 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror  
-DHAVE_CONFIG_H -I. -I. -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/.
-I../../gcc_trunk/gcc/../include -I./../intl
-I../../gcc_trunk/gcc/../libcpp/include  -I../../gcc_trunk/gcc/../libdecnumber
-I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber 
-DCLOOG_PPL_BACKEND  -fexceptions cc1-checksum.c -o cc1-checksum.o
/usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/
-B/usr/local/i386-pc-solaris2.11/bin/  -g -O2 -fprofile-generate -DIN_GCC 
-fprofile-arcs -ftest-coverage -frandom-seed=cc1 -O0 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H  -o cc1
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 i386-c.o sol2-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o
c-omp.o cc1-checksum.o \
          main.o  libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ./../intl/libintl.a 
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpfr -lgmp -lcloog 
-lppl_c -lppl -lgmpxx 
/usr/local/bin/ld: error in c-common.o(.eh_frame); no .eh_frame_hdr table will
be created.
/usr/local/bin/ld: error in libbackend.a(insn-recog.o)(.eh_frame); no
.eh_frame_hdr table will be created.
/usr/share/src/gcc_build/./prev-gcc/xgcc -B/usr/share/src/gcc_build/./prev-gcc/ 
...


I mention this _here_ since this could affect gcc (and it is something we
can test for in our configure scripts) even though it could be a bug in
the error return code value (for that particular error) in GNU's 'ld'.


Thanks,
Rob


-- 
           Summary: gcc 4.4.0 20090109 - Error during build does not
                    terminate "make" (b19 'ld')
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


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

Reply via email to