Message ID | 20240424113623.2382975-1-jcmvbkbc@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <uclibc-bounces@uclibc.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=uclibc.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=uclibc-bounces@uclibc.org; receiver=patchwork.ozlabs.org) X-Greylist: delayed 409 seconds by postgrey-1.37 at legolas; Wed, 24 Apr 2024 21:44:18 AEST Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VPcb657mQz1yZr for <incoming@patchwork.ozlabs.org>; Wed, 24 Apr 2024 21:44:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id AF3E94052F; Wed, 24 Apr 2024 11:36:51 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id rL0hdIkT38iO; Wed, 24 Apr 2024 11:36:50 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=uclibc-bounces@uclibc.org; receiver=<UNKNOWN> DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 740F4402E8 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 740F4402E8; Wed, 24 Apr 2024 11:36:50 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A0D951BF38B for <uclibc@lists.busybox.net>; Wed, 24 Apr 2024 11:36:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 978D681BE3 for <uclibc@lists.busybox.net>; Wed, 24 Apr 2024 11:36:48 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ga-9_SVNuJ2c for <uclibc@lists.busybox.net>; Wed, 24 Apr 2024 11:36:47 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::631; helo=mail-ej1-x631.google.com; envelope-from=jcmvbkbc@gmail.com; receiver=<UNKNOWN> DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 5971181BD6 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5971181BD6 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by smtp1.osuosl.org (Postfix) with ESMTPS id 5971181BD6 for <uclibc@uclibc.org>; Wed, 24 Apr 2024 11:36:47 +0000 (UTC) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a52223e004dso653353866b.2 for <uclibc@uclibc.org>; Wed, 24 Apr 2024 04:36:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713958605; x=1714563405; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QraLpbJlD8r509oL3DYmwH7rhkkZqHPkZXMKlRpBI+k=; b=i6YZcnS8zhs2Wk5ymETj8OQYahQKVV0sKYKLMf3mlnhsAIDoqEWlKXmazPPlEJv9wZ +slUwNIdnnC6UjrQI3WWY8OwWtdrMzFdh2P15I592NnN/Rd6tU4U03s2nabdMQ2/OIFx wt1h/2HxoXZb359r5gNscO4OfnWaKeLI5uYIR59D8AjDSnq767NHQhGtBhUb4JTbrJMR n4m8zHxw4qu2tdbvFOrKo8V8HJd2DVFE8EFemcNAIihISoSUytG7dNmJBKync+Vb9GJi f7ft5bh21CAWffH5Tu1WE3e0AEsrD9fQg3w1aGHumkHkVy1NLuSJuKeu63hWQxxGTBWb iULQ== X-Gm-Message-State: AOJu0YzGqs3wOBcsbaCnDnJuBXZ6m9tfnsizSmEchXlAYOAf/1VAPv6/ 8voFWjViCnUptV6b4I8H+busx42dv/ugl1UjDrd+tiDjQP6Sn3F//3BDPQ== X-Google-Smtp-Source: AGHT+IES0hbYKtXMHPd+GbqLqvcKcVLE8/I5yrfZQVwHIawG5O4A/FqjurMqpA6COVWXD8z+KPZwGg== X-Received: by 2002:a17:906:c7c7:b0:a55:690f:121e with SMTP id dc7-20020a170906c7c700b00a55690f121emr2022515ejb.30.1713958604542; Wed, 24 Apr 2024 04:36:44 -0700 (PDT) Received: from octofox.metropolis (77-46-212-180.dynamic.isp.telekom.rs. [77.46.212.180]) by smtp.gmail.com with ESMTPSA id z15-20020a170906668f00b00a51d073da7esm8204326ejo.82.2024.04.24.04.36.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 04:36:43 -0700 (PDT) From: Max Filippov <jcmvbkbc@gmail.com> To: uclibc@uclibc.org Subject: [PATCH] fix out-of-tree build with UCLIBC_HAS_CONTEXT_FUNCS Date: Wed, 24 Apr 2024 04:36:23 -0700 Message-Id: <20240424113623.2382975-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713958605; x=1714563405; darn=uclibc.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QraLpbJlD8r509oL3DYmwH7rhkkZqHPkZXMKlRpBI+k=; b=ZFgwzURwFK6I/zDhy5nr62HeXXmIz+4JtEX4YHeo5hEF6vlVCZbPCLgPpU0uMlwXxd 567pbx9mzNe11iMgdcFaf6vH14xoVg7zKmvKMqgYHSp5am2scKb7WdFNfWJf9Zb3rtm1 X8wp8JZOTmLudnxhezozhdqvACYYZN2UzkjT/PjH6rt9wvTO8zwQMJUoN0V3Uf4FtFX7 xS323uz8DTw/oyM2/dqc7CRpL4vc+x8+J/xkJqM1oclZT/wipcx17GoKqn7q4KyF+aL0 PltNfv/NUAppRTV680GvXzL21ykGojQoh3NYCFBXzrbvUK11PxFyuA1se4ySFaMHXT3n t/tQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=ZFgwzURw X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" <uclibc.uclibc.org> List-Unsubscribe: <http://lists.busybox.net/mailman/options/uclibc>, <mailto:uclibc-request@uclibc.org?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/uclibc/> List-Post: <mailto:uclibc@uclibc.org> List-Help: <mailto:uclibc-request@uclibc.org?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/uclibc>, <mailto:uclibc-request@uclibc.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" <uclibc-bounces@uclibc.org> |
Series |
fix out-of-tree build with UCLIBC_HAS_CONTEXT_FUNCS
|
expand
|
diff --git a/Rules.mak b/Rules.mak index f2e5791e3d89..27c80f924505 100644 --- a/Rules.mak +++ b/Rules.mak @@ -606,6 +606,7 @@ CFLAGS := $(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \ -nostdinc -I$(top_builddir)include \ -I$(top_srcdir)include -include libc-symbols.h \ -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH) \ + -I$(top_builddir)libc/sysdeps/linux/$(TARGET_ARCH) \ -I$(top_srcdir)libc/sysdeps/linux \ -I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) \ -I$(top_srcdir)ldso/include -I.
When building libc out-of-tree *context functions cannot find generated header ucontext_i.h: libc/sysdeps/linux/xtensa/setcontext.S:19:10: fatal error: ucontext_i.h: No such file or directory Fix that by adding include path to the build directory with that file to the compiler flags. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Rules.mak | 1 + 1 file changed, 1 insertion(+)