public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/36512] relocation overflow
       [not found] <bug-36512-4@http.gcc.gnu.org/bugzilla/>
@ 2024-04-03 22:13 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-03 22:13 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem here is related to intl/libintl.a getting compiled vs having
libiconv.dylib installed.

libiconv.dylib is not normally installed on darwin either.

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

* [Bug target/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] " kate01123 at gmail dot com
  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
  2 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [Bug target/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] " kate01123 at gmail dot com
  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
  2 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [Bug target/36512] relocation overflow
  2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] " kate01123 at gmail dot com
@ 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
  2 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2024-04-03 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-36512-4@http.gcc.gnu.org/bugzilla/>
2024-04-03 22:13 ` [Bug target/36512] relocation overflow pinskia at gcc dot gnu.org
2008-06-12 18:30 [Bug bootstrap/36512] New: [4.3.0/4.3.1 regression] " kate01123 at gmail dot com
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).