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

2008-12-13 Thread esmithmail at gmail dot com
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:

=
[e...@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:

=
[e...@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



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

2008-12-15 Thread esmithmail at gmail dot com


--- Comment #2 from esmithmail at gmail dot com  2008-12-16 01:40 ---
Subject: Re:  gcc build fails - won't link in 'gcc' on SVN obtained 20081213

ok -- except that I've been using the 4.0.0 branch for months.  I
successfully built (and used) gcc-core from SVN on all these dates:
20080802, 20080817, 20080913, 20080921, 20081012, 20081019, 20081026,
20081109, 20081115, 20081116, and 20081123.  I never had the problem
linking until 20081213.


-- 


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



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

2008-12-29 Thread esmithmail at gmail dot com


--- Comment #4 from esmithmail at gmail dot com  2008-12-30 02:57 ---
Works now.  Thanks, guys.


-- 

esmithmail at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME


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