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>] [day] [month] [year] [list]
Message-Id: <20230616145013.3889906-1-arnd@kernel.org>
Date:   Fri, 16 Jun 2023 16:50:10 +0200
From:   Arnd Bergmann <arnd@...nel.org>
To:     Julien Panis <jpanis@...libre.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Arnd Bergmann <arnd@...db.de>,
        Alex Williamson <alex.williamson@...hat.com>,
        Jason Gunthorpe <jgg@...pe.ca>,
        Tony Krowiak <akrowiak@...ux.ibm.com>,
        Mark Rutland <mark.rutland@....com>, Hao Ge <gehao@...inos.cn>,
        ye xingchen <ye.xingchen@....com.cn>,
        Miguel Ojeda <ojeda@...nel.org>,
        Florent Revest <revest@...omium.org>,
        linux-kernel@...r.kernel.org
Subject: [PATCH] samples: pfsm: add CC_CAN_LINK dependency

From: Arnd Bergmann <arnd@...db.de>

When no libc for the target architecture is available, cross-compiling
the same cannot work:

samples/pfsm/pfsm-wakeup.c:12:10: fatal error: fcntl.h: No such file or directory

Fixes: 9e66fb5244953 ("samples: Add userspace example for TI TPS6594 PFSM")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
 samples/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/Kconfig b/samples/Kconfig
index 3edf73a3dc9bf..bf49ed0d73623 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -256,6 +256,7 @@ config SAMPLE_INTEL_MEI
 config SAMPLE_TPS6594_PFSM
 	bool "Build example program working with TPS6594 PFSM driver"
 	depends on HEADERS_INSTALL
+	depends on CC_CAN_LINK
 	help
 	  Build a sample program to work with PFSM devices.
 
-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