[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-users
Subject:    Re: [Fink-users] libvpx14-1.4.0-1 10.7 build-fail
From:       "=?utf-8?b?RGFuaWVsIE1hY2tz?=" <dmacks () netspace ! org>
Date:       2015-04-15 2:27:34
Message-ID: 20150414222734.i04z4h176s8skks4 () webmail ! netspace ! org
[Download RAW message or body]



On Mon, 13 Apr 2015 21:20:59 -0400, Daniel Johnson 
<daniel.johnson31@gmail.com> wrote:

> > On Apr 13, 2015, at 5:14 PM, Daniel Macks <dmacks@netspace.org> wrote:
> > > On Mon, 13 Apr 2015 14:28:46 -0400, Daniel Macks 
> <dmacks@netspace.org> wrote:
> > [CC] vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c.o
> >> vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c:77:18: warning: implicit
> >> declaration of function '_mm256_broadcastsi128_si256' is invalid in C99
> >> [-Wimplicit-function-declaration]
> >> filtersReg32 = MM256_BROADCASTSI128_SI256(filtersReg);
> >> ^
> >> vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c:41:41: note: expanded 
> from macro
> >> 'MM256_BROADCASTSI128_SI256'
> >> # define MM256_BROADCASTSI128_SI256(x) _mm256_broadcastsi128_si256(x)
> >> ^
> >> vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c:77:16: error: assigning to
> >> '__m256i' from incompatible type 'int'
> >> filtersReg32 = MM256_BROADCASTSI128_SI256(filtersReg);
> >> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c:322:16: error: assigning to
> >> '__m256i' from incompatible type 'int'
> >> filtersReg32 = MM256_BROADCASTSI128_SI256(filtersReg);
> >> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> 1 warning and 2 errors generated. Xcode.app: 4.6.1
> >> Xcode command-line tools: 4.6.0.0.1.1362189000
> > > Correction (also in Subject line)...fails on 10.7 but *succeeds* on
> > 10.8. This .c has a bunch of generic clang-version and
> > apple-clang-specific #ifdef controls, maybe bitrotten platform guesses
> > that don't know about the latest clang on older release branches?
> > Yuck, that's fun code. Weirdly, it's using the older 
> _mm_broadcastsi128_si256((__m128i const *)&(x)) for just clang <= 3.3 
> or == 5.0 and for everything else it uses 
> _mm256_broadcastsi128_si256(x). Maybe it needs to use the older 
> syntax for everything <= 5.0? Could you try changing that #if? 
> That's the only thing I can suggest since it works with > 5.0. 

I hardcoded to use the oleder syntax and it compiled fully. 

dan

--
Daniel Macks
dmacks@netspace.org


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic