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

Sathishkumar Duraisamy <[email protected]> Fri, 9 May 2025 17:03:15 +0530
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <CAHebdzRitDkLtbYtnQpSZANAfXqkFnXPkuKxOqWBYt=EFuz-Lg@mail.gmail.com>
--000000000000b352a90634b25576
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, May 9, 2025 at 1:58=E2=80=AFPM Sathishkumar D via lists.yoctoprojec=
t.org
<[email protected]> wrote:

> Dear All,
>
> 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?.
>
> 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);
>      |     ^~~~~~~~ ~~~~~~
>
> I am getting this error with "aarch64-tdx-linux-gcc (GCC) 15.1.0" but it
compiles without any issue in aarch64-tdx-linux-gcc (GCC) 13.3.0.

Any CFLAGS to suppress the error?


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

--000000000000b352a90634b25576
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><div><div class=3D"gmail_quote =
gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, May 9,=
 2025 at 1:58=E2=80=AFPM Sathishkumar D via <a href=3D"http://lists.yoctopr=
oject.org">lists.yoctoproject.org</a> &lt;sathishkumar.d.cbe=3D<a href=3D"m=
ailto:[email protected]">[email protected]</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di=
v dir=3D"ltr">Dear All,<div><br></div><div>I am getting a build error with =
imx-vpu-hantro-1.36.0. I checked the sources in devshell. I see &quot;exter=
n&quot; function=C2=A0prototypes are mismatching. Do we require a patch or =
am I missing something?.=C2=A0</div><div><br></div><div><span style=3D"font=
-family:monospace"><span style=3D"font-weight:bold;color:rgb(0,0,0)">decode=
r_sw/software/test/common/md5_sink.c:68:3:</span><span style=3D"color:rgb(0=
,0,0)"> </span><span style=3D"font-weight:bold;color:rgb(255,84,84)">error:=
 </span><span style=3D"color:rgb(0,0,0)">too many arguments to function &#3=
9;</span><span style=3D"font-weight:bold;color:rgb(0,0,0)">MD5Init</span><s=
pan style=3D"color:rgb(0,0,0)">&#39;; expected 0, have 1
</span><br> =C2=A0=C2=A068 | =C2=A0=C2=A0<span style=3D"font-weight:bold;co=
lor:rgb(255,84,84)">MD5Init</span><span style=3D"color:rgb(0,0,0)">(</span>=
<span style=3D"color:rgb(24,178,24)">&amp;inst-&gt;ctx</span><span style=3D=
"color:rgb(0,0,0)">);
</span><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0=C2=A0<span style=3D"font=
-weight:bold;color:rgb(255,84,84)">^~~~~~~</span><span style=3D"color:rgb(0=
,0,0)"> </span><span style=3D"color:rgb(24,178,24)">~~~~~~~~~~</span><span =
style=3D"color:rgb(0,0,0)">
</span><br>In file included from <span style=3D"font-weight:bold;color:rgb(=
0,0,0)">decoder_sw/software/test/common/md5_sink.c:43</span><span style=3D"=
color:rgb(0,0,0)">:
</span><br><span style=3D"font-weight:bold;color:rgb(0,0,0)">./decoder_sw/s=
oftware/test/common/swhw/md5.h:79:13:</span><span style=3D"color:rgb(0,0,0)=
"> </span><span style=3D"font-weight:bold;color:rgb(84,255,255)">note: </sp=
an><span style=3D"color:rgb(0,0,0)">declared here
</span><br> =C2=A0=C2=A079 | extern void <span style=3D"font-weight:bold;co=
lor:rgb(84,255,255)">MD5Init</span><span style=3D"color:rgb(0,0,0)">();
</span><br> =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=C2=A0<span style=3D"font-weight:bold;c=
olor:rgb(84,255,255)">^~~~~~~</span><span style=3D"color:rgb(0,0,0)">
</span><br><span style=3D"font-weight:bold;color:rgb(0,0,0)">decoder_sw/sof=
tware/test/common/md5_sink.c:</span><span style=3D"color:rgb(0,0,0)"> In fu=
nction &#39;</span><span style=3D"font-weight:bold;color:rgb(0,0,0)">Md5sin=
kClose</span><span style=3D"color:rgb(0,0,0)">&#39;:
</span><br><span style=3D"font-weight:bold;color:rgb(0,0,0)">decoder_sw/sof=
tware/test/common/md5_sink.c:77:5:</span><span style=3D"color:rgb(0,0,0)"> =
</span><span style=3D"font-weight:bold;color:rgb(255,84,84)">error: </span>=
<span style=3D"color:rgb(0,0,0)">too many arguments to function &#39;</span=
><span style=3D"font-weight:bold;color:rgb(0,0,0)">MD5Final</span><span sty=
le=3D"color:rgb(0,0,0)">&#39;; expected 0, have 2
</span><br> =C2=A0=C2=A077 | =C2=A0=C2=A0=C2=A0=C2=A0<span style=3D"font-we=
ight:bold;color:rgb(255,84,84)">MD5Final</span><span style=3D"color:rgb(0,0=
,0)">(</span><span style=3D"color:rgb(24,178,24)">digest</span><span style=
=3D"color:rgb(0,0,0)">, &amp;md5sink-&gt;ctx);
</span><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0=C2=A0=C2=A0=C2=A0<span s=
tyle=3D"font-weight:bold;color:rgb(255,84,84)">^~~~~~~~</span><span style=
=3D"color:rgb(0,0,0)"> </span><span style=3D"color:rgb(24,178,24)">~~~~~~</=
span><br><span style=3D"color:rgb(0,0,0)">
</span><br></span></div></div></blockquote><div>I am getting this error wit=
h &quot;aarch64-tdx-linux-gcc (GCC) 15.1.0&quot; but it compiles without an=
y issue in=C2=A0aarch64-tdx-linux-gcc (GCC) 13.3.0.=C2=A0</div><div><br></d=
iv><div>Any CFLAGS to suppress the error?</div><div>=C2=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><span style=3D=
"font-family:monospace"></span></div><div><span style=3D"font-family:monosp=
ace">Regards,</span></div><div><span style=3D"font-family:monospace">Sathis=
hkumar D</span></div><div><span style=3D"font-family:monospace"><br></span>=
</div></div>
<br>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-<br>
Links: You receive all messages sent to this group.<br>
View/Reply Online (#24956): <a href=3D"https://lists.yoctoproject.org/g/met=
a-freescale/message/24956" rel=3D"noreferrer" target=3D"_blank">https://lis=
ts.yoctoproject.org/g/meta-freescale/message/24956</a><br>
Mute This Topic: <a href=3D"https://lists.yoctoproject.org/mt/112895226/641=
6184" rel=3D"noreferrer" target=3D"_blank">https://lists.yoctoproject.org/m=
t/112895226/6416184</a><br>
Group Owner: <a href=3D"mailto:meta-freescale%[email protected]=
g" target=3D"_blank">[email protected]</a><br>
Unsubscribe: <a href=3D"https://lists.yoctoproject.org/g/meta-freescale/uns=
ub" rel=3D"noreferrer" target=3D"_blank">https://lists.yoctoproject.org/g/m=
eta-freescale/unsub</a> [<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>]<br>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-<br>
<br>
</blockquote></div></div></div>

--000000000000b352a90634b25576--