This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213


Works fine in SVN versions obtained 20081123 and earlier.  On SVN version
obtained 20081213:

This is what happens:

========
../configure --target=avr --prefix=/usr/local/avr --disable-nls
--enable-languages=c --disable-libssp

make (builds for a while and then) --

make[2]: Entering directory
`/home/eric/prog/avr/coreutils/20081213/avr-gcc/gcc-core/obj-avr/gcc'
gcc  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -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 -fno-common  -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  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   ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -lmpfr -lgmp  
/usr/bin/ld: libbackend.a(dwarf2out.o)(.rodata+0x801bbc): reloc against
`.text': error 2
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [cc1-dummy] Error 1
========


Target is avr so this is a cross-compile.  My host system:

=========
[eric@gum obj-avr]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-cpu=generic --build=i386-redhat-linux
Thread model: posix
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
==========


My target -- this output was obtained with avr-gcc which built successfully
from SVN obtained 20081123 -- I am using the same configuration to attempt
today's build:

=========
[eric@gum obj-avr]$ avr-gcc -v
Using built-in specs.
Target: avr
Configured with: ../configure --target=avr --prefix=/usr/local/avr
--disable-nls --enable-languages=c --disable-libssp
Thread model: single
gcc version 4.4.0 20081123 (experimental) (GCC) 
=========


-- 
           Summary: gcc build fails - won't link in 'gcc' on SVN obtained
                    20081213
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: esmithmail at gmail dot com
  GCC host triplet: i386-redhat-linux
GCC target triplet: avr


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]