From patchwork Wed Oct 7 19:03:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 40679 Return-Path: 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 F10033857C44; Wed, 7 Oct 2020 19:03:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F10033857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1602097398; bh=EXE90oUSG1Jn9ne22D0ZyHutDxtjP9tlNl/Mh1aydCU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=btZusDH+YoxcbHkcSGA0m7lf965f3v5zq1IS26LAiq1Vn19f1OpsLepGvnoWLerzP i6T5tMAfWkRsAEHiNfkp8e+B6eyNGdt0x/8KgqPfkwxFJlSYhSPtbUNYg21vWLHXh4 41gwb4sO8f0vTYKcn4tnxJ6aTu3uh/7++p2XXcq4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by sourceware.org (Postfix) with ESMTPS id 632603857C44 for ; Wed, 7 Oct 2020 19:03:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 632603857C44 Received: by mail-qk1-x742.google.com with SMTP id w12so4163204qki.6 for ; Wed, 07 Oct 2020 12:03:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=EXE90oUSG1Jn9ne22D0ZyHutDxtjP9tlNl/Mh1aydCU=; b=EnpURkuRZbixOsarRftd1TpsH/f1n67Vn1pNYE5aHEsx2/f6kr27CQ4ihSONUGWYmN tASrBXX6gDFILG6xWA5sb6m8xK4jQijrsVFbrXlysqUDgSm2B8CjE6oSTP+OU+1tPi66 mqRcg8By3xVbjZhZEvA2VcdXmpTIi+d2CXLEjUbi0JwkTP2lU50Tn1ltsBRh0w2OAdWe /GyLgubn7oifYBhlJtHzUTxIoYo8JR4UzeXPMRWgtPUrw1+jhC0KDS7oOQo8Yscmhdbw 4SVfHQec7+m5H1PX3jJ988iO7QxOLB5+qL9LWIhO3XoUCGIG+X01xjADEBZGDzm7DjIL 9V8Q== X-Gm-Message-State: AOAM531EJ5WxlHCfAy3bmr53Z9KHyjKWpZN8Dmr9PbEmTjxD8we3yPP0 4P4RjRD+cT7AmEhJUFw0aDDyAttIEk9XpQ== X-Google-Smtp-Source: ABdhPJx7YXRvDNZ+NVxToN9hwBJKB4mefjs0SP5GA/Tdv1hSYWuurpK9Mh/aZ80d9oRYrrTqrEqHoQ== X-Received: by 2002:a37:9282:: with SMTP id u124mr4399177qkd.463.1602097394773; Wed, 07 Oct 2020 12:03:14 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id m1sm1894150qkn.89.2020.10.07.12.03.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2020 12:03:14 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [COMMITTED] nptl: Add missing cancellation flags on futex_internal and pselect32 Date: Wed, 7 Oct 2020 16:03:10 -0300 Message-Id: <20201007190310.2050826-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.0 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 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" It fixes the tst-cancelx{4,5} and tst-cancel24-{static} regression on some platforms (arm and sparc32). Checked on arm-linux-gnueabihf and sparcv9-linux-gnu. --- sysdeps/nptl/Makefile | 1 + sysdeps/unix/sysv/linux/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/sysdeps/nptl/Makefile b/sysdeps/nptl/Makefile index a65be3b7ea..8dfb6fdf1e 100644 --- a/sysdeps/nptl/Makefile +++ b/sysdeps/nptl/Makefile @@ -18,6 +18,7 @@ ifeq ($(subdir),nptl) libpthread-sysdep_routines += errno-loc futex-internal +CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables endif ifeq ($(subdir),rt) diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index a54eb75d74..de9e86553b 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -69,6 +69,7 @@ CFLAGS-vmsplice.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-splice.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-open_by_handle_at.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-sync_file_range.c = -fexceptions -fasynchronous-unwind-tables +CFLAGS-pselect32.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=(0x80000000-sysconf(_SC_PAGESIZE))" sysdep_headers += sys/mount.h sys/acct.h \