|
Message-ID: <CAPHVM6dPd0EaYV6RvTkWSW7OggHf=PajXC5w9oDiiUkq0wqd4g@mail.gmail.com>
Date: Fri, 10 May 2024 20:27:34 -0700
From: Gonzalo Alvarez <gonzaloab@...il.com>
To: musl@...ts.openwall.com
Subject: alltype header typo in reg and user
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 <limits.h>
#include <unistd.h>
-#include <bits/alltype.h>
+#include <bits/alltypes.h>
#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 <stdint.h>
#include <unistd.h>
-#include <bits/alltype.h>
+#include <bits/alltypes.h>
#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!
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.