public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/115633] New: [15 Regression] powerpc64le: "relocation truncated to fit: R_PPC64_TOC16 against `.rodata.cst4'" with (default) '-flate-combine-instructions'
@ 2024-06-25  8:27 tschwinge at gcc dot gnu.org
  2024-06-25  8:28 ` [Bug target/115633] " sjames at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2024-06-25  8:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115633
           Summary: [15 Regression] powerpc64le: "relocation truncated to
                    fit: R_PPC64_TOC16 against `.rodata.cst4'" with
                    (default) '-flate-combine-instructions'
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: rsandifo at gcc dot gnu.org, seurer at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc64le-unknown-linux-gnu

With commit r15-1579-g792f97b44ffc5e6a967292b3747fd835e99396e7 "Add a
late-combine pass [PR106594]", I see on powerpc64le-unknown-linux-gnu a number
of "relocation truncated to fit: R_PPC64_TOC16 against `.rodata.cst4'" etc.
with (default) '-flate-combine-instructions':

    [-PASS:-]{+FAIL:+} gcc.dg/pr91734.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gcc.dg/pr91734.c [-execution test-]{+compilation
failed to produce executable+}

    /tmp/ccOWP7Yx.o: in function `f2':
    pr91734.c:(.text+0x38): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'
    /tmp/ccOWP7Yx.o: in function `f3':
    pr91734.c:(.text+0x68): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'
    /tmp/ccOWP7Yx.o: in function `f4':
    pr91734.c:(.text+0x98): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+4
    /tmp/ccOWP7Yx.o: in function `f5':
    pr91734.c:(.text+0xc8): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+8
    /tmp/ccOWP7Yx.o: in function `f6':
    pr91734.c:(.text+0xf8): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+c
    /tmp/ccOWP7Yx.o: in function `f7':
    pr91734.c:(.text+0x128): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+10
    /tmp/ccOWP7Yx.o: in function `f8':
    pr91734.c:(.text+0x158): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+14
    /tmp/ccOWP7Yx.o: in function `f9':
    pr91734.c:(.text+0x188): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+18
    /tmp/ccOWP7Yx.o: in function `f10':
    pr91734.c:(.text+0x1b8): relocation truncated to fit: R_PPC64_TOC16 against
`.rodata.cst4'+1c
    collect2: error: ld returned 1 exit status

This is with the Debian GNU/Linux 12 (bookworm) binutils 2.40-2 package.  (...,
in case that's where the problem is...)

Similarly:

    [-PASS:-]{+FAIL:+} gcc.dg/sinatan-1.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gcc.dg/sinatan-1.c [-execution test-]{+compilation
failed to produce executable+}

    [-PASS:-]{+FAIL:+} gcc.dg/ipa/inline-8.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} gcc.dg/ipa/inline-8.c [-execution
test-]{+compilation failed to produce executable+}

..., and (roughly) all 'gcc.dg/vect/tsvc/[...]' test cases that don't use
'-flto'.

                    === gcc Summary ===

    # of expected passes            [-179982-]{+179673+}
    # of unexpected failures        [-127-]{+282+}
    # of unexpected successes       20
    # of expected failures          1612
    {+# of unresolved testcases     154+}
    # of unsupported tests          4394

Additionally:

    [-PASS:-]{+FAIL:+} libgomp.c/simd-math-1.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c/simd-math-1.c [-execution
test-]{+compilation failed to produce executable+}


I see a number of recent <gcc-testresults@gcc.gnu.org> emails by Bill Seurer
that contain a similar set of new FAILs, so putting you in CC here.

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

end of thread, other threads:[~2024-06-25 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-25  8:27 [Bug target/115633] New: [15 Regression] powerpc64le: "relocation truncated to fit: R_PPC64_TOC16 against `.rodata.cst4'" with (default) '-flate-combine-instructions' tschwinge at gcc dot gnu.org
2024-06-25  8:28 ` [Bug target/115633] " sjames at gcc dot gnu.org
2024-06-25  8:29 ` rsandifo at gcc dot gnu.org
2024-06-25  9:49 ` [Bug target/115633] [15 Regression] powerpc64le: "relocation truncated to fit: R_PPC64_TOC16 against `.rodata.cst4'" with (default) '-flate-combine-instructions' since r15-1579-g792f97b44ffc5e6a967292b3747fd835e99396e7 cvs-commit at gcc dot gnu.org
2024-06-25 10:10 ` rguenth at gcc dot gnu.org
2024-06-25 10:12 ` tschwinge at gcc dot gnu.org

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