Subject: #yocto #armv6 #raspberrypi #neon To: yocto@lists.yoctoproject.org From: "safouane maaloul" X-Originating-Location: Paris, Île-de-France, FR (80.11.3.194) X-Originating-Platform: Windows Chrome 88 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 25 Jan 2021 05:50:10 -0800 Message-ID: Content-Type: multipart/alternative; boundary="l2J7X53PkojUsDMcdEGK" --l2J7X53PkojUsDMcdEGK Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello folks, i am trying to compile my image but we could see that i am mis= sing neon fpu in my image. I can't use this feature because i have a raspbe= rry pi zero w and i have armv6 on this raspberrypi. I noticed that we don't= the neon feature on armv6 so i wish that you can help me to find a work ar= ound this problem. Thanks in advance. Best regards, Safouane this is an exemple of the error i get when i run the build : | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tm= p/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/ar= m/neon/quantize_neon.c:12: | /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-v= fp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-poky-l= inux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:10373:1: = error: inlining failed in call to 'always_inline' 'vld1q_s32': target speci= fic option mismatch | 10373 | vld1q_s32 (const int32_t * __a) |=C2=A0 =C2=A0 =C2=A0 =C2=A0| ^~~~~~~~~ | In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tm= p/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encoder/ar= m/neon/quantize_neon.c:20: | /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-v= fp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:24: no= te: called from here |=C2=A0 =C2=A0525 |=C2=A0 =C2=A0const int32x4_t v0 =3D vld1q_s32(buf); |=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= = =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. | WARNING: /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm117= 6jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.11087:155 e= xit 1 from 'eval ${DESTDIR:+DESTDIR=3D${DESTDIR} }VERBOSE=3D1 cmake --build= '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vf= p-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' | WARNING: Backtrace (BB generated script): |=C2=A0 =C2=A0 =C2=A0 =C2=A0#1: cmake_runcmake_build, /workdir/tep-cam-rpi= -yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/a= om/2.0.0-r0/temp/run.do_compile.11087, line 155 |=C2=A0 =C2=A0 =C2=A0 =C2=A0#2: cmake_do_compile, /workdir/tep-cam-rpi-yoc= to/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2= .0.0-r0/temp/run.do_compile.11087, line 149 |=C2=A0 =C2=A0 =C2=A0 =C2=A0#3: do_compile, /workdir/tep-cam-rpi-yocto/rpi= -build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r= 0/temp/run.do_compile.11087, line 144 |=C2=A0 =C2=A0 =C2=A0 =C2=A0#4: main, /workdir/tep-cam-rpi-yocto/rpi-build= -gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp= /run.do_compile.11087, line 168 | | Backtrace (metadata-relative locations): |=C2=A0 =C2=A0 =C2=A0 =C2=A0#1: cmake_runcmake_build, /workdir/tep-cam-rpi= -yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 205 |=C2=A0 =C2=A0 =C2=A0 =C2=A0#2: cmake_do_compile, /workdir/tep-cam-rpi-yoc= to/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 209 |=C2=A0 =C2=A0 =C2=A0 =C2=A0#3: do_compile, autogenerated, line 2 --l2J7X53PkojUsDMcdEGK Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello folks, i am trying to compile my image but we could see that i a= m missing neon fpu in my image. I can't use this feature because i have a r= aspberry pi zero w and i have armv6 on this raspberrypi. I noticed that we = don't the neon feature on armv6 so i wish that you can help me to find a wo= rk around this problem. Thanks in advance.

Best regards,
Safouane

this is an exemple of the error i get when i run th= e build :

| In file included from /workdir/tep-cam-rpi-yocto/rpi= -build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r= 0/git/av1/encoder/arm/neon/quantize_neon.c:12:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzf= shf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/recipe-sysroot-native/usr/lib/arm-p= oky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.2.0/include/arm_neon.h:1037= 3:1: error: inlining failed in call to 'always_inline' 'vld1q_s32': target = specific option mismatch
| 10373 | vld1q_s32 (const int32_t * __a)
|       | ^~~~~~~~~
| In file included from /workdir/tep-cam-rpi-yocto/rpi-build-gatesgar= th/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/encod= er/arm/neon/quantize_neon.c:20:
| /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzf= shf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/git/av1/common/arm/mem_neon.h:525:2= 4: note: called from here
|   525 |   const int32x4_t v0 =3D vld1q_s32(buf)= ;
|       |           = ;             ^~~~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| WARNING: /workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/a= rm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/temp/run.do_compile.11087:= 155 exit 1 from 'eval ${DESTDIR:+DESTDIR=3D${DESTDIR} }VERBOSE=3D1 cmake --= build '/workdir/tep-cam-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfs= hf-vfp-poky-linux-gnueabi/aom/2.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD= }'
| WARNING: Backtrace (BB generated script):
|       #1: cmake_runcmake_build, /workdir/tep-ca= m-rpi-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnue= abi/aom/2.0.0-r0/temp/run.do_compile.11087, line 155
|       #2: cmake_do_compile, /workdir/tep-cam-rp= i-yocto/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/= aom/2.0.0-r0/temp/run.do_compile.11087, line 149
|       #3: do_compile, /workdir/tep-cam-rpi-yoct= o/rpi-build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.= 0.0-r0/temp/run.do_compile.11087, line 144
|       #4: main, /workdir/tep-cam-rpi-yocto/rpi-= build-gatesgarth/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/aom/2.0.0-r0= /temp/run.do_compile.11087, line 168
|
| Backtrace (metadata-relative locations):
|       #1: cmake_runcmake_build, /workdir/tep-ca= m-rpi-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, lin= e 205
|       #2: cmake_do_compile, /workdir/tep-cam-rp= i-yocto/rpi-build-gatesgarth/../../poky/meta/classes/cmake.bbclass, line 20= 9
|       #3: do_compile, autogenerated, line 2 --l2J7X53PkojUsDMcdEGK--