Re: [Fink-users] libvpx14-1.4.0-1 10.7 build-fail

2015-04-14 Thread Daniel Macks


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

  On Apr 13, 2015, at 5:14 PM, Daniel Macks dma...@netspace.org wrote:
   On Mon, 13 Apr 2015 14:28:46 -0400, Daniel Macks 
 dma...@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
dma...@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_15utm_medium=emailutm_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


Re: [Fink-users] libvpx14-1.4.0-1 10.7 build-fail

2015-04-13 Thread Daniel Macks
On Mon, 13 Apr 2015 14:28:46 -0400, Daniel Macks dma...@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?

dan

--
Daniel Macks
dma...@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_15utm_medium=emailutm_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


Re: [Fink-users] libvpx14-1.4.0-1 10.7 build-fail

2015-04-13 Thread Daniel Johnson

 On Apr 13, 2015, at 5:14 PM, Daniel Macks dma...@netspace.org wrote:
 
 On Mon, 13 Apr 2015 14:28:46 -0400, Daniel Macks dma...@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.

Daniel



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
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_15utm_medium=emailutm_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