https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
R. Diez changed:
What|Removed |Added
CC||rdiezmail-gcc at yahoo dot de
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #16 from Jonathan Wakely ---
For the record, r12-8589-gade3197134cc9e was needed to fix something in the
commits above, and was also backported to gcc-12.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
Jonathan Wakely changed:
What|Removed |Added
Target Milestone|13.0|12.2
--- Comment #15 from Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #14 from CVS Commits ---
The releases/gcc-12 branch has been updated by Sebastian Huber
:
https://gcc.gnu.org/g:ade3197134cc9ed2b7e589a7b58c73110ae13f1c
commit r12-8589-gade3197134cc9ed2b7e589a7b58c73110ae13f1c
Author: Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #12 from CVS Commits ---
The master branch has been updated by Jonathan Wakely :
https://gcc.gnu.org/g:1e65f2ed99024f23c56f7b6a961898bcaa882a92
commit r13-1039-g1e65f2ed99024f23c56f7b6a961898bcaa882a92
Author: Jonathan Wakely
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
Jonathan Wakely changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #10 from Chris Johns ---
(In reply to Jonathan Wakely from comment #9)
> Created attachment 53103 [details]
> Fix lifetime bugs for non-TLS eh_globals
>
> Does this work?
That is a great way to solve this problem given the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #9 from Jonathan Wakely ---
Created attachment 53103
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53103=edit
Fix lifetime bugs for non-TLS eh_globals
Does this work?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #8 from Jonathan Wakely ---
As Andrew says, the problem here is that __cxa_get_globals is being used after
the global has been destroyed. Nothing done to the _M_init member in the
destructor can be changed to fix that, accessing an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #7 from Jonathan Wakely ---
(In reply to Chris Johns from comment #6)
> It would have to be last or close to it and I have no idea how that could be
> done without additional attributes that are not standard.
That's fine, the C++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #6 from Chris Johns ---
(In reply to Andrew Pinski from comment #5)
> There has to be an ordering issue of the calling of the deconstructors vs
> the ordering of the constructors.
>
> Maybe the problem is the `eh_gloabls init`
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #5 from Andrew Pinski ---
There has to be an ordering issue of the calling of the deconstructors vs the
ordering of the constructors.
Maybe the problem is the `eh_gloabls init` priority is not set correctly to be
first/last.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #4 from Chris Johns ---
(In reply to Andrew Pinski from comment #3)
> Sounds like the order of deconstructors is wrong.
> Where is __cxxabiv1::__cxa_get_globals being called from that is the problem?
The
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #3 from Andrew Pinski ---
Sounds like the order of deconstructors is wrong.
Where is __cxxabiv1::__cxa_get_globals being called from that is the problem?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #2 from Andrew Pinski ---
(In reply to Sebastian Huber from comment #1)
> Just for reference, the destructor code is (eh_globals.cc):
>
> struct __eh_globals_init
> {
> __gthread_key_t _M_key;
> bool
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
Sebastian Huber changed:
What|Removed |Added
CC||sebastian.huber@embedded-br
17 matches
Mail list logo