Re: [yocto] libgcrypt building fails for armv6 binaries.

2017-09-23 Thread Yusuke Mitsuki
Hello Armin.

Thanks for your reply.
It was very helpful.

2017-09-23 14:21 GMT+09:00 akuster :
>
>
> On 09/22/2017 09:15 PM, Yusuke Mitsuki wrote:
>> Hello yocto
>>
>> libgcrypt has problem that build for armv6.
>> bitbake said error messages at do_compile as follows:
>> ...(snip)...
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S: Assembler 
>> messages:
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1165:
>> Error: selected processor does not support `rbit r8,lr' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1165:
>> Error: selected processor does not support `rbit r9,r9' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1165:
>> Error: selected processor does not support `rbit r10,r10' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1165:
>> Error: selected processor does not support `rbit r11,r11' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1165:
>> Error: selected processor does not support `rbit r8,lr' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1166:
>> Error: selected processor does not support `rbit r8,lr' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1166:
>> Error: selected processor does not support `rbit r9,r9' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1166:
>> Error: selected processor does not support `rbit r10,r10' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1166:
>> Error: selected processor does not support `rbit r11,r11' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1166:
>> Error: selected processor does not support `rbit r8,lr' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1167:
>> Error: selected processor does not support `rbit r8,lr' in ARM mode
>> | ../../libgcrypt-1.8.0/cipher/rijndael-armv8-aarch32-ce.S:1167:
>> Error: selected processor does not support `rbit r9,r9' in ARM mode
>> ...(snip)...
>>
>> I googled about this problem then I found the clue at here.
>> https://mail-index.netbsd.org/pkgsrc-bugs/2017/08/01/msg062410.html
>>
>> I thought it fixed at libcrypt_1.8.1.
>>
>> I tried update to 1.8.1. It seems fine.
>> So I suggest the libgcrypt updating for 1.8.1.
> It may be too late to update  as we are in the stabilization phase of
> the next release.
>>
>> By the way, I created the patch for this problem.
> The is great and much appreciated.
>
>> But I am not sure, where to send to this patch?
> Yes it is a bit confusing and we should revisit the documentation.
>> I could not found the guidelines of contributing [meta].
>> I should send to OE-Core's ML? or  here directly?
>
> The oe-core ML is the appropriate place.
>
>
>>
>> And, Would you let me know what strings of options to git send-email I
>> should to set?
> if you want to us git send mail, I use the following.
>
> git send-email -1 -M --to  openembedded-c...@lists.openembedded.org
> --subject-prefix=PATCH
>
> regards,
> Armin
>
>> Thanks.
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fwd: do_configure error

2017-09-23 Thread Burton, Ross
On 23 September 2017 at 06:56, mohammed aqdam 
wrote:
>
> i'm getting the following error...
>
> root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k
rpi-test-image

  

>  configure: error: you should not run configure as root

As it says, you're running as root.  I thought we bailed early if this
happened but obviously not.  Don't build as root, build as a normal user.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto