[Bug ld/22762] missing static variable constructor calls

2018-07-09 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Martin Storsjö changed: What|Removed |Added CC||martin at martin dot st --- Comment

[Bug ld/22762] missing static variable constructor calls

2018-03-31 Thread jeremip11 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Jeremi changed: What|Removed |Added CC||jeremip11 at gmail dot com -- You are recei

[Bug ld/22762] missing static variable constructor calls

2018-03-21 Thread boklm at torproject dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Nicolas Vigier changed: What|Removed |Added CC||boklm at torproject dot org --- Comm

[Bug ld/22762] missing static variable constructor calls

2018-02-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The binutils-2_30-branch branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a985e9b9deabd81e16754584f4397a638e9d3f36 commit a985e9b9deab

[Bug ld/22762] missing static variable constructor calls

2018-02-03 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #12 from Hannes Domani --- (In reply to Nick Clifton from comment #9) > Well I have been wracking my brains for a couple of days now, and I cannot > think of a better solution either. You first suggested this: > This would imply th

[Bug ld/22762] missing static variable constructor calls

2018-02-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b0daac83d78c82f7998287bb717063c4d01d4f97 commit b0daac83d78c82f7998287bb71

[Bug ld/22762] missing static variable constructor calls

2018-02-03 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ld/22762] missing static variable constructor calls

2018-02-03 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #9 from Nick Clifton --- Hi Hannes, > But I've just removed the PROVIDE()'s to make it work again, that's good > enough as a workaround for me. Well I have been wracking my brains for a couple of days now, and I cannot think of a

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #8 from Hannes Domani --- (In reply to Nick Clifton from comment #7) > In the meantime please could you see if adding: > > -Wl,--defsym,__CTOR_LIST__=.ctors > > to your command line will act a workaround for the problem

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #7 from Nick Clifton --- Hi Domani, Thanks for the _ctor.o file. I think that I understand the problem now. The _ctor.o file defines the __CTOR_LIST__ symbol as a common symbol (ie uninitialized). These symbols can be ove

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #6 from Domani Hannes --- Created attachment 10769 --> https://sourceware.org/bugzilla/attachment.cgi?id=10769&action=edit _ctors.o -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #5 from Nick Clifton --- Hi Domani, Thanks. So the __CTOR_LIST__ symbol is indeed wrong - it is pointing to somewhere in the middle of the .bss section. It looks to me like the culprit is the _ctors.o file. Would you mind upl

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #4 from Domani Hannes --- Created attachment 10766 --> https://sourceware.org/bugzilla/attachment.cgi?id=10766&action=edit compiled testcase used options: > g++ -g -ostatic-var.exe static-var.cpp -- You are receiving this mail

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #3 from Nick Clifton --- Hi Domani, > And once I remove those PROVIDE()'s again, everything works again. > > PS: Originally I had opened this gdb bug: > https://sourceware.org/bugzilla/show_bug.cgi?id=22757 > Someone mentioned th

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 --- Comment #2 from Domani Hannes --- > Are you saying that that commit broke static constructors ? Yes, exactly. > This would imply that the placement of the __CTOR_LIST__ symbol in > libgcc(_ctors.o) is incorrect, so that when the sta

[Bug ld/22762] missing static variable constructor calls

2018-02-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug ld/22762] missing static variable constructor calls

2018-01-30 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Domani Hannes changed: What|Removed |Added Target||*mingw* -- You are receiving this ma

[Bug ld/22762] missing static variable constructor calls

2018-01-30 Thread ssbssa at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=22762 Domani Hannes changed: What|Removed |Added CC||ssbssa at yahoo dot de -- You are re