public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213
@ 2008-12-13 22:09 esmithmail at gmail dot com
2008-12-16 0:12 ` [Bug target/38519] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: esmithmail at gmail dot com @ 2008-12-13 22:09 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/38519] gcc build fails - won't link in 'gcc' on SVN obtained 20081213
2008-12-13 22:09 [Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213 esmithmail at gmail dot com
@ 2008-12-16 0:12 ` pinskia at gcc dot gnu dot org
2008-12-16 1:41 ` esmithmail at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-16 0:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-16 00:09 -------
This sounds like an issue with the redhat provided GCC and not in GCC you are
trying to compile.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
GCC build triplet| |i386-redhat-linux
GCC target triplet|avr |i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38519
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/38519] gcc build fails - won't link in 'gcc' on SVN obtained 20081213
2008-12-13 22:09 [Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213 esmithmail at gmail dot com
2008-12-16 0:12 ` [Bug target/38519] " pinskia at gcc dot gnu dot org
@ 2008-12-16 1:41 ` esmithmail at gmail dot com
2008-12-16 1:45 ` pinskia at gcc dot gnu dot org
2008-12-30 2:59 ` esmithmail at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: esmithmail at gmail dot com @ 2008-12-16 1:41 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/38519] gcc build fails - won't link in 'gcc' on SVN obtained 20081213
2008-12-13 22:09 [Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213 esmithmail at gmail dot com
2008-12-16 0:12 ` [Bug target/38519] " pinskia at gcc dot gnu dot org
2008-12-16 1:41 ` esmithmail at gmail dot com
@ 2008-12-16 1:45 ` pinskia at gcc dot gnu dot org
2008-12-30 2:59 ` esmithmail at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-16 1:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-16 01:44 -------
That could mean this was not exposed in the redhat GCC version until that
revision of GCC. The error is coming from linking of the native program and
not from the new GCC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38519
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/38519] gcc build fails - won't link in 'gcc' on SVN obtained 20081213
2008-12-13 22:09 [Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213 esmithmail at gmail dot com
` (2 preceding siblings ...)
2008-12-16 1:45 ` pinskia at gcc dot gnu dot org
@ 2008-12-30 2:59 ` esmithmail at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: esmithmail at gmail dot com @ 2008-12-30 2:59 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-30 2:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-13 22:09 [Bug c/38519] New: gcc build fails - won't link in 'gcc' on SVN obtained 20081213 esmithmail at gmail dot com
2008-12-16 0:12 ` [Bug target/38519] " pinskia at gcc dot gnu dot org
2008-12-16 1:41 ` esmithmail at gmail dot com
2008-12-16 1:45 ` pinskia at gcc dot gnu dot org
2008-12-30 2:59 ` esmithmail at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).