Re: clang and static linking?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Fri, 9 Nov 2012 09:00:12 -0800
On Fri, Nov 09, 2012 at 05:45:41PM +0100, Roman Divacky wrote:
> 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:
> > > 
> > > There is some magic switch to reduce amount of clang bugs, like
> > > -fno-integrated-as. Please try to compile the problematic .o with the
> > > switch.
> > 
> > I'll try this shortly.  Does this mean that we need to build
> > all *.a libraries where a weak reference may occur with this
> > switch?
> 
> No, this has nothing to do with llvm integrated asm.
> 
> So far it looks like gcc always inline "isnan" even at O0 while
> clang does not. We are trying to figure out the solution.
> 
> Maybe use __builtin_isnan instead of isnan in the isnan macro expansion?
> 

Do you want me to file a PR for this?  I can continue to
use the work around until a proper fix is found.

-- 
Steve
Received on Fri Nov 09 2012 - 16:00:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC