[Bug libgcc/90399] split-stack + shared library + static object construction (C++)

2019-05-08 Thread mkarsten at uwaterloo dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90399 --- Comment #2 from Martin Karsten --- I single-stepped through the call 0x77fc71f5 <+107>: callq 0x77fc7040 <__splitstack_makecontext@plt> and via indirect rip-relative addressing, it ends up at the (executable) __splitstack_ma

[Bug libgcc/90399] split-stack + shared library + static object construction (C++)

2019-05-08 Thread mkarsten at uwaterloo dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90399 --- Comment #1 from Martin Karsten --- Sorry, I accidentally included a version of the Makefile that I had used for testing and that contains the flag '-nodefaultlibs' when building the library. This leads to other problems. The correct Makefile

[Bug libgcc/90399] New: split-stack + shared library + static object construction (C++)

2019-05-08 Thread mkarsten at uwaterloo dot ca
Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: mkarsten at uwaterloo dot ca Target Milestone: --- Created attachment 46316 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46316&action=edit example code and gdb outpu