public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56001] New: [4.7.3 regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux
@ 2013-01-16 10:26 mikpe at it dot uu.se
  2013-01-16 15:26 ` [Bug bootstrap/56001] [4.7 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2013-01-16 10:26 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56001
           Summary: [4.7.3 regression] relocation truncated to fit:
                    R_PPC_REL24 breaks bootstrap on powerpc64-linux
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Attempting to bootstrap gcc-4.7-20130112 on powepc64-linux fails for me with:

gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o cc1 c-lang.o
c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o
c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o
c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o
default-c.o rs6000-c.o \
  cc1-checksum.o main.o  libbackend.a libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   
-L/home/mikpe/pkgs/linux-ppc64/gmp-5.0.5/lib
-L/home/mikpe/pkgs/linux-ppc64/mpfr-3.1.1/lib
-L/home/mikpe/pkgs/linux-ppc64/mpc-1.0.1/lib -lmpc -lmpfr -lgmp   -L../zlib -lz
libbackend.a(except.o): In function `VEC_uchar_base_splice':
/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x9238): relocation
truncated to fit: R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in
.plt section in /usr/lib/../lib/crt1.o
libbackend.a(except.o): In function `VEC_uchar_base_quick_insert':
/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x92f0): relocation
truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in
.plt section in /usr/lib/../lib/crt1.o
libbackend.a(except.o): In function `VEC_uchar_base_ordered_remove':
/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x934c): relocation
truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in
.plt section in /usr/lib/../lib/crt1.o
libbackend.a(except.o): In function `VEC_uchar_base_block_remove':
/mnt/archive/gcc-4.7-20130112/gcc/vecprim.h:27:(.text+0x93c0): relocation
truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in
.plt section in /usr/lib/../lib/crt1.o
collect2: ld returned 1 exit status
make[3]: *** [cc1] Error 1
make[3]: Leaving directory `/mnt/archive/objdir47/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/archive/objdir47'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/archive/objdir47'
make: *** [bootstrap] Error 2

On the same machine with the same system toolchain (gcc-4.6.3, binutils-2.22),
both the previous 4.7 snapshot (4.7-20130105) and the current 4.8 snapshot
(4.8-20130113) bootstrapped fine.


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

* [Bug bootstrap/56001] [4.7 Regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux
  2013-01-16 10:26 [Bug bootstrap/56001] New: [4.7.3 regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
@ 2013-01-16 15:26 ` rguenth at gcc dot gnu.org
  2013-01-16 19:05 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-16 15:26 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
   Target Milestone|---                         |4.7.3
            Summary|[4.7.3 regression]          |[4.7 Regression] relocation
                   |relocation truncated to     |truncated to fit:
                   |fit: R_PPC_REL24 breaks     |R_PPC_REL24 breaks
                   |bootstrap on                |bootstrap on
                   |powerpc64-linux             |powerpc64-linux


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

* [Bug bootstrap/56001] [4.7 Regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux
  2013-01-16 10:26 [Bug bootstrap/56001] New: [4.7.3 regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
  2013-01-16 15:26 ` [Bug bootstrap/56001] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2013-01-16 19:05 ` schwab@linux-m68k.org
  2013-01-16 19:47 ` mikpe at it dot uu.se
  2013-01-22 22:03 ` mikpe at it dot uu.se
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-16 19:05 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-16 19:04:34 UTC ---
Is your toolchain using BSS PLT?


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

* [Bug bootstrap/56001] [4.7 Regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux
  2013-01-16 10:26 [Bug bootstrap/56001] New: [4.7.3 regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
  2013-01-16 15:26 ` [Bug bootstrap/56001] [4.7 Regression] " rguenth at gcc dot gnu.org
  2013-01-16 19:05 ` schwab@linux-m68k.org
@ 2013-01-16 19:47 ` mikpe at it dot uu.se
  2013-01-22 22:03 ` mikpe at it dot uu.se
  3 siblings, 0 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2013-01-16 19:47 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2013-01-16 19:47:20 UTC ---
(In reply to comment #1)
> Is your toolchain using BSS PLT?

I don't know, it's fairly vanilla.  Do you have some test I could run?


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

* [Bug bootstrap/56001] [4.7 Regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux
  2013-01-16 10:26 [Bug bootstrap/56001] New: [4.7.3 regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2013-01-16 19:47 ` mikpe at it dot uu.se
@ 2013-01-22 22:03 ` mikpe at it dot uu.se
  3 siblings, 0 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2013-01-22 22:03 UTC (permalink / raw)
  To: gcc-bugs


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

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

--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2013-01-22 22:03:13 UTC ---
Works now, with gcc-4.7-20130119 on a partially updated system (newer glibc,
binutils, system gcc, tcl, expect, dejagnu).  Closing.


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

end of thread, other threads:[~2013-01-22 22:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-16 10:26 [Bug bootstrap/56001] New: [4.7.3 regression] relocation truncated to fit: R_PPC_REL24 breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
2013-01-16 15:26 ` [Bug bootstrap/56001] [4.7 Regression] " rguenth at gcc dot gnu.org
2013-01-16 19:05 ` schwab@linux-m68k.org
2013-01-16 19:47 ` mikpe at it dot uu.se
2013-01-22 22:03 ` mikpe at it dot uu.se

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