[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-06-12 Thread hp at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=16698

Hans-Peter Nilsson  changed:

   What|Removed |Added

 CC|hp at sourceware dot org   |

--- Comment #5 from Hans-Peter Nilsson  ---
Please don't add random maintainers to CC.

-- 
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/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698

maillist-gdb at barfooze dot de changed:

   What|Removed |Added

 CC||maillist-gdb at barfooze dot de

--- Comment #4 from maillist-gdb at barfooze dot de ---
Created attachment 7634
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7634&action=edit
testcase

it was probably broken by the same commit that broke
https://sourceware.org/bugzilla/show_bug.cgi?id=14189#c3

here is a reduced testcase (created with delta, could probably be further
reduced with c-reduce).

-- 
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/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698

maillist-gdb at barfooze dot de changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com,
   ||hp at sourceware dot org,
   ||nickc at redhat dot com,
   ||richard.sandiford at linaro 
dot or
   ||g
   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=14189

-- 
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/14189] --gc-sections doesn't work

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=14189

maillist-gdb at barfooze dot de changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=16698

-- 
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/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698

--- Comment #3 from maillist-gdb at barfooze dot de ---
the bug is present in 2.23.1, 2.23.2, 2.24, and 2.24.51 snapshot from today,
but not in 2.22

-- 
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/15910] Support --default-symver in the gold linker

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15910

Cary Coutant  changed:

   What|Removed |Added

   Assignee|ian at airs dot com|ccoutant at google dot 
com

--- Comment #1 from Cary Coutant  ---
Sorry, I don't have any plans to implement --default-symver at this time. I
will accept a patch, though.

-- 
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/15938] --start/--end-lib renders --print-map (Archive member included because of...) useless

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15938

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|ian at airs dot com|ccoutant at google dot 
com

-- 
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/15574] Gold is overly pedantic for dynamic references to symbols with hidden visibility

2014-06-12 Thread binutils at marino dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=15574

--- Comment #3 from John Marino  ---
This is exactly what I ended up doing, by the way:

--- gold/resolve.cc.orig2013-11-04 15:33:39.0 +
+++ gold/resolve.cc
@@ -276,8 +276,7 @@ Symbol_table::resolve(Sized_symbol
   to->set_in_reg();
 }
   else if (st_shndx == elfcpp::SHN_UNDEF
-   && (to->visibility() == elfcpp::STV_HIDDEN
-   || to->visibility() == elfcpp::STV_INTERNAL))
+   && (to->visibility() == elfcpp::STV_INTERNAL))
 {
   // A dynamic object cannot reference a hidden or internal symbol
   // defined in another object.

-- 
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/15574] Gold is overly pedantic for dynamic references to symbols with hidden visibility

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15574

--- Comment #4 from Cary Coutant  ---
> --- gold/resolve.cc.orig2013-11-04 15:33:39.0 +
> +++ gold/resolve.cc
> @@ -276,8 +276,7 @@ Symbol_table::resolve(Sized_symbol
>to->set_in_reg();
>  }
>else if (st_shndx == elfcpp::SHN_UNDEF
> -   && (to->visibility() == elfcpp::STV_HIDDEN
> -   || to->visibility() == elfcpp::STV_INTERNAL))
> +   && (to->visibility() == elfcpp::STV_INTERNAL))
>  {
>// A dynamic object cannot reference a hidden or internal symbol
>// defined in another object.

With your patch, the hidden symbol will end up in the dynamic symbol
table. See PR 10471. I think the proper patch would be to remove the
warning, but still return immediately.

-cary

-- 
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/15864] incremental linking: segfault i386::first_plt_entry_offset

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15864

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|ian at airs dot com|ccoutant at google dot 
com

-- 
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/15660] out of file descriptors and couldn't close any

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15660

Cary Coutant  changed:

   What|Removed |Added

 Status|WAITING |ASSIGNED

-- 
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/15646] gold-generated .gdb_index has duplicated symbols that gdb-generated index doesn't

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15646

Cary Coutant  changed:

   What|Removed |Added

   Assignee|ian at airs dot com|ccoutant at google dot 
com

-- 
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/15574] Gold is overly pedantic for dynamic references to symbols with hidden visibility

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15574

--- Comment #2 from Cary Coutant  ---
We print this warning before we see the shared object that contains the
non-hidden definition. Since gold (unlike BFD ld) does not try to emulate the
full binding behavior of the dynamic linker, there's really no way we can tell
for sure if there's going to be a non-hidden definition at runtime, so I think
the only feasible way to eliminate the false positives is to eliminate this
warning entirely.

-- 
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/16728] gold fails to hide hidden tls symbols

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16728

maillist-gdb at barfooze dot de changed:

   What|Removed |Added

   Target Milestone|--- |2.25

-- 
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/16728] gold fails to hide hidden tls symbols

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16728

--- Comment #1 from maillist-gdb at barfooze dot de ---
ping.
fixing this bug is crucial to make gold fit for real-world usage; instead of
staying a toy.

