public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/36512]  New: [4.3.0/4.3.1 regression] relocation overflow
@ 2008-06-12 18:30 kate01123 at gmail dot com
  2008-06-12 18:35 ` [Bug bootstrap/36512] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kate01123 at gmail dot com @ 2008-06-12 18:30 UTC (permalink / raw)
  To: gcc-bugs

Bootstrap compiler is 

# gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.11.0
Configured with: /usr/local/gcc-4.3.0/src/gcc-4.3.0/configure
--enable-languages=c --with-gmp=/usr/local/gmp-4.2.2/G5-Darwin-gcc-4.2.3-abi32
--with-mpfr=/usr/local/mpfr-2.3.1/G5-Darwin-gmp-4.2.2-gcc-4.2.3-abi32
--prefix=/usr/local/gcc-4.3.0/G5-Darwin
Thread model: posix
gcc version 4.3.0 (GCC)
#
# env | grep LD
LD_LIBRARY_PATH=/usr/local/gcc-4.3.0/G5-Darwin/lib:/usr/local/gmp-4.2.2/G5-Darwin-gcc-4.2.3-abi32/lib:/usr/local/mpfr-2.3.1/G5-Darwin-gmp-4.2.2-gcc-4.2.3-abi32/lib
#
# /usr/bin/ld -v
Apple Computer, Inc. version cctools-622.9~2

During bootstrap of 4.3.1, get 

/usr/bin/ld: warning multiple definitions of symbol _locale_charset
./../intl/libintl.a(localcharset.o) definition of _locale_charset in section
(__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/bin/ld: c-lang.o relocation overflow for relocation entry 221 in section
(__TEXT,__text) (displacement too large)
/usr/bin/ld: c-lang.o relocation overflow for relocation entry 241 in section
(__TEXT,__text) (displacement too large)


-- 
           Summary: [4.3.0/4.3.1 regression] relocation overflow
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kate01123 at gmail dot com
 GCC build triplet: powerpc-apple-darwin8.11.0
  GCC host triplet: powerpc-apple-darwin8.11.0
GCC target triplet: powerpc-apple-darwin8.11.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] relocation overflow kate01123 at gmail dot com
@ 2008-06-12 18:35 ` pinskia at gcc dot gnu dot org
  2008-06-17 14:10 ` [Bug target/36512] " kate01123 at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-12 18:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-06-12 18:34 -------
I build GCC all the time on powerpc-darwin with no issues.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
            Summary|[4.3.0/4.3.1 regression]    |relocation overflow
                   |relocation overflow         |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] relocation overflow kate01123 at gmail dot com
  2008-06-12 18:35 ` [Bug bootstrap/36512] " pinskia at gcc dot gnu dot org
@ 2008-06-17 14:10 ` kate01123 at gmail dot com
  2008-06-18 13:05 ` kate01123 at gmail dot com
  2008-07-15 19:18 ` william dot l dot maynard at nasa dot gov
  3 siblings, 0 replies; 5+ messages in thread
From: kate01123 at gmail dot com @ 2008-06-17 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kate01123 at gmail dot com  2008-06-17 14:10 -------
I can build gcc-4.3.1 using bootstrap compiler gcc-4.2.3.

If I use gcc-4.3.0 as the bootstrap compiler, I get the build
error that I reported.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] relocation overflow kate01123 at gmail dot com
  2008-06-12 18:35 ` [Bug bootstrap/36512] " pinskia at gcc dot gnu dot org
  2008-06-17 14:10 ` [Bug target/36512] " kate01123 at gmail dot com
@ 2008-06-18 13:05 ` kate01123 at gmail dot com
  2008-07-15 19:18 ` william dot l dot maynard at nasa dot gov
  3 siblings, 0 replies; 5+ messages in thread
From: kate01123 at gmail dot com @ 2008-06-18 13:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kate01123 at gmail dot com  2008-06-18 13:04 -------
On powerpc-apple-darwin8.11.0 I took gcc-4.3.1 
that I built with gcc-4.2.3 and used
it to try to build gcc-4.3.1.  It failed:

gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-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-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o
c-dump.o c-pch.o c-parser.o darwin-c.o rs6000-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 -liconv 
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
-L/usr/local/gmp-4.2.2/G5-Darwin-gcc-4.2.3-abi32/lib
-L/usr/local/mpfr-2.3.1/G5-Darwin-gmp-4.2.2-gcc-4.2.3-abi32/lib -lmpfr -lgmp
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
./../intl/libintl.a(localcharset.o) definition of _locale_charset in section
(__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/bin/ld: c-lang.o relocation overflow for relocation entry 221 in section
(__TEXT,__text) (displacement too large)
/usr/bin/ld: c-lang.o relocation overflow for relocation entry 241 in section
(__TEXT,__text) (displacement too large)


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] relocation overflow kate01123 at gmail dot com
                   ` (2 preceding siblings ...)
  2008-06-18 13:05 ` kate01123 at gmail dot com
@ 2008-07-15 19:18 ` william dot l dot maynard at nasa dot gov
  3 siblings, 0 replies; 5+ messages in thread
From: william dot l dot maynard at nasa dot gov @ 2008-07-15 19:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from william dot l dot maynard at nasa dot gov  2008-07-15 19:17 -------
I run into the same problem trying to compile 4.3.1 either by bootstrap or by
using gcc 4.3.0 to compile it on my powerpc - dual cpus, powerpc 970 chips. My
computer runs Mac OS 10.4.11. config.guess identifies my computer as
powerpc-apple-darwin8.11.0

And, just like Kate's comments, my first relocation overflow message occurs at
the same place hers does, after the "warning multiple definitions of symbol
_locale_charset" message:

/usr/bin/ld: c-lang.o relocation overflow for relocation entry 221 in section
(__TEXT,__text) (displacement too large)

with multiple repetitions of that same error message following, first for
different lines of c-lang.o, then for the rest of the files gcc tries to
compile after c-lang.o


-- 

william dot l dot maynard at nasa dot gov changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |william dot l dot maynard at
                   |                            |nasa dot gov


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-15 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] relocation overflow kate01123 at gmail dot com
2008-06-12 18:35 ` [Bug bootstrap/36512] " pinskia at gcc dot gnu dot org
2008-06-17 14:10 ` [Bug target/36512] " kate01123 at gmail dot com
2008-06-18 13:05 ` kate01123 at gmail dot com
2008-07-15 19:18 ` william dot l dot maynard at nasa dot gov

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).