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
* [Bug target/115633] [15 Regression] powerpc64le: "relocation truncated to fit: R_PPC64_TOC16 against `.rodata.cst4'" with (default) '-flate-combine-instructions' 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 ` sjames at gcc dot gnu.org 2024-06-25 8:29 ` rsandifo at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: sjames at gcc dot gnu.org @ 2024-06-25 8:28 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115633 Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- I thought it wasn't supposed to be default on powerpc? (PR115612) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/115633] [15 Regression] powerpc64le: "relocation truncated to fit: R_PPC64_TOC16 against `.rodata.cst4'" with (default) '-flate-combine-instructions' 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 ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rsandifo at gcc dot gnu.org @ 2024-06-25 8:29 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115633 --- Comment #2 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- -flate-combine-instructions is supposed to be disabled by default for all powerpc targets. Could you look at why that isn't the case for you? ^ permalink raw reply [flat|nested] 6+ messages in thread
* [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 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 ` 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 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2024-06-25 9:49 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115633 --- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Thomas Schwinge <tschwinge@gcc.gnu.org>: https://gcc.gnu.org/g:70480055636c2ca79761cb4440e930daa16bb7aa commit r15-1607-g70480055636c2ca79761cb4440e930daa16bb7aa Author: Thomas Schwinge <tschwinge@baylibre.com> Date: Tue Jun 25 10:55:41 2024 +0200 rs6000: Properly default-disable late-combine passes [PR106594, PR115622, PR115633] ..., so that it also works for '__attribute__ ((optimize("[...]")))' etc. PR target/106594 PR target/115622 PR target/115633 gcc/ * config/rs6000/rs6000.cc (rs6000_option_override_internal): Move default-disable of late-combine passes from here... (rs6000_override_options_after_change): ... to here. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [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 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 ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-06-25 10:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115633 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |15.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [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 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 ` (3 preceding siblings ...) 2024-06-25 10:10 ` rguenth at gcc dot gnu.org @ 2024-06-25 10:12 ` tschwinge at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: tschwinge at gcc dot gnu.org @ 2024-06-25 10:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115633 Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=115612 | --- Comment #4 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Fixed. ^ 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).