lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52a34c97-88d2-415e-a899-6583ae3ba620@paulmck-laptop>
Date: Fri, 28 Mar 2025 13:45:42 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: Dave Jiang <dave.jiang@...el.com>
Cc: linux-cxl@...r.kernel.org, dave@...olabs.net,
	jonathan.cameron@...wei.com, alison.schofield@...el.com,
	vishal.l.verma@...el.com, ira.weiny@...el.com,
	dan.j.williams@...el.com, gourry@...rry.net,
	linux-kernel@...r.kernel.org, linux-next@...r.kernel.org,
	sfr@...b.auug.org.au
Subject: Re: [BUG -next] ./usr/include/cxl/features.h:11:10: fatal error:
 uuid/uuid.h: No such file or directory

On Fri, Mar 28, 2025 at 01:03:19PM -0700, Dave Jiang wrote:
> 
> 
> On 3/28/25 10:39 AM, Paul E. McKenney wrote:
> > Hello!
> > 
> > In next-20250328 and next-20250327, allmodconfig builds get me:
> > 
> > ./usr/include/cxl/features.h:11:10: fatal error: uuid/uuid.h: No such file or directory
> > 
> > This file is apparently auto-generated, because when I change the #include
> > to the more likely linux/uuid.h, my changes are overwritten by the build.
> > 
> > Gregory Price noted that something similar has happened recently and been fixed:
> > 
> > https://lore.kernel.org/all/70ba4e80-53c4-4583-82f3-2851e0829aa6@linux.ibm.com/
> > 
> > Perhaps someone unfixed it?
> > 
> > 								Thanx, Paul
> 
> 
> I can't get the powerpc cross build to build to reproduce the issue from next-20250328. Does the change below address the issue for you?
> 
> ---
> diff --git a/include/uapi/cxl/features.h b/include/uapi/cxl/features.h
> index d6db8984889f..691eeda9c892 100644
> --- a/include/uapi/cxl/features.h
> +++ b/include/uapi/cxl/features.h
> @@ -8,11 +8,7 @@
>  #define _UAPI_CXL_FEATURES_H_
>  
>  #include <linux/types.h>
> -#ifndef __KERNEL__
> -#include <uuid/uuid.h>
> -#else
>  #include <linux/uuid.h>
> -#endif
>  
>  /*
>   * struct cxl_mbox_get_sup_feats_in - Get Supported Features input

Thank you, Dave!

Please note that I am reproducing this not on powerpc, but instead on
x86 with a simple allmodconfig build.

Making the above change got me this:

usr/include/cxl/features.h:59:9: error: unknown type name ‘uuid_t’

							Thanx, Paul

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