[PATCH][Solaris] Default to -fno-cxa-finalize

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 06:28:12 PDT 2015


On Tue, Sep 08, 2015 at 01:32:21PM +0200, Xan López via cfe-commits wrote:
> On Tue, Sep 08, 2015 at 01:27:42PM +0200, Xan López via cfe-commits wrote:
> > > What do you consider as recent Solaris? When I asked, I've been told
> > > that Illumos has been providing __cxa_atexit since 2013. As such,
> > > disabling it for the Solaris family by default seems just wrong.
> > 
> > Solaris 11.2, which is the latest non-beta version available.
> 
> (Also, if you read the entire thread you'll see we figured that symbol
> was probably never available in Solaris, see the referenced commit
> from 2013, so the bit about the version being "recent" is irrelevant
> and it was removed from the final commit message)

We don't distinguish Solaris and OpenSolaris forks currently. As such,
changing one for the other is not a good choice, especially since you
are more likely to find clang users for Illumos, IMO.

https://www.illumos.org/issues/3849

Joerg


More information about the cfe-commits mailing list