From patchwork Thu Feb 29 19:46:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 776900 Delivered-To: patch@linaro.org Received: by 2002:adf:e94d:0:b0:33d:f458:43ce with SMTP id m13csp1004519wrn; Thu, 29 Feb 2024 11:48:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgrrxYzCblQFAdQaG5OhodJQ3WN1hZAoabyhm3m2c5zQpNir3tBk8JuJIk26+rpeD+UDU6Hs69JFQ5NA32/peC X-Google-Smtp-Source: AGHT+IGMwthjhaLkyOLYTr34wHFhtPcURA9KGY1A03UpTL6psg73sPbihREmsyiTiA9cTzB4F/Yj X-Received: by 2002:ac8:4e55:0:b0:42e:aa98:f35 with SMTP id e21-20020ac84e55000000b0042eaa980f35mr3431055qtw.66.1709236083985; Thu, 29 Feb 2024 11:48:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709236083; cv=pass; d=google.com; s=arc-20160816; b=MxmnuEUq7Q1D6lZyKM9xZzmVXd9Ory2i8kwc65eJBu6J4f9zbnd0Khnzs7fATEFA+Q OnCk0wvnhBsB2XNGxCk5TP9usYbxkEB51jcgJG+21ZjPrUF5GAxVmGJlSwRhjUksr0/5 CnhB9oH3Q92a3ESm4fvQ3ggclcvogGB8/0s6tfrQxh1vHBsiHFBvQoWRC1neRtuiOwjx hriWu4ixQ08xBt+fbzw4tYCON9hFYH+JObKeaqZtd449+tzvinvBJS7F/oFj+lqY4fa7 Qh753nE1pLe9KtsPFIAzzE7YF+OBwi85P9j0C6judcYmElfFYHxYfbFHUF6CWsiOZIXE S/Sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=MJR92ySGcLAUEr/RiArHg/xnmWQ1MLj8la+pJNWsNHQ=; fh=r/+2bI1lru/Vq/uHJOEmQnAizPQ/CjrMEWBQn8qzvus=; b=W+DqCy92WBjmfHZGrhL8710KUnzhi13xDBJNDnpfxBz+wNCAPnEqQ0xZtUrbz64tJf vBIvbhErtbYl3uBVk6B2poU5/8yjSox4+cbtvRJgEsKN8K2MtTD7ndbzmKtF0ws4YnWU 2qoAlyOappWmNZU5OOtNoRkbFMwW6c/1RLk4+vjv4XLgjl/xn6ido4a9WBympsgE0glV keu/Eg/HtmsqaUVEKuG4hvoMru/bmC7OSrwdb5nnuOxOBxRSDSFMHxyrJAbEFubq2xxs m/PFc+3cDkdVUB6Kzrzl+XM+YOAOr1tF9KyKCGOL1N4uw6NT7DFOAHsT8AYmPWPtFZiM IKGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BIGDrB63; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g2-20020ac85d42000000b0042ec2a49e0bsi1215169qtx.441.2024.02.29.11.48.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 11:48:03 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BIGDrB63; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A0D1C3858017 for ; Thu, 29 Feb 2024 19:48:03 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by sourceware.org (Postfix) with ESMTPS id 3E76F385829A for ; Thu, 29 Feb 2024 19:46:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E76F385829A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E76F385829A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709236013; cv=none; b=NqZf7GseaUXz6SvcUtuB6rWS7yKDxPHdyqTXJmETrcyYNQ7msQl3TyvKki2reoL5pPZ+XbJtOlW4G646OuDwtdQbKGOpT1KiJx/q8j3zKFSenQ1PHmYWsSAtHI+m53D2G+PUN+/KiJNM3iEzyCvbOElU4n1fc57WJ/Egi8eJCCs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709236013; c=relaxed/simple; bh=9wQSkZIhXvyacN+wia2LRkuuffeqRF2czoReUDUGroo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=VxTB0F3tU8M9TcEnJu/CKnncns/eRrWLuVjLC40QlRsjtWVKE281HaGVzpIzI1P5tg5NZs/cG8cAuAg0BickR6keQoNKYFhpx2IN/A4ZtAGwW62imygoqRMwj4LUERkcHizGd+BGkDUgu9Xa9rbvP6VdeUvFT+7Wx2c3WlTdgfg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-29954bb87b4so963622a91.2 for ; Thu, 29 Feb 2024 11:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709236009; x=1709840809; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MJR92ySGcLAUEr/RiArHg/xnmWQ1MLj8la+pJNWsNHQ=; b=BIGDrB63xR7h2LloHRnbbQTV7NT8yZx6/YWgzvXk410lDKFYWs1PhBR9whA9YDMjq5 5Zt/XkpuoeLUqjwOD1MA8fYBrx0M9+uElIPQw1jxY9dTEEsXeAx7+P2XcJxWpFP/MpD+ m8kBT86tdSKmLa93A5RPh+MsXZQ3XiPwnKIOglr3LJ0O3oELU0OvVB3+AlQwSJpEYXSE Lx3TIMd7HFnI4ai4LmgeVr9BwI23sa5GVw7Up+EikCELshIMconD9/qr9nLpFFVz0FmW zyYIqfrrVuRFJhu7u9XxjiL63JmIbWCheI7Cau4MG4OQrbCb2asvdSi8UpvSvGmj1a4m aqXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709236009; x=1709840809; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MJR92ySGcLAUEr/RiArHg/xnmWQ1MLj8la+pJNWsNHQ=; b=okYCJ0VtbQ9zTQNQ2Py8qwzgnDmmkZ7Ha702T8+n+56DGuEpwvoU3Y6wvvJ420AieE Foag9RWMAHcuFtfC8nOYpey1h5I2HIKUXrYvL17NMTBZopq8Afb2csy1M8iaL3zBmxvs 4zpYpWcJNXx9ogyqqHjfaimfRGR3pLjJ0+zoe4nptN8zk5eyaFIG1mv4jDjaKhYCurxm tTjTsQVSXVUZp9BXCL+8sx2q34K3/ZPi8nj+vsigwqWjLBdYjTP29NdbkOoL4dhAlfQf PiBuYkD06wfPVYOh2DXsrTHsBkB3vVZeaLea9xl+JvHJtZ/XyM3/5P04x1CXgJPtIq2W Vl2A== X-Gm-Message-State: AOJu0YwBwEqMq18hUc0MUlWlAYG43AamKWdVHeBCHk8dkWJzs2PzwfFC ukn0uAzRDQsFSHYbjPVWNl+MJk15FoMoP1/NWwhkrr3Eyfhl+ebB8Rwe5uCNMD0uUDqrHoyNd/V F X-Received: by 2002:a17:90b:3bd0:b0:29a:a37f:22c6 with SMTP id ph16-20020a17090b3bd000b0029aa37f22c6mr40543pjb.28.1709236009480; Thu, 29 Feb 2024 11:46:49 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c1:3a1a:a62d:15eb:5bb4:832d]) by smtp.gmail.com with ESMTPSA id cz13-20020a17090ad44d00b0029ad44cc063sm3957206pjb.35.2024.02.29.11.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 11:46:48 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Szabolcs Nagy , "H . J . Lu" Subject: [PATCH 1/3] Ignore undefined symbols for -mtls-dialect=gnu2 Date: Thu, 29 Feb 2024 16:46:40 -0300 Message-Id: <20240229194642.3398122-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240229194642.3398122-1-adhemerval.zanella@linaro.org> References: <20240229194642.3398122-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org So it is not fail for arm config that defaults to -mtp=soft (which issues a call to __aeabi_read_tp). --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 59ff1e415d..ab8a10ed92 100755 --- a/configure +++ b/configure @@ -7020,7 +7020,7 @@ void foo (void) } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles - conftest.c -o conftest 1>&5' + -Wl,--unresolved-symbols=ignore-all conftest.c -o conftest 1>&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/configure.ac b/configure.ac index 65799e5685..4bb9aeef95 100644 --- a/configure.ac +++ b/configure.ac @@ -1297,7 +1297,7 @@ void foo (void) } EOF if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles - conftest.c -o conftest 1>&AS_MESSAGE_LOG_FD]) + -Wl,--unresolved-symbols=ignore-all conftest.c -o conftest 1>&AS_MESSAGE_LOG_FD]) then libc_cv_mtls_dialect_gnu2=yes else