Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2022 21:58:51 +0000 (UTC)
From:      =?UTF-8?Q?Yves_Gu=C3=A9rin?= <yvesguerin@yahoo.ca>
To:        Mathias Picker <Mathias.Picker@virtual-earth.de>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: building -stable  fails in bhyverun with unsused var vcpu
Message-ID:  <1944493619.490813.1671141531223@mail.yahoo.com>
In-Reply-To: <864jtw9xd5.fsf@virtual-earth.de>
References:  <DA9BFE17-9398-4642-BA5D-136E2E3D13F1@virtual-earth.de> <86fsdgfyb6.fsf@virtual-earth.de> <1990941522.266690.1671138615516@mail.yahoo.com> <864jtw9xd5.fsf@virtual-earth.de>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_490812_1011810487.1671141531221
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

When I build 13.1-p5 (kernel and world) I saw some warnings only, no error=
=20
try to change: -Werror=3Dunused-variable to -Wwarning=3Dunused-variable or =
some like that.

Yves Guerin=20

    Le jeudi 15 d=C3=A9cembre 2022 =C3=A0 16:21:49 UTC=E2=88=925, Mathias P=
icker <mathias.picker@virtual-earth.de> a =C3=A9crit : =20
=20
 Hi Yves,

yes, it did stop the build. If I remember correctly, there was a=20
compilation flag about that, -Werror=3Dunused-variable

I had to remove the offending line to finish the build.

Thanks,

Mathias

Yves Gu=C3=A9rin <yvesguerin@yahoo.ca> writes:

> dear Mathias,
>
> Does it stop your build ? if no, just warning, so just forget=20
> them
>
> Regards,
>
> Yves Guerin
>
> Le jeudi 15 d=C3=A9cembre 2022 =C3=A0 11:04:56 UTC=E2=88=925, Mathias Pic=
ker=20
> <mathias.picker@virtual-earth.de> a =C3=A9crit :=20
>
> Mathias Picker <Mathias.Picker@virtual-earth.de> writes:
>
>> In bhyverun.c:1270:6=C2=A0 saying "unused variable 'vcpu'"=20
>>
>> I'm up to date with stable/13 as of right now=E2=80=A6
>
> I deleted the vcpu declaration in line 1270 and world build just=20
> fine.
>
>> Anyone else encountering this?
>>
>> Any tips / help=C2=A0 how to get a working system:
>>
>> I need to rebuild drm-510-kmod, pkg version does not work and=20
>> version build with kernel sources now on the system do not load=20
>> ;)
>>
>> Mathias
>>


--=20
Mathias Picker=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0=20
Gesch=C3=A4ftsf=C3=BChrer
Mathias.Picker@virtual-earth.de

virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH
http://www.virtual-earth.de/ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 HRB126870
support@virtual-earth.de=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 We=
stendstr. 142
089 / 1250 3943=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=20

 =20
------=_Part_490812_1011810487.1671141531221
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydpa521f534yahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px=
;"><div><div dir=3D"ltr" data-setdir=3D"false">When I build 13.1-p5 (kernel=
 and world) I saw some warnings only, no error <br></div><div dir=3D"ltr" d=
ata-setdir=3D"false">try to change: <span>-Werror=3Dunused-variable to -Wwa=
rning=3Dunused-variable or some like that.</span><br></div><div dir=3D"ltr"=
 data-setdir=3D"false"><br></div><div class=3D"ydpa521f534signature">Yves G=
uerin</div></div>
        <div><br></div><div><br></div>
       =20
        </div><div id=3D"yahoo_quoted_1988376943" class=3D"yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    Le jeudi 15 d=C3=A9cembre 2022 =C3=A0 16:21:49 UTC=E2=
