[Bug gold/21090] gcc compiled with --enable-default-pie show errors in binutils testsuite
https://sourceware.org/bugzilla/show_bug.cgi?id=21090 Cary Coutant changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Cary Coutant --- Fixed on master. OK to cherry-pick to older releases as needed. -- 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 #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Cary Coutant: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ed35cc4a1cb76fd9ac53ad19efb97ee2caffbae9 commit ed35cc4a1cb76fd9ac53ad19efb97ee2caffbae9 Author: Cary Coutant Date: Tue Jan 31 16:32:59 2017 -0800 Don't allow mov-to-lea optimization for __ehdr_start. gold/ PR gold/21090 * x86_64.cc (Target_x86_64::can_convert_mov_to_lea): Add check for predefined symbol. (Target_x86_64::Relocate::relocate): Fix formatting. -- 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 ld/20828] GC-ed DSO symbols make corresponding symbols defined by a linker script local
https://sourceware.org/bugzilla/show_bug.cgi?id=20828 --- Comment #31 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Maciej W. Rozycki: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=15a00b13aedc6300732d0b3b6b9daefa361ced6f commit 15a00b13aedc6300732d0b3b6b9daefa361ced6f Author: Maciej W. Rozycki Date: Tue Jan 31 17:59:44 2017 + PR ld/20828: LD/testsuite: Correct indentation ld/ PR ld/20828 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test indentation. -- 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 gas/21098] New: [AArch64] ilp32 no warning or error generated for "ldr x24, [x23, :got_lo12:sym]"
https://sourceware.org/bugzilla/show_bug.cgi?id=21098 Bug ID: 21098 Summary: [AArch64] ilp32 no warning or error generated for "ldr x24, [x23, :got_lo12:sym]" Product: binutils Version: 2.28 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: joelkevinjones at gmail dot com Target Milestone: --- crb6 % cat ldr-reloc.s ldr x24, [x23, :got_lo12:sym] ldr w24, [x23, :got_lo12:sym] crb6 % as -mabi=ilp32 -o ldr-reloc.o ldr-reloc.s crb6 % objdump -dr ldr-reloc.o ldr-reloc.o: file format elf32-littleaarch64 Disassembly of section .text: <.text>: 0: f94002f8ldr x24, [x23] 0: R_AARCH64_P32_LD32_GOT_LO12_NC sym 4: b94002f8ldr w24, [x23] 4: R_AARCH64_P32_LD32_GOT_LO12_NC sym crb6 % as --version GNU assembler (GNU Binutils) 2.28.51.20170130 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `aarch64-unknown-linux-gnu'. -- 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/21096] New: gcc7 warnings
https://sourceware.org/bugzilla/show_bug.cgi?id=21096 Bug ID: 21096 Summary: gcc7 warnings Product: binutils Version: 2.29 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: dilyan.palauzov at aegee dot org Target Milestone: --- When I compile bingutils-gdb with gcc7 I get the following warnings: In file included from /git/binutils-gdb/bfd/coff-i386.c:614:0, from /git/binutils-gdb/bfd/pei-i386.c:45: /git/binutils-gdb/bfd/coffcode.h: In function ‘coff_write_object_contents’: /git/binutils-gdb/bfd/coffcode.h:3775:46: error: ‘%lu’ directive output may be truncated writing between 1 and 20 bytes into a region of size 8 [-Werror=format-truncation=] snprintf (s_name_buf, SCNNMLEN + 1, "/%lu", (unsigned long) string_size); ^~~ /git/binutils-gdb/bfd/coffcode.h:3775:44: note: directive argument in the range [4, 18446744073709551614] snprintf (s_name_buf, SCNNMLEN + 1, "/%lu", (unsigned long) string_size); ^~ /git/binutils-gdb/bfd/coffcode.h:3775:8: note: format output between 3 and 22 bytes into a destination of size 9 snprintf (s_name_buf, SCNNMLEN + 1, "/%lu", (unsigned long) string_size); ^~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:1688: pei-i386.lo] Error 1 /git/binutils-gdb/bfd/elf32-nds32.c: In function ‘nds32_elf_pick_relax’: /git/binutils-gdb/bfd/elf32-nds32.c:14976:27: error: ‘%08lx’ directive output may be truncated writing between 8 and 16 bytes into a region of size 9 [-Werror=format-truncation=] snprintf (code, 9, "%08lx", insn); ^ /git/binutils-gdb/bfd/elf32-nds32.c:14976:26: note: using the range [1, 18446744073709551615] for directive argument snprintf (code, 9, "%08lx", insn); ^~~ /git/binutils-gdb/bfd/elf32-nds32.c:14976:7: note: format output between 9 and 17 bytes into a destination of size 9 snprintf (code, 9, "%08lx", insn); ^ cc1: all warnings being treated as errors make[2]: *** [Makefile:1688: elf32-nds32.lo] Error 1 /git/binutils-gdb/opcodes/aarch64-opc.c: In function ‘print_register_offset_address’: /git/binutils-gdb/opcodes/aarch64-opc.c:2967:29: error: ‘%li’ directive output may be truncated writing between 1 and 20 bytes into a region of size 12 [-Werror=format-truncation=] snprintf (tb, sizeof (tb), ", %s #%" PRIi64, shift_name, ^ /git/binutils-gdb/opcodes/aarch64-opc.c:2967:36: note: format string is defined here snprintf (tb, sizeof (tb), ", %s #%" PRIi64, shift_name, /git/binutils-gdb/opcodes/aarch64-opc.c:2967:29: note: using the range [1, -9223372036854775808] for directive argument snprintf (tb, sizeof (tb), ", %s #%" PRIi64, shift_name, ^ /git/binutils-gdb/opcodes/aarch64-opc.c:2967:2: note: format output between 6 and 25 bytes into a destination of size 16 snprintf (tb, sizeof (tb), ", %s #%" PRIi64, shift_name, ^~~~ opnd->shifter.amount); ~ /git/binutils-gdb/opcodes/aarch64-opc.c: In function ‘print_register_list’: /git/binutils-gdb/opcodes/aarch64-opc.c:2868:22: error: ‘%li’ directive output may be truncated writing between 1 and 20 bytes into a region of size 7 [-Werror=format-truncation=] snprintf (tb, 8, "[%" PRIi64 "]", opnd->reglist.index); ^~~~ /git/binutils-gdb/opcodes/aarch64-opc.c:2868:24: note: format string is defined here snprintf (tb, 8, "[%" PRIi64 "]", opnd->reglist.index); /git/binutils-gdb/opcodes/aarch64-opc.c:2868:22: note: using the range [1, -9223372036854775808] for directive argument snprintf (tb, 8, "[%" PRIi64 "]", opnd->reglist.index); ^~~~ /git/binutils-gdb/opcodes/aarch64-opc.c:2868:5: note: format output between 4 and 23 bytes into a destination of size 8 snprintf (tb, 8, "[%" PRIi64 "]", opnd->reglist.index); ^~ cc1: all warnings being treated as errors make[2]: *** [Makefile:1003: aarch64-opc.lo] Error 1 make[1]: *** [Makefile:1046: all-recursive] Error 1 make: *** [Makefile:693: all] Error 2 -- 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 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-01-31 CC||ian at airs dot com Component|binutils|gold Assignee|unassigned at sourceware dot org |ccoutant at gmail dot com Ever confirmed|0 |1 --- Comment #7 from Nick Clifton --- Hi Robert, Well given that the failures you report in the description are due to an internal error in the gold linker, I am resetting the component for this PR. I have also uploaded an extracted version of one of the failing gold tests that reproduces the internal error in gold. I hope that this will allow the gold maintainers to track down the bug. Cheers Nick -- 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 #6 from Nick Clifton --- Created attachment 9783 --> https://sourceware.org/bugzilla/attachment.cgi?id=9783=edit Test file Link, using gold, with: ./ld-new --eh-frame-hdr -m elf_x86_64 -Ttext=0x100100 ehdr_start_test_4.o Result: ./ld-new: internal error in relocate, at gold/x86_64.cc:4246 -- 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