From patchwork Fri Jan 10 18:12:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 856280 Delivered-To: patch@linaro.org Received: by 2002:a5d:525c:0:b0:385:e875:8a9e with SMTP id k28csp364472wrc; Fri, 10 Jan 2025 10:16:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtVJDi4uNUPxmDwTLBODz4Sin6NYYpDrZpT0kIAyylneHpzjLTTPO4GjRyhiSe3okjhwqT8A==@linaro.org X-Google-Smtp-Source: AGHT+IFwMXyTXoDfS3iyYzKJDsSAUlSgGUYVUuS127mJEx7qAnxxYKhhrB3p+JSxxezuakvGq7CO X-Received: by 2002:a05:6122:1d15:b0:517:83d1:d438 with SMTP id 71dfb90a1353d-51c6c437bd7mr11896479e0c.3.1736532973728; Fri, 10 Jan 2025 10:16:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1736532973; cv=pass; d=google.com; s=arc-20240605; b=gRjbTH+vaJKLSiRphkHqi8SZgC7VMaumPe9fnALUz8mj01Fc4LldI+v0Ol3AA5Bqzk 7yJurEBVoaZt1llXWyiPhELt8tNqqCLy1bdzGH74WGDDEP1O7RFsFujevmSNsi81lQ8Y krg/oRe5E4NLDcwdus5SUNsyWdz1u1TwwC/sgkER8tljgyh/6SwgCZ4jqx825W0UvG/k 5M8d+LfP8CV1UZ5WmmT7es6ZQdneWsH+/p25MK1O3mE32vOHJuF2F+ReP17rLQrGaFzf DM/+/BxUHSqFQHCEYqltlWY4ebrUrirrGklAFEu0DxJuelSdAC2YMw1648amKHDm2iJj dqIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dkim-filter:arc-filter:dmarc-filter:delivered-to:dkim-filter; bh=nYCXUqyokgviUZKX2DfDcLy3gDZUNUnlVkk5yxmsMH4=; fh=d7KdQ+eBG5Owb97PZQUBRjccSsV/hB6hMlyGG6W37vA=; b=TsZV0EXX13etKNBl1KXKu+lJImMU8apmyWKYwaI0Ts5xuHE7MfIKaV23IV/ijum5hZ 2/c9jHjEuoGsfs1555k8X76+AZ7U73FP0kIpFiyYoJmSD9pzzoUMzj/xhUoMWig8iDUJ w7ygM+mMAyyiP2/ZiUH9eHGGKGkUiqOdi6pjLkh7bC287QEFr/4DF8LqAklWT6RAJb4q xwnky3YrZgacxadvFZr3dHNbTd7O/re5V5jEIvwtguW/8YS7UCtE0AQM1lmgOEIHq3Zz XRVuzDIoL+3E0whEUj4nc0/hnN7b8xMPPKP3bh0kN5ywfA8Blq2/q9588+NA3Dzs4Kzv CPVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FIQGd0EQ; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 71dfb90a1353d-51c7fd835f6si1863023e0c.124.2025.01.10.10.16.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 10:16:13 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FIQGd0EQ; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 437F93858427 for ; Fri, 10 Jan 2025 18:16:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 437F93858427 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=FIQGd0EQ X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) by sourceware.org (Postfix) with ESMTPS id 4D01E3858CD9 for ; Fri, 10 Jan 2025 18:15:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D01E3858CD9 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 4D01E3858CD9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::932 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736532914; cv=none; b=HXSdFOip1vLH2URR/PPOR+iYmMI0DROql3KsQUnU3dtY6KMNZ8ov0aT12QpF96Hmnf4MuNf4WLNPXfUjzQyzQgCEBXUsPYufRW2o9JhLRg7a0tzSPTIAKMd81pr7MduSGDHQNnuElH1eb+a8oMnLkPwMUI8dms95RlsWmKOv2pc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736532914; c=relaxed/simple; bh=KSBIQSTLWR3xu7tEfl+mhvmU8xQbd8eiW9rMnX7D68A=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Z8WY+5H3RYjZ6L1FPnMYBUpaJLwsvoom9uPeVodMfqHP+QsolfStq0mGHRP7TwoPoSfH68uiEguyEycRpt5dNyTMTvNTvSURkmCG5CpR80IDQK3Y7QR9Kxann5nG32cPvWCCa8xDr7JPgXu5SJpmNr9l8hm7PHQK1bcCjN3mpZk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D01E3858CD9 Received: by mail-ua1-x932.google.com with SMTP id a1e0cc1a2514c-85bb13573fbso763636241.1 for ; Fri, 10 Jan 2025 10:15:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736532913; x=1737137713; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nYCXUqyokgviUZKX2DfDcLy3gDZUNUnlVkk5yxmsMH4=; b=FIQGd0EQ18oD4yRnIoQmpVW8Bo5ZQ8QlVocp9aDcDrLthTcB9r/h3uiHB44DGdtUbq lpa8RpYWZ2sxtgEIF6xAooVhGJkwYiZTVwEFoV1YxCrL/TnI6Shoku16Ty/m6M1P0RJn 6uY0tH0GboXpn6GE/Zy/EDNpU7k+IJVOigvI27QWamLaprQo9ArO/Dp42tw0jcTQJGLS rBpDRk0qjwndVz6J15gfU+ZCkGGG3WwifGQzYYIRJ6QiD563PIj5XEcFmli6up3ou9wn MvMN4E3gYJbORjbpm4b1VPCPWUkoP22Wb+a7JVyCS09JHKxw/Tzv1dkCEk5kcr0R3gVl hqng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736532913; x=1737137713; 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=nYCXUqyokgviUZKX2DfDcLy3gDZUNUnlVkk5yxmsMH4=; b=p6ZeylmKg1kQ3CyM9riVXc9Etg1tOYm7BYbLPCUy3RZpfcINHoFRbrn5mXSSde/YTZ ca6Y4ozLwuVGLuy7GCraJzaH/RdW8iln/YJ59sLisDM45NfqCMnLHbQaQK3lm4Aa7FSj 2I6s4etM5JXfU/JpheE9K5FpB8S+jS3Pg/G2VR5/WoDF6eI6RGGaUJA/HjdHbNjqq3H/ pSLqsXqqBtMn2OL9EqGlJm4p1yxim3n375+/8gFJvwg8XUYg/VJwIUIpnsa7h8y2hSxI Cn3ywePFqv0i5MItiq53dMSyfL9Inh0nxd6F8lO9CSuRr3QCH/XO5H+0eCcG2qRYobMg DOAA== X-Gm-Message-State: AOJu0YxqnH/ohGFALJchvEsnUb0yY7n1hFG3Z4IWplM+OO7VB7KHKni0 TnSdjiGt7xdW29rqbfFk+15yIZXEcbGZBN5bKxt8gxmLVRxC1Tale525X4VxMAEtUgAILhattXf d X-Gm-Gg: ASbGncu6x49wLOXau2kgh7C4cHwIPHismUY/rYFDQOJ+98OdiOYY9YNVSuGYIQcFL5g HT8ELpGDo6/xpzS/rW2UtZ9vM/Un3I7o3e1lah1+FkRj/azZneH1FNz2HVv8ONdZ1Kk4bBQwe9y 7mlVq5I4kGdVUnhIsqzNVXXfeUrNwe2mEWcz+0t/6bjMTz3zLyjYzmfbeWO9R6sZwphjzjbpdzo jJcSRTAWxEphWs7xkLjZOuDOqoGVBPZDLuHhT6PjrT39dNeKz+H5OIEisXAWd3bIKSN3A== X-Received: by 2002:a05:6122:1d15:b0:517:83d1:d438 with SMTP id 71dfb90a1353d-51c6c437bd7mr11887051e0c.3.1736532913266; Fri, 10 Jan 2025 10:15:13 -0800 (PST) Received: from ubuntu-vm.. ([191.23.120.207]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-51c7fb9d621sm2469139e0c.1.2025.01.10.10.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 10:15:12 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Sam James , "H . J . Lu" Subject: [PATCH v2 0/4] More fixes for building tests with clang Date: Fri, 10 Jan 2025 15:12:10 -0300 Message-ID: <20250110181508.350378-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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 On aarch64 with clang 18.1.3 (from ubuntu 22i), there still some tests that fails to build. With this patchset applied, building and running the tests with clang shows: FAIL: conform/ISO11/tgmath.h/conform FAIL: conform/ISO99/tgmath.h/conform FAIL: conform/POSIX2008/tgmath.h/conform FAIL: conform/XOPEN2K/tgmath.h/conform FAIL: conform/XOPEN2K8/tgmath.h/conform FAIL: elf/ifuncmain1static FAIL: elf/ifuncmain4 FAIL: elf/ifuncmain4static FAIL: elf/ifuncmain6pie FAIL: elf/ifuncmain7 FAIL: elf/ifuncmain7pic FAIL: elf/ifuncmain7picstatic FAIL: elf/ifuncmain7pie FAIL: elf/ifuncmain7static FAIL: gmon/tst-gmon-gprof FAIL: gmon/tst-gmon-pie-gprof FAIL: gmon/tst-gmon-static-gprof FAIL: gmon/tst-gmon-static-pie-gprof FAIL: gmon/tst-mcount-overflow-check FAIL: math/test-float128-isgreater FAIL: math/test-float128-isgreaterequal FAIL: math/test-float128-isless FAIL: math/test-float128-islessequal FAIL: math/test-float64x-isgreater FAIL: math/test-float64x-isgreaterequal FAIL: math/test-float64x-isless FAIL: math/test-float64x-islessequal FAIL: math/test-ldouble-isgreater FAIL: math/test-ldouble-isgreaterequal FAIL: math/test-ldouble-isless FAIL: math/test-ldouble-islessequal FAIL: math/test-tgmath FAIL: math/test-tgmath2 FAIL: stdio-common/tst-vfprintf-user-type Adhemerval Zanella (4): aarch64: Use 64-bit variable to access the special registers gmon: Disable tst-profile-static with clang elf: Suppress unused function clang for __ifunc_resolver stdio-common: Suppress Clang warnings on scanf13.c with fortify enable elf/ifuncmain9.c | 4 +++ elf/tst-ifunc-fault-lazy.c | 4 +++ gmon/Makefile | 3 +- stdio-common/scanf13.c | 5 +++ sysdeps/aarch64/fpu/fpu_control.h | 36 +++++++++++++------ sysdeps/aarch64/fpu/fraiseexcpt.c | 3 +- sysdeps/aarch64/sfp-machine.h | 2 +- .../unix/sysv/linux/aarch64/cpu-features.c | 2 +- sysdeps/unix/sysv/linux/aarch64/sysconf.c | 2 +- 9 files changed, 45 insertions(+), 16 deletions(-)