[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #22 from Robert West --- Thanks for the patches although I didn't saw difference in checklog after applying them to 2.28.0. I tested both Nick's and H.J. Lu versions. Is it only applicable to current master or it's just a minor fix? Am I missing something? I think the main problem is still what Cary Coutant said: > Similar problem, but this time with incremental linking. If we've already > done the mov-to-lea conversion during the initial link, an incremental > update will not be able to apply the correct relocation. > >I'm working on a fix. I'm headed out of town, though, so it'll be a few days. I tried contact him to ask if he's still interested in fixing this be I didn't get answer. Anyway thank you for helping with this. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #18 from Robert West --- Created attachment 9905 --> https://sourceware.org/bugzilla/attachment.cgi?id=9905=edit binutils 2.28 checklog pie_vs_pie-patch.diff -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 Robert West changed: What|Removed |Added Version|2.27|2.28 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #17 from Robert West --- Created attachment 9904 --> https://sourceware.org/bugzilla/attachment.cgi?id=9904=edit binutils 2.28 checklog no-pie_vs_pie.diff I retested this against binutils 2.28. Here are the results: ### binutils-2.28/gcc 6.3.1/no pie: $ grep Error binutils-2.28-check.log readelf: Error: the PHDR segment is not covered by a LOAD segment make[5]: *** [Makefile:3678: check-DEJAGNU] Error 1 make[4]: *** [Makefile:1953: check-am] Error 2 make[3]: *** [Makefile:1793: check-recursive] Error 1 make[2]: *** [Makefile:1955: check] Error 2 make[1]: *** [Makefile:7548: check-ld] Error 2 make[3]: [Makefile:140: site.exp] Error 2 (ignored) make[3]: [Makefile:141: site.exp] Error 1 (ignored) make: *** [Makefile:2207: do-check] Error 2 === ld Summary === # of expected passes1778 # of unexpected failures1 # of expected failures 57 # of untested testcases 1 # of unsupported tests 12 /build/binutils/src/binutils-build/ld/ld-new 2.28 ### binutils-2.28/gcc 6.3.1 --enable-default-pie: $ grep Error binutils-2.28-pie-check.log make[5]: *** [Makefile:7239: incremental_test_2] Error 1 make[5]: *** [Makefile:7263: incremental_test_5] Error 1 make[5]: *** [Makefile:7278: incremental_copy_test] Error 1 make[5]: *** [Makefile:7284: incremental_common_test_1] Error 1 readelf: Error: the PHDR segment is not covered by a LOAD segment make[5]: *** [Makefile:7206: ehdr_start_test_4] Error 1 make[4]: *** [Makefile:5675: check-am] Error 2 make[3]: *** [Makefile:5679: check] Error 2 make[2]: *** [Makefile:941: check-recursive] Error 1 make[1]: *** [Makefile:6135: check-gold] Error 2 make[5]: *** [Makefile:3678: check-DEJAGNU] Error 1 make[4]: *** [Makefile:1953: check-am] Error 2 make[3]: *** [Makefile:1793: check-recursive] Error 1 make[2]: *** [Makefile:1955: check] Error 2 make[1]: *** [Makefile:7548: check-ld] Error 2 make[3]: [Makefile:140: site.exp] Error 2 (ignored) make[3]: [Makefile:141: site.exp] Error 1 (ignored) make: *** [Makefile:2207: do-check] Error 2 === ld Summary === # of expected passes1775 # of unexpected failures4 # of expected failures 57 # of untested testcases 1 # of unsupported tests 12 /build/binutils/src/binutils-build/ld/ld-new 2.28 ### binutils-2.28/gcc 6.3.1 --enable-default-pie/+ patch https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ed35cc4a1cb76fd9ac53ad19efb97ee2caffbae9 included: $ grep Error binutils-2.28-pie-patch-check.log make[5]: *** [Makefile:7239: incremental_test_2] Error 1 make[5]: *** [Makefile:7263: incremental_test_5] Error 1 make[5]: *** [Makefile:7278: incremental_copy_test] Error 1 make[5]: *** [Makefile:7284: incremental_common_test_1] Error 1 readelf: Error: the PHDR segment is not covered by a LOAD segment make[4]: *** [Makefile:5675: check-am] Error 2 make[3]: *** [Makefile:5679: check] Error 2 make[2]: *** [Makefile:941: check-recursive] Error 1 make[1]: *** [Makefile:6135: check-gold] Error 2 make[5]: *** [Makefile:3678: check-DEJAGNU] Error 1 make[4]: *** [Makefile:1953: check-am] Error 2 make[3]: *** [Makefile:1793: check-recursive] Error 1 make[2]: *** [Makefile:1955: check] Error 2 make[1]: *** [Makefile:7548: check-ld] Error 2 make[3]: [Makefile:140: site.exp] Error 2 (ignored) make[3]: [Makefile:141: site.exp] Error 1 (ignored) make: *** [Makefile:2207: do-check] Error 2 === ld Summary === # of expected passes1774 # of unexpected failures5 # of expected failures 57 # of untested testcases 1 # of unsupported tests 12 /build/binutils/src/binutils-build/ld/ld-new 2.28 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #13 from Robert West --- Created attachment 9789 --> https://sourceware.org/bugzilla/attachment.cgi?id=9789=edit binutils-git no-pie -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #9 from Robert West --- Created attachment 9786 --> https://sourceware.org/bugzilla/attachment.cgi?id=9786=edit checklog v2.27 pie -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 Robert West changed: What|Removed |Added Attachment #9778|0 |1 is obsolete|| Attachment #9779|0 |1 is obsolete|| Attachment #9780|0 |1 is obsolete|| --- Comment #8 from Robert West --- Created attachment 9785 --> https://sourceware.org/bugzilla/attachment.cgi?id=9785=edit checklog v2.27 no-pie My previous checklogs were contaminated by my custom environment. These are as clean as I can get -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #5 from Robert West --- Created attachment 9781 --> https://sourceware.org/bugzilla/attachment.cgi?id=9781=edit buildlog v2.27 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #3 from Robert West --- Created attachment 9779 --> https://sourceware.org/bugzilla/attachment.cgi?id=9779=edit checklog git with patch -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 --- Comment #2 from Robert West --- Created attachment 9778 --> https://sourceware.org/bugzilla/attachment.cgi?id=9778=edit checklog v2.27 Hi Nick, Thanks for answer. I added attachments with checklogs. I cannot apply your patch against 2.27 version which arch uses so I had to do against current git master. Unfortunately there seems no difference in testsuite with and without patch. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/21090] New: gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 Bug ID: 21090 Summary: gcc compiled with --enable-default-pie show errors in binutils testsuite Product: binutils Version: 2.27 Status: UNCONFIRMED Severity: minor Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: lksfbdij at 10mail dot org Target Milestone: --- Hi! Archlinux is planning to enable -PIE flag in gcc by default however after this change binutils compilation shows numerous errors in testsuite: gcc 6.3.1, default settings ( https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gcc ): grep Error binutils-2.27-1-x86_64-check.log make[3]: [Makefile:140: site.exp] Error 2 (ignored) make[3]: [Makefile:141: site.exp] Error 1 (ignored) gcc 6.3.1, default settings with --enable-default-pie: grep Error binutils-2.27-1.90-x86_64-check.log make[3]: [Makefile:140: site.exp] Error 2 (ignored) make[3]: [Makefile:141: site.exp] Error 1 (ignored) make[5]: *** [Makefile:7038: incremental_test_2] Error 1 make[5]: *** [Makefile:7062: incremental_test_5] Error 1 make[5]: *** [Makefile:7009: ehdr_start_test_4] Error 1 make[4]: *** [Makefile:5520: check-am] Error 2 make[3]: *** [Makefile:5524: check] Error 2 make[2]: *** [Makefile:940: check-recursive] Error 1 make[1]: *** [Makefile:6135: check-gold] Error 2 make[5]: *** [Makefile:3646: check-DEJAGNU] Error 1 make[4]: *** [Makefile:1940: check-am] Error 2 make[3]: *** [Makefile:1780: check-recursive] Error 1 make[2]: *** [Makefile:1942: check] Error 2 make[1]: *** [Makefile:7548: check-ld] Error 2 make: *** [Makefile:2207: do-check] Error 2 binutils default build settings ( https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/binutils ) Those errors are currently blocking developers from making the change. I'll be grateful if someone could help fixing them. Discussion: https://bbs.archlinux.org/viewtopic.php?pid=1682854 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils