Re: [meta-freescale] Build fail due to imx-vpu-hantro_1.36.0

Max <[email protected]> Fri, 09 May 2025 16:02:39 +0200
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <[email protected]>
Am Freitag, dem 09.05.2025 um 17:03 +0530 schrieb Sathishkumar D via lists.=
yoctoproject.org:
> On Fri, May 9, 2025 at 1:58=E2=80=AFPM Sathishkumar D via lists.yoctoproj=
ect.org
> <[email protected]> wrote:
>=20
> > Dear All,
> >=20
> > I am getting a build error with imx-vpu-hantro-1.36.0. I checked the
> > sources in devshell. I see "extern" function prototypes are mismatching=
. Do
> > we require a patch or am I missing something?.
> >=20
> > decoder_sw/software/test/common/md5_sink.c:68:3: error: too many
> > arguments to function 'MD5Init'; expected 0, have 1
> >   68 |   MD5Init(&inst->ctx);
> >      |   ^~~~~~~ ~~~~~~~~~~
> > In file included from decoder_sw/software/test/common/md5_sink.c:43:
> > ./decoder_sw/software/test/common/swhw/md5.h:79:13: note: declared here
> >   79 | extern void MD5Init();
> >      |             ^~~~~~~
> > decoder_sw/software/test/common/md5_sink.c: In function 'Md5sinkClose':
> > decoder_sw/software/test/common/md5_sink.c:77:5: error: too many
> > arguments to function 'MD5Final'; expected 0, have 2
> >   77 |     MD5Final(digest, &md5sink->ctx);
> >      |     ^~~~~~~~ ~~~~~~
> >=20
> > I am getting this error with "aarch64-tdx-linux-gcc (GCC) 15.1.0" but i=
t
> compiles without any issue in aarch64-tdx-linux-gcc (GCC) 13.3.0.
>=20
> Any CFLAGS to suppress the error?

Looks like work is needed to fix the whole hantro recipes, what you see her=
e is only the beginning
of the GCC 15 related errors.

I assume you do not need the video decoder / encoder at the moment. So I wo=
uld advice to not build
the hantro recipes.
Easiest is probably to add something like this to local.conf for now:

BAD_RECOMMENDATIONS:append =3D " \
    imx-gst1.0-plugin \
    imx-gst1.0-plugin-gplay \
    imx-gst1.0-plugin-grecorder \
    packagegroup-fsl-gstreamer1.0-full \
"

or use an image recipe which does not install multimedia stuff in the first=
 place, i.e. 'core-image-
weston'.

Regards,
Max

>=20
>=20
> > Regards,
> > Sathishkumar D
> >=20
> >=20
> >=20
> >=20
> >=20
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> Links: You receive all messages sent to this group.
> View/Reply Online (#24958): https://lists.yoctoproject.org/g/meta-freesca=
le/message/24958
> Mute This Topic: https://lists.yoctoproject.org/mt/112895226/3617484
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [max.o=
[email protected]]
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>=20