| Message ID | 20250110181508.350378-1-adhemerval.zanella@linaro.org (mailing list archive) |
|---|---|
| Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0555E3858415 for <patchwork@sourceware.org>; Fri, 10 Jan 2025 18:17:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0555E3858415 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 <libc-alpha@sourceware.org>; 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 <libc-alpha@sourceware.org>; 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-Google-Smtp-Source: AGHT+IHoyJ7KoJHu3IODWjHHuyxgLjk4Ydzyu42cFrIuuv7rmV6psmxaptBh5Uj22TeK/AH3GCtYUQ== 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 <adhemerval.zanella@linaro.org> To: libc-alpha@sourceware.org Cc: Sam James <sam@gentoo.org>, "H . J . Lu" <hjl.tools@gmail.com> 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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 <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
More fixes for building tests with clang
|
|
Message
Adhemerval Zanella Netto
Jan. 10, 2025, 6:12 p.m. UTC
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(-)
Comments
Hi Andreas, Are these patches ok for master? On 10/01/25 15:12, Adhemerval Zanella wrote: > 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(-) >
Am Freitag, 10. Januar 2025, 19:54:56 Mitteleuropäische Normalzeit schrieb Adhemerval Zanella Netto: > Hi Andreas, > > Are these patches ok for master? Yes as fixup, with the two comments (HJ's on patch 1 re long int, mine on patch 4) > > On 10/01/25 15:12, Adhemerval Zanella wrote: > > 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(-) > > > >