Date: Mon, 6 Jan 2025 13:15:55 -0700 From: Warner Losh <imp@bsdimp.com> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: Buildworld fatal error: 'byteswap.h' file not found on armv7 Message-ID: <CANCZdfohrXVpW3SoMVX1NO19Ytc%2BSj5YixfA1Kkrd4g2DZmksA@mail.gmail.com> In-Reply-To: <Z3w4QxIioCQaCinj@www.zefox.net> References: <Z3w4QxIioCQaCinj@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000619428062b0f4cda Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273736 for o= ne possible solution, though it focuses on 13.x. Warner On Mon, Jan 6, 2025 at 1:08=E2=80=AFPM bob prohaska <fbsd@www.zefox.net> wr= ote: > As an experiment I've tried to build -current and 14.2-stable > on a Pi2 v1.1 running 12.4-stable. I know it's not considered > good practice to hop that far, but I wanted to see for myself. > > I thought it would at least compile, since I have another Pi2v1.1 > which has been tracking -current and is presently up-to-date. > > However, the build fails in both buildworld and toolchain, with > /usr/src/contrib/file/src/apprentice.c:54:10: fatal error: 'byteswap.h' > file not found > #include <byteswap.h> > ^~~~~~~~~~~~ > > The missing file is actually present: > root@pelorus:/usr/src # find . -name byteswap.h -depth -print > ./contrib/llvm-project/libcxx/include/__bit/byteswap.h > ./contrib/ofed/include/byteswap.h > ./include/byteswap.h > root@pelorus:/usr/src # > > It's a little hard to see how using 12.4 might cause this sort of error. > The source directory is a fresh clone. > > Is this an expected failure mode? If there's an easy workaround I'd like > to try, but if not it's no big deal, I'll just reflash the microSD. > > Thanks for reading, and any insights. > > bob prohaska > > > > > > --000000000000619428062b0f4cda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Please see=C2=A0<a href=3D"https://bugs.freebsd.org/bugzil= la/show_bug.cgi?id=3D273736">https://bugs.freebsd.org/bugzilla/show_bug.cgi= ?id=3D273736</a> for one possible solution,<div>though it focuses on 13.x.<= /div><div><br></div><div>Warner</div></div><br><div class=3D"gmail_quote gm= ail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan 6, 2= 025 at 1:08=E2=80=AFPM bob prohaska <<a href=3D"mailto:fbsd@www.zefox.ne= t">fbsd@www.zefox.net</a>> wrote:<br></div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex">As an experiment I've tried to build -current and = 14.2-stable<br> on a Pi2 v1.1 running 12.4-stable. I know it's not considered<br> good practice to hop that far, but I wanted to see for myself.<br> <br> I thought it would at least compile, since I have another Pi2v1.1<br> which has been tracking -current and is presently up-to-date.<br> <br> However, the build fails in both buildworld and toolchain, with<br> /usr/src/contrib/file/src/apprentice.c:54:10: fatal error: 'byteswap.h&= #39; file not found<br> #include <byteswap.h><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~<br> <br> The missing file is actually present:<br> root@pelorus:/usr/src # find . -name byteswap.h -depth -print<br> ./contrib/llvm-project/libcxx/include/__bit/byteswap.h<br> ./contrib/ofed/include/byteswap.h<br> ./include/byteswap.h<br> root@pelorus:/usr/src # <br> <br> It's a little hard to see how using 12.4 might cause this sort of error= .<br> The source directory is a fresh clone. <br> <br> Is this an expected failure mode? If there's an easy workaround I'd= like<br> to try, but if not it's no big deal, I'll just reflash the microSD.= <br> <br> Thanks for reading, and any insights. <br> <br> bob prohaska<br> <br> <br> <br> <br> <br> </blockquote></div> --000000000000619428062b0f4cda--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfohrXVpW3SoMVX1NO19Ytc%2BSj5YixfA1Kkrd4g2DZmksA>