From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 425ED23D83 for ; Sat, 11 May 2024 10:25:24 +0200 (CEST) Received: (qmail 1235 invoked by uid 550); 11 May 2024 08:25:20 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9898 invoked from network); 11 May 2024 03:27:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715398066; x=1716002866; darn=lists.openwall.com; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=NEVzi/EBBMYXP9284xqiquESbsdYTqyjDiaSjyUCK38=; b=NxE3S6MtuJbENUnPUbKyTz4zdgfTvkjL3w2hLs10Y3TrWdZzbvrB1LiRH1JhCP5R55 sJ8OM0Vzi5ET87+4B1mzKKVBF1E6Halp179JqX1SsatJQI5fv9iFjR7LJ0uI7Luzd4DU T1kHt2LP22WWmlPKYWxVRgzt/TmagOFbZxgkwOBDAN5zAyHpmIEONKdCgisS/G79LS+d /4Hhslcgv5CyOW0YBfiHLSFYmhhktY3wKfta8lI+tGSKjHLtckXE13jIeff96HVVjQcq iqb2anVUWtSYNFxxWAr0DvFOHFZmKmeggeV6h8CkXZWOasy/29Og+puhzh/aS8ib0KOm 6h3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715398066; x=1716002866; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NEVzi/EBBMYXP9284xqiquESbsdYTqyjDiaSjyUCK38=; b=NAtIfbEfi3ePBFOWyqBQy41g3fD3H2O7f/48DDHVrIDM9RHlfQsDob2THbIZqiElvi 7IZC/hgch2u4OJA5+cOH2kdR8iBFO6DCPW+nekIOMRvypa2iEEAQHpgQx2QwQ3lVhjLa ea4vmVA9kaST06uwaTlenRKR5iy1ucJvlSe/4WiI9KLkW2eC+FBAZCiEV+WAjtGdFBLe GOfrlYMS2p1qC6OyWTrReCpLan6CXfMeLyMBAo5rR8RKWEEbY79debasPyWQt93/0G0B C5ha6kgFBLlXQzMq4Oe0jsGl375yVt41UgxRzNwhe588049YQhgTbXgYyChbXHyfBX/z x08g== X-Gm-Message-State: AOJu0YzFBNYBpDzidE/ne637KeNwETdjLXTZTfsWb+XhzHuThEq3a4lN gbSKn1hyecsFc9cLPZOkVvoySVFaxBUJNwbDRQ9UAi/vkO+MG5NSbdYHqE68vlKu4Fduxm/wSnC PGY2ierm1Xz6DqoBEFnszrz5dU4ioyWz7 X-Google-Smtp-Source: AGHT+IGUSfgcb2cDAbfyUtDCAwp6gHYSME+YLsBSCqwCUEg+qkY+dNn3yZd3M3hwTE5Ipm1Ewt1hmAsiXuMUvALiWpg= X-Received: by 2002:a19:6a0f:0:b0:51f:4c53:8e4b with SMTP id 2adb3069b0e04-5220fd7bd6cmr3577651e87.38.1715398066014; Fri, 10 May 2024 20:27:46 -0700 (PDT) MIME-Version: 1.0 From: Gonzalo Alvarez Date: Fri, 10 May 2024 20:27:34 -0700 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="0000000000005f94ae0618253cd6" Subject: [musl] alltype header typo in reg and user --0000000000005f94ae0618253cd6 Content-Type: text/plain; charset="UTF-8" First report here - forgive me if I'm missing something. I'm using musl to build a cross toolchain for risc-v (specifically the xuantie v0.7.1 vector c906v version). When using the headers to build the packages in the buildroot, I hit an issue when including either sys/reg.h or sys/user.h, since it looks like there was a recent change that added an include there to bring 'alltypes.h' into those files, but the change is missing the 's' at the end. The diff is more descriptive. diff --git a/include/sys/reg.h b/include/sys/reg.h index 4e6ce222..0272e137 100644 --- a/include/sys/reg.h +++ b/include/sys/reg.h @@ -4,7 +4,7 @@ #include #include -#include +#include #undef __WORDSIZE #if __LONG_MAX == 0x7fffffffL diff --git a/include/sys/user.h b/include/sys/user.h index 78036da3..511caba3 100644 --- a/include/sys/user.h +++ b/include/sys/user.h @@ -8,7 +8,7 @@ extern "C" { #include #include -#include +#include #undef __WORDSIZE #if __LONG_MAX == 0x7fffffffL It seems like the issue was introduced here: https://git.musl-libc.org/cgit/musl/commit/include/sys/reg.h?id=e709a6f07ade208ba513f9225222336f30c304b0 Thx! --0000000000005f94ae0618253cd6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
First report here - forgive me if I'm missing som= ething.

I'm using musl to build a cross toolch= ain for risc-v (specifically the xuantie v0.7.1 vector c906v version). When= using the headers to build the packages in the buildroot, I hit an issue w= hen including either sys/reg.h or sys/user.h, since it looks like there was= a recent change that added an include there to bring 'alltypes.h' = into those files, but the change is missing the 's' at the end. The= diff is more descriptive.

diff --git a/include/sy= s/reg.h b/include/sys/reg.h
index 4e6ce222..0272e137 100644
--- a/inc= lude/sys/reg.h
+++ b/include/sys/reg.h
@@ -4,7 +4,7 @@
=C2=A0#incl= ude <limits.h>
=C2=A0#include <unistd.h>

-#include &l= t;bits/alltype.h>
+#include <bits/alltypes.h>

=C2=A0#und= ef __WORDSIZE
=C2=A0#if __LONG_MAX =3D=3D 0x7fffffffL
diff --git a/in= clude/sys/user.h b/include/sys/user.h
index 78036da3..511caba3 100644--- a/include/sys/user.h
+++ b/include/sys/user.h
@@ -8,7 +8,7 @@ ex= tern "C" {
=C2=A0#include <stdint.h>
=C2=A0#include &= lt;unistd.h>

-#include <bits/alltype.h>
+#include <bi= ts/alltypes.h>

=C2=A0#undef __WORDSIZE
=C2=A0#if __LONG_MAX = =3D=3D 0x7fffffffL


It seems like th= e issue was introduced here:


Thx!
--0000000000005f94ae0618253cd6--