Re: [PATCH] PR libstdc++/51333 Define recursive_init_error constructor non-inline

2019-07-31 Thread Jonathan Wakely
On 29/07/19 15:27 +0100, Jonathan Wakely wrote: The recursive_init_error class is defined in a header, with an inline constructor, but the definition of the vtable and destructor are not exported from the shared library. With -fkeep-inline-functions the constructor gets emitted in user code, and

[PATCH] PR libstdc++/51333 Define recursive_init_error constructor non-inline

2019-07-29 Thread Jonathan Wakely
The recursive_init_error class is defined in a header, with an inline constructor, but the definition of the vtable and destructor are not exported from the shared library. With -fkeep-inline-functions the constructor gets emitted in user code, and requires the (non-exported) vtable. This fails to