-- 
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/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698

--- Comment #2 from maillist-gdb at barfooze dot de ---
ping.
anyone up for bisecting 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/15530] Gold leaves undefined symbols when linking linux kernel module

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15530

Cary Coutant  changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING

--- Comment #4 from Cary Coutant  ---
Can you attach a copy of drivers/acpi/processor.mod.o, please?

-- 
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/16728] gold fails to hide hidden tls symbols

2014-06-12 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16728

maillist-gdb at barfooze dot de changed:

   What|Removed |Added

   Severity|normal  |critical

-- 
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/15530] Gold leaves undefined symbols when linking linux kernel module

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15530

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|ian at airs dot com|ccoutant at google dot 
com

--- Comment #3 from Cary Coutant  ---
Note that the above commit messages have nothing to do with this PR. They
should have been marked for PR 16530, not this one.

-- 
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/16530] --dynamic-list does not protect symbols from being garbage collected

2014-06-12 Thread ccoutant at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16530

--- Comment #5 from Cary Coutant  ---
The following commit was mistakenly marked for the PR 15530 instead of this
one:

- Log -
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f17706eaab537a33ad6f13a094f18c1acaea

commit f17706eaab537a33ad6f13a094f18c1acaea
Author: Alan Modra 
Date:   Wed Feb 12 21:08:01 2014 +1030

PR15530, mark symbol in executables if it matches dynamic_list

For powerpc64 as HJ did earlier for other ELF targets, and a tidy.

PR gold/15530
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support
--export-dynamic and --dynamic-list marking of symbols.
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Reorder
cheap tests first.

---

Summary of changes:
 bfd/ChangeLog   |7 +++
 bfd/elf64-ppc.c |9 +++--
 bfd/elflink.c   |   11 ++-
 3 files changed, 20 insertions(+), 7 deletions(-)

-- 
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/15530] Gold leaves undefined symbols when linking linux kernel module

2014-06-12 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=15530

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, binutils-2_24-branch has been updated
   via  f17706eaab537a33ad6f13a094f18c1acaea (commit)
  from  6c8d8bfdad7a36b97efa887bb2e6ec69c2fb61a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f17706eaab537a33ad6f13a094f18c1acaea

commit f17706eaab537a33ad6f13a094f18c1acaea
Author: Alan Modra 
Date:   Wed Feb 12 21:08:01 2014 +1030

PR15530, mark symbol in executables if it matches dynamic_list

For powerpc64 as HJ did earlier for other ELF targets, and a tidy.

PR gold/15530
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support
--export-dynamic and --dynamic-list marking of symbols.
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Reorder
cheap tests first.

---

Summary of changes:
 bfd/ChangeLog   |7 +++
 bfd/elf64-ppc.c |9 +++--
 bfd/elflink.c   |   11 ++-
 3 files changed, 20 insertions(+), 7 deletions(-)

-- 
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/16530] --dynamic-list does not protect symbols from being garbage collected

2014-06-12 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16530

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, binutils-2_24-branch has been updated
   via  6c8d8bfdad7a36b97efa887bb2e6ec69c2fb61a9 (commit)
  from  9da92c3812d5b5ddca09b4732939f1645d89bc59 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6c8d8bfdad7a36b97efa887bb2e6ec69c2fb61a9

commit 6c8d8bfdad7a36b97efa887bb2e6ec69c2fb61a9
Author: H.J. Lu 
Date:   Thu Feb 6 09:44:25 2014 -0800

Mark symbol in executables if it matches dynamic_list

bfd/

PR gold/16530
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark symbol in
executables if it matches dynamic_list.

ld/testsuite/

PR gold/16530
* ld-elf/dynamic-1.c: New file.
* ld-elf/dynamic-1.rd: Likewise.
* ld-elf/dynamic-1.syms: Likewise.

* ld-elf/shared.exp (build_tests): Add dynamic-1.

---

Summary of changes:
 bfd/ChangeLog  |5 +
 bfd/elflink.c  |6 +-
 ld/testsuite/ChangeLog |   10 ++
 ld/testsuite/ld-elf/dynamic-1.c|   10 ++
 ld/testsuite/ld-elf/dynamic-1.rd   |5 +
 ld/testsuite/ld-elf/dynamic-1.syms |3 +++
 ld/testsuite/ld-elf/shared.exp |3 +++
 7 files changed, 41 insertions(+), 1 deletions(-)
 create mode 100644 ld/testsuite/ld-elf/dynamic-1.c
 create mode 100644 ld/testsuite/ld-elf/dynamic-1.rd
 create mode 100644 ld/testsuite/ld-elf/dynamic-1.syms

-- 
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/17047] BFD ld crashes on cleanup, if MALLOC_PERTURB_ is set

2014-06-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17047

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

--- Comment #1 from Alan Modra  ---
Thanks for the patch.  It looks good but I'm going to try to fix the underlying
problem that freeing the linker hash table is disconnected from closing the
linker output bfd.

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