From nobody Mon Jan 06 20:15:55 2025 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YRln354D3z5k8hm for ; Mon, 06 Jan 2025 20:16:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRln330Ksz4VX1 for ; Mon, 6 Jan 2025 20:16:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-2166651f752so15665475ad.3 for ; Mon, 06 Jan 2025 12:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1736194566; x=1736799366; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AKfGUHm7SKysiQ7c2aEFi5pG3gkyLJymkxrrnqmhEEI=; b=V0UPSQgUFtdq5Wj6FySS6cyviXP/Vma9RPR3FW7IPAikh82371fntDtTcVMO21rxEN +g0vHhnho4HYwSVEBMgPWsf6BHtZp4YY3amTda71IzrMPX483+p12WGjP3OUgApJssyJ LvqS7RqvWbMMnaWtO3JvkWpITQUgmxvCh8/LExvr2/kM9dEa8qAVl7iWl25PE6wyQIvU 7uf3AABbg0J0uLwJ1KWFz8DVMIuE2ygqSznYOBgf+r4DyktYW15pE/ytwRUmZCcnwb5c 5XxPlwtkkdN5ANJ9+lhJdVhJyJjUnhAyxwZ5mjQKWgGpU3Z/PhQyjfZB5CBfuefjdf4D mIjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736194566; x=1736799366; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AKfGUHm7SKysiQ7c2aEFi5pG3gkyLJymkxrrnqmhEEI=; b=HzPzCfye8ziwbZREPOsUusjqDTV7+XC5UdujAwrV/nd1gn+UGj4LBspGmbAEns1Ffh jjmFCkyQZeezqkV6adPc0NLdZXCNS0rtymJT+aUE1TAkx9o3fXk+sukoE1aaFy3iTT73 QHAceLsId5RpWM1l9C1bhbkRvSxZzq6877JCMlRZzJwyaJ/KRbOsNBpilQAMDPc+Iw3Q 8MgpoUV4IFdnW8Nhmkf06o4gjwIGUXgqsGbLmN1b/P3NU1uorrvN64ON+ElkoauvSDUN Kqv60IGFQhVnAQKpgrKL96XHMKXYWPLSr2OBGBIyqnK771wvIIDtxY7DJGXw/LTVYObc ei/w== X-Gm-Message-State: AOJu0YzlHo3ri8cPf3IkWVJn5VDDhe+oHp6OI4CDJ09UEadHMrWh+mX7 nWHzjWWKKGel7uvlaBTN1lFCMKg6eCyiJccluNvuFkb711ON00PhJDT8rbZKcJ2Wa6km3O6LXjN QRFGwFdGsC3seVm3p8xDQStzjqdmk6rWZ0NYZ4DowxSZAenB2KUKEPA== X-Gm-Gg: ASbGncs0EPWIAXgvaWojEPesVOZzcTqCdA7LHPWkxiAKV2/cXMck2zsLAmTApDw4eGM SIgbTKokKIn2ZSZVty6+1Q1AzQfKHRZhW2nINkQ== X-Google-Smtp-Source: AGHT+IEU1rQDtwq3NEWJFOffe+AeWnaLN0ziNk25jVu6ZMZ/pHRnLcyav7o58ag8XUKahvf29KMVsjFXe2voTDpR9Y8= X-Received: by 2002:a17:902:d589:b0:216:45b9:439b with SMTP id d9443c01a7336-219e6f28486mr850195835ad.50.1736194566223; Mon, 06 Jan 2025 12:16:06 -0800 (PST) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 6 Jan 2025 13:15:55 -0700 X-Gm-Features: AbW1kvaavCn-mwltZL5XN2ZmkOTehfTe3to12jACXUC81Sra8-PxN7WJo6p9MqI Message-ID: Subject: Re: Buildworld fatal error: 'byteswap.h' file not found on armv7 To: bob prohaska Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000619428062b0f4cda" X-Rspamd-Queue-Id: 4YRln330Ksz4VX1 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --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 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 > ^~~~~~~~~~~~ > > 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
Please see=C2=A0https://bugs.freebsd.org/bugzilla/show_bug.cgi= ?id=3D273736 for one possible solution,
though it focuses on 13.x.<= /div>

Warner

On Mon, Jan 6, 2= 025 at 1:08=E2=80=AFPM bob prohaska <fbsd@www.zefox.net> wrote:
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&= #39; file not found
#include <byteswap.h>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~

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--