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

Arnout Vandecappelle arnout at mind.be
Mon Aug 13 22:43:34 UTC 2018



On 13-08-18 16:15, Matthew Weber wrote:
> 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

 I think that works, if not you can convert it into

	depends on BR2_POWERPC_CPU_HAS_ALTIVEC || \
		!(BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le)

("if" is the same as "or not". Think about it.)

 Regards,
 Arnout

> 
> Matt
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list