Re: RFA: PATCH to add -fno-gnu-unique for c++/60731

2014-04-03 Thread Richard Biener
On Wed, Apr 2, 2014 at 9:24 PM, Jason Merrill wrote: > Use of STB_GNU_UNIQUE to avoid problems with variable symbols shared between > two RTLD_LOCAL plugins and a common library dependency causes problems with > libraries that depend on dlclose/dlopen to reinitialize state. This patch > adds a -f

RFA: PATCH to add -fno-gnu-unique for c++/60731

2014-04-02 Thread Jason Merrill
Use of STB_GNU_UNIQUE to avoid problems with variable symbols shared between two RTLD_LOCAL plugins and a common library dependency causes problems with libraries that depend on dlclose/dlopen to reinitialize state. This patch adds a -fno-gnu-unique flag that such libraries can use. Tested x8