[Buildroot] Analysis of build results for 2018-08-11

Matthew Weber matthew.weber at rockwellcollins.com
Mon Aug 13 14:15:37 UTC 2018


Thomas,
On Sun, Aug 12, 2018 at 3:36 PM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> Hello,
>
> Matt, Hollis, Romain, Jörg, Bernd, there are some questions for you
> below.
>
> On Sun, 12 Aug 2018 08:00:15 +0200 (CEST), Thomas Petazzoni wrote:
>
> >      powerpc |                aircrack-ng-1.3 | NOK | http://autobuild.buildroot.net/results/87e82a5e8d0b1c1ff10ec3e59d25bcd56b329075 |
>
> Seems like some PowerPC Altivec code gets used even when Altivec is not
> available, or something like that:
>
>   CC       libaircrack_crypto_ppc_altivec_la-sha1-git.lo
> memory.c:1:0: warning: -mvsx requires hardware floating point [enabled by default]
>   CC       libaircrack_crypto_ppc_altivec_la-simd-intrinsics.lo
> sha1-git.c:1:0: warning: -mvsx requires hardware floating point [enabled by default]
>   CC       libaircrack_crypto_ppc_altivec_la-wpapsk.lo
> simd-intrinsics.c:1:0: warning: -mvsx requires hardware floating point [enabled by default]
> simd-intrinsics.c:147:18: error: unknown type name 'vtype'
> simd-intrinsics.c: In function 'dispatch':
> simd-intrinsics.c:671:3: warning: implicit declaration of function 'SIMDmd5body' [-Wimplicit-function-declaration]
> simd-intrinsics.c:671:16: error: 'vtype' undeclared (first use in this function)
> simd-intrinsics.c:671:16: note: each undeclared identifier is reported only once for each function it appears in
> simd-intrinsics.c:671:23: error: expected expression before ')' token
> simd-intrinsics.c: At top level:
> simd-intrinsics.c:905:18: error: unknown type name 'vtype'
> simd-intrinsics.c:1386:19: error: unknown type name 'vtype'
> simd-intrinsics.c:1928:21: error: unknown type name 'vtype'
> simd-intrinsics.c:2547:21: error: unknown type name 'vtype'
>
> Anybody with some PowerPC understanding to look into this ? Matt perhaps ?

Looks like there is no support for non-altivec ppc  in this code.  Is
there a way I can do a conditional dependency in kconfig?

Something like
depends on BR2_POWERPC_CPU_HAS_ALTIVEC if BR2_powerpc || BR2_powerpc64
|| BR2_powerpc64le

Matt



More information about the buildroot mailing list