From patchwork Sun Sep 22 09:23:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3506 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5A22C40D67 for ; Sun, 22 Sep 2024 11:23:45 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5c42bb02028sf4264009a12.1 for ; Sun, 22 Sep 2024 02:23:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726997025; cv=pass; d=google.com; s=arc-20240605; b=JuOWKC9RNkD8M07bbfB/8Chx2LPgoQzH6oBDDP4o18i+UJSWITjz7Yig+T9VJWVQId FzlvQ4liwNy6QNxlZB++a4+o8VTP4KtJYv2IzE5xmZot8LTNZ2wQ12M25i0EhsXImyUs wkxZyByhbBSFnAhYis7mW9VHDwhYvWpCyu2QuwTWKLLH9ZmTZWKRFIQ3FBy3MplmzWcP g08401VuyCynm8CvcGjHBDHlmY9lXLJDrmp+/MfrBIYze9ye3EXAQ8WHcD2YISBNJ0W9 hyDx5ypQNrlsR4bXIc+cgP1tQU2PQi3i06HaeZY164aNytzGHdTuN92lUyW2l+vKfLxN VU4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Ow2oCUC6NIOttF8bF5mwq0OL9rai4/OQs7v5cGHndx4=; fh=goBsKdHXoLcwp/L6lIJT56w+2JTFZQt/6OwkL2hZdwY=; b=MfIhNHM1fY+z2dHyj4yroDbGw9m4zni9P1t/0Cxs3sNxJGaOeIgGzFi/xanq1ZJF29 j/IedWQ5fwHiiNoBOsWO6R3rx5goABMZwxtd9dXna3MDDFSpujZXmxk09DDnR9LcDFcl G18A31EHjvXLBLl2qY+ZSKhQx1xztWU+DXbz1/0X0yJBDnXVXlKxmG5mP+FKdrRIEj6V K+6lLreWGJZWwHlT7lfoIIB8e47LcyYcZWQ8DeVyQmh1I3USF+0hUiVmlLHO9ngWJB7D 4gRdSeOSayTx/WMEopENpvqmXIWiYu6PpPxvXf68HPCxVcWh7gkL4tBn685BOwtJQihq 3Txw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pIgiqh+I; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1726997025; x=1727601825; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ow2oCUC6NIOttF8bF5mwq0OL9rai4/OQs7v5cGHndx4=; b=AE67b4wQzL76H1zRmpXRSDZh1oaw+I4fMBHJbwv8x+KnDcqo/DJg1vlXEU9UQIfpsb XH/XYd4pX4IKmcqwwW33SR89XnqzreqYFeWOYiHKz2JRzteTElqvKDTvmsPq59C3miV6 ToaIPT3qpFVmn6XuZW4p0PoLNrjjMBGQmbBqE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726997025; x=1727601825; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ow2oCUC6NIOttF8bF5mwq0OL9rai4/OQs7v5cGHndx4=; b=SYd2Wgv16rWB4WqtiUzqb76zxMcsYu1BbuMU2aWFl4yRRMDK53WdbNHr214w0Q5w6v ccO04mUMks/7b/TX2e7OP+buho6eiu1/ToH4D+aLkiYnzML7m9fW6dLBn3Z7gJnQPnPF 0Cbb8K9UWLA75v3GSRfiWlnw/JWzcbPffWBUYPZiyGeDv6oKqvMGbM+pqr+B38tXrX+X Fbs4nyzCD6o4ZG963kJWf5eBFEYYKhjR/8z/Qk6s7N4QK1VokAmTk9orQBCxOGw+aJtj J9Nup5TF04NwY+YN+ynm1G0P4Vwr2pTiAJJsmGAXtsHZin7ocnhPBZ4YWehs3YK/kYEq tpvw== X-Forwarded-Encrypted: i=2; AJvYcCUoQzUvgrhm+ZcxFeCmbhqWi93bJ1/p5NJb2+/v+pOcDmMwKDRZ83OHL+BfjHMat76ifXfbQxcZifpDquI7@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yzfmkgjp480Lv0H3+qNJmTkjSSybo3cpIwWAhzkVObTXgPzAI+i A/m21E0HsMGswnTRm1UBIp6wLGa7rVrDx+Z4FRT4bUDRpADyjwgl4z7S0aOOUU1N77YmgTVDnA= = X-Google-Smtp-Source: AGHT+IE8u55OwdfiKm9kx2+e0ti592CVVzifxEoVFg4AGzVUHcGM+EYgMnmOAFbC+B5vqeN3YlKhkw== X-Received: by 2002:a05:6402:4342:b0:5c4:20fc:7b39 with SMTP id 4fb4d7f45d1cf-5c4592208fdmr13190619a12.9.1726997024948; Sun, 22 Sep 2024 02:23:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5107:b0:5c4:6687:150 with SMTP id 4fb4d7f45d1cf-5c4668703efls163865a12.1.-pod-prod-00-eu; Sun, 22 Sep 2024 02:23:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUmM70nXpTy5Sp70ZOBtTeyHQc1txl2XyqwqOk8+CKijy7dQDODZwdhxacYsxyN3lL5dUBjZ7WVaCeUglww@amarulasolutions.com X-Received: by 2002:a17:907:9288:b0:a90:b646:8e44 with SMTP id a640c23a62f3a-a90c1c370f0mr1242160766b.1.1726997023320; Sun, 22 Sep 2024 02:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726997023; cv=none; d=google.com; s=arc-20160816; b=mgQeT7yhCIhaf8LVh6EOuFRmTu2Hpp9BsbJ7x1xAMVzUk9lZj4jjOAiPAT0nhQIEWl ELSJWPFh9FCPhxej55LHVVGoybpg38HO4OLSm32vK2CteZ1XedEpKXIZCDslvo5oaj46 T6UgRMOtmF4JcfLcaHsnOkd4My8vhJMt+vW3VvsZwN2CXAMUsbfo8CkJHKSqMUcMdyhr fKnT56OJyJQb7vvdm78nSmHDezILbg8WYs3pVtf0Q6E+PBUbkcMhSf8Zo5U8WEomcvhE IbBPG+J8Ic9u2O2g+36QP5nDOe95gw4107bdlNkszcWWgWkALR2r7nQiDSMRxrkd9We2 NlAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ucWYeingJI9DCD8hQDaZ1DGr9qbnpw2gXZFhvPSmJfU=; fh=u2CLvJ4JC1UbSHH3okLIc5iX8qG3fcBJIMOECCbdoWs=; b=QK3fiPzJUAfb6WUGTUMDbWV2pyJz5ASb9ANvXqLcJ+3e54mscSXVv1PySp3Ny406Jc 5n5ZeJuPeFEJN2/iaTgr9YDVwlr1l2pTc1+YU9cbmxeBp2CsFuTlRJtTlpJbpRH6PBW8 qZ/3hZrf3tv6KWCPnm2pTPfMMWxlmut8JsHpLb8iYtx9c9OlInfyd7qtDzFAWtbMfEdb bRcLxKuyIuKjMDSHgNmcJ3HFLCIo8s8aRVtf3S4yrtldCZWNiIiifeENrVgmGUoWtcD/ f/uNrC0DLGBqgGWJaNGSR4ImazIZEMEW9sgqdcDOZWnOFWLOEE1Y00BaVNodoQUfRh7B bJKA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pIgiqh+I; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a90b583cd01sor358802666b.1.2024.09.22.02.23.43 for (Google Transport Security); Sun, 22 Sep 2024 02:23:43 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCVqJPnjv6sk4FTY8HY/q6GvfbohclEkvIz31TEI66xv2Wan2FCp/G63f/EXI9OfC+tpt9UxotqsM1xmCkiA@amarulasolutions.com X-Received: by 2002:a17:907:7ea3:b0:a8d:4e69:4030 with SMTP id a640c23a62f3a-a90c1cfb99bmr1378167366b.19.1726997022749; Sun, 22 Sep 2024 02:23:42 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-102-52.retail.telecomitalia.it. [79.20.102.52]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a90612b33fasm1065235866b.139.2024.09.22.02.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Sep 2024 02:23:41 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Giulio Benetti , Waldemar Brodkorb , Romain Naour , Dario Binacchi , Thomas Petazzoni , yann.morin.1998@free.fr, Ben Wolsieffer , linux-amarula@amarulasolutions.com, Ben Wolsieffer Subject: [PATCH v2 7/9] package/uclibc: enable NPTL on no-MMU ARM w/ FDPIC Date: Sun, 22 Sep 2024 11:23:10 +0200 Message-ID: <20240922092312.2061358-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240922092312.2061358-1-dario.binacchi@amarulasolutions.com> References: <20240922092312.2061358-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pIgiqh+I; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Ben Wolsieffer NPTL is supported on no-MMU ARM systems if FDPIC binaries are used. Signed-off-by: Ben Wolsieffer Signed-off-by: Waldemar Brodkorb Signed-off-by: Dario Binacchi --- No changes since v1 package/uclibc/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index 73ddd5ef5819..4c360809c3ab 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -78,7 +78,7 @@ choice config BR2_PTHREADS_NATIVE bool "Native POSIX Threading (NPTL)" - depends on BR2_USE_MMU + depends on BR2_USE_MMU || ((BR2_arm || BR2_armeb) && BR2_BINFMT_FDPIC) select BR2_TOOLCHAIN_HAS_THREADS select BR2_TOOLCHAIN_HAS_THREADS_NPTL