clang and static linking?

Konstantin Belousov kostikbel at gmail.com
Fri Nov 9 17:12:40 UTC 2012


On Fri, Nov 09, 2012 at 08:43:04AM -0800, Steve Kargl wrote:
> On Fri, Nov 09, 2012 at 02:00:12PM +0200, Konstantin Belousov wrote:
> > On Thu, Nov 08, 2012 at 03:49:32PM -0800, Steve Kargl wrote:
> > > 
> > > This appears to fix the problem.  Don't know if this is
> > > th right way to handle it.
> > > 
> > > Index: src/s_isnan.c
> > > ===================================================================
> > > --- src/s_isnan.c	(revision 242701)
> > > +++ src/s_isnan.c	(working copy)
> > > @@ -40,7 +40,6 @@
> >
> > Is this patch against src/msun ?
> 
> Yes.
> 
> > This is only a workaround, which break ABI and older binaries.
> 
> Which leads to an interest question.  With the major upheavel
> of switching to clang, are there any ABI breaking changes that
> would be desirable to commit?  This would entail a major library
> version bump.  For starters, libc/gen/isnan.c could be removed.

No, we do not want or allow for the ABI breakage, regardless of the
compiler used or any other reason. ATM, clang breaks ABI on i386, but
this was promised to be fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121109/e160f1cb/attachment.sig>


More information about the freebsd-current mailing list