=88=925, Mathias Picker &lt;mathias.picker@virtual-earth.de&gt; a =C3=A9cri=
t :
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir=3D"ltr">Hi Yves,<br></div><div dir=3D"ltr"><b=
r></div><div dir=3D"ltr">yes, it did stop the build. If I remember correctl=
y, there was a <br></div><div dir=3D"ltr">compilation flag about that, -Wer=
ror=3Dunused-variable<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">=
I had to remove the offending line to finish the build.<br></div><div dir=
=3D"ltr"><br></div><div dir=3D"ltr">Thanks,<br></div><div dir=3D"ltr"><br><=
/div><div dir=3D"ltr">Mathias<br></div><div dir=3D"ltr"><br></div><div dir=
=3D"ltr">Yves Gu=C3=A9rin &lt;<a ymailto=3D"mailto:yvesguerin@yahoo.ca" hre=
f=3D"mailto:yvesguerin@yahoo.ca">yvesguerin@yahoo.ca</a>&gt; writes:<br></d=
iv><div dir=3D"ltr"><br></div><div dir=3D"ltr">&gt; dear Mathias,<br></div>=
<div dir=3D"ltr">&gt;<br></div><div dir=3D"ltr">&gt; Does it stop your buil=
d ? if no, just warning, so just forget <br></div><div dir=3D"ltr">&gt; the=
m<br></div><div dir=3D"ltr">&gt;<br></div><div dir=3D"ltr">&gt; Regards,<br=
></div><div dir=3D"ltr">&gt;<br></div><div dir=3D"ltr">&gt; Yves Guerin<br>=
</div><div dir=3D"ltr">&gt;<br></div><div dir=3D"ltr">&gt; Le jeudi 15 d=C3=
=A9cembre 2022 =C3=A0 11:04:56 UTC=E2=88=925, Mathias Picker <br></div><div=
 dir=3D"ltr">&gt; &lt;<a ymailto=3D"mailto:mathias.picker@virtual-earth.de"=
 href=3D"mailto:mathias.picker@virtual-earth.de">mathias.picker@virtual-ear=
th.de</a>&gt; a =C3=A9crit : <br></div><div dir=3D"ltr">&gt;<br></div><div =
dir=3D"ltr">&gt; Mathias Picker &lt;<a ymailto=3D"mailto:Mathias.Picker@vir=
tual-earth.de" href=3D"mailto:Mathias.Picker@virtual-earth.de">Mathias.Pick=
er@virtual-earth.de</a>&gt; writes:<br></div><div dir=3D"ltr">&gt;<br></div=
><div dir=3D"ltr">&gt;&gt; In bhyverun.c:1270:6&nbsp; saying "unused variab=
le 'vcpu'" <br></div><div dir=3D"ltr">&gt;&gt;<br></div><div dir=3D"ltr">&g=
t;&gt; I'm up to date with stable/13 as of right now=E2=80=A6<br></div><div=
 dir=3D"ltr">&gt;<br></div><div dir=3D"ltr">&gt; I deleted the vcpu declara=
tion in line 1270 and world build just <br></div><div dir=3D"ltr">&gt; fine=
.<br></div><div dir=3D"ltr">&gt;<br></div><div dir=3D"ltr">&gt;&gt; Anyone =
else encountering this?<br></div><div dir=3D"ltr">&gt;&gt;<br></div><div di=
r=3D"ltr">&gt;&gt; Any tips / help&nbsp; how to get a working system:<br></=
div><div dir=3D"ltr">&gt;&gt;<br></div><div dir=3D"ltr">&gt;&gt; I need to =
rebuild drm-510-kmod, pkg version does not work and <br></div><div dir=3D"l=
tr">&gt;&gt; version build with kernel sources now on the system do not loa=
d <br></div><div dir=3D"ltr">&gt;&gt; ;)<br></div><div dir=3D"ltr">&gt;&gt;=
<br></div><div dir=3D"ltr">&gt;&gt; Mathias<br></div><div dir=3D"ltr">&gt;&=
gt;<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><br></div><div dir=
=3D"ltr">-- <br></div><div dir=3D"ltr">Mathias Picker&nbsp; &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br></div><di=
v dir=3D"ltr">Gesch=C3=A4ftsf=C3=BChrer<br></div><div dir=3D"ltr"><a ymailt=
o=3D"mailto:Mathias.Picker@virtual-earth.de" href=3D"mailto:Mathias.Picker@=
virtual-earth.de">Mathias.Picker@virtual-earth.de</a><br></div><div dir=3D"=
ltr"><br></div><div dir=3D"ltr">virtual earth Gesellschaft f=C3=BCr Wissens=
 re/pr=C3=A4 sentation mbH<br></div><div dir=3D"ltr"><a href=3D"http://www.=
virtual-earth.de/ " target=3D"_blank">http://www.virtual-earth.de/ </a>&nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; HRB126870<br></div><div dir=3D"ltr"><a ymail=
to=3D"mailto:support@virtual-earth.de" href=3D"mailto:support@virtual-earth=
.de">support@virtual-earth.de</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;  Westendstr. 142<br></div><div dir=3D"ltr">089 / 1250 3943&nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; <br></div><div dir=3D"ltr"><br></div></div>
            </div>
        </div></body></html>
------=_Part_490812_1011810487.1671141531221--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1944493619.490813.1671141531223>