From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by sourceware.org (Postfix) with ESMTPS id E14293947C0C for ; Tue, 10 Mar 2020 13:35:03 +0000 (GMT) Received: by mail-qk1-x744.google.com with SMTP id b5so12659775qkh.8 for ; Tue, 10 Mar 2020 06:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=Sz9KcM0QVq7N9HCk7BcWGqqYGWB8gZx7Xe35dGyLsqk=; b=x9I8QsOl8OLQoKPbPnyVJErpH02C9QHvbBgBwhUlkWnmUv2wf/e1Y48JVFnc0LVn82 06EKUm/aijjXTXy9qGTOjetAmPpPTdnJwOLzW+phQHOLeJeRkzjB/SA4WWsvIFeT4hLu wRaQmfqcmzBKU7LWbcdIncf7d2Xf8Q8bCLElPSsncOQqO9S7fQL+ykT1WYfEkhBnh5A4 KfDPLfrVFDWqJhg6vRDm/Y221GK9XraBLI+1BoNip0JXiCeJiUWjC3PZqwMCIdyw+0Ma 8ipoMdduh9exXkRqh5KcI56g6BtbuBGZheindQWW2Uo4pd2wHOy1h3vjWVAqQ4wzhOqL CzMQ== 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:in-reply-to :references; bh=Sz9KcM0QVq7N9HCk7BcWGqqYGWB8gZx7Xe35dGyLsqk=; b=qO8H5EVVisH8NnsnDKjAzjCpqcjFy7fEZ6eizkqNBSwTEn4DmlxNOH9C6yy5V9DK4D yuUaXwIVlF3FWGAdrjwULfGRl6L59xcOmTN69kCihiEnTtmE7lWKBfLUBW0bfzQMQw3n jgwIdbHkTL8eMBUHaPpdf3g2vvDo7UAsfmX7zoogBiPYR9DeiDY+Wn4wF6Fw+HQNnDyb Mv3IPqEiXkvngDuoSZeWdJK8yGDzDxaVProWxPtoakrpDuBRHtEAKRzLYj+27jvIs/H1 p0kdMWMKkINpzxokPrk91+dOsdvPwawap6F37Gs58OtzpRquTxSkHrfmCjF4ZdIAWSUc +cdQ== X-Gm-Message-State: ANhLgQ0DDU7wUxbRGbsEVuZQ/e34EzJDkd98R/l8uPIwRKckQufoM1Yk bgejuR4ohoOEJnBKg+YyIkyMHgzk3wM= X-Google-Smtp-Source: ADFU+vuFHTj4SaPOrOAQlm6TUkaAm2pfMx5WKP4QJ7CoFPRQQ0K9nD/Dj0wfNpKWmRGbb7VFlnWa4w== X-Received: by 2002:a37:bb03:: with SMTP id l3mr19717946qkf.458.1583847303019; Tue, 10 Mar 2020 06:35:03 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id g2sm23674070qkb.27.2020.03.10.06.35.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 06:35:02 -0700 (PDT) From: Adhemerval Zanella To: libc-stable@sourceware.org Subject: [2.31 COMMITTED] arm: Fix softp-fp Implies (BZ #25635) Date: Tue, 10 Mar 2020 10:34:53 -0300 Message-Id: <20200310133454.20821-4-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200310133454.20821-1-adhemerval.zanella@linaro.org> References: <20200310133454.20821-1-adhemerval.zanella@linaro.org> X-Spam-Status: No, score=-27.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS 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-stable@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-stable mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 13:35:04 -0000 The commit "arm: Split BE/LE abilist" (1673ba87fefe019c834c09d33673d1d453ea698d) changed the soft-fp order for ARM selection when __SOFTFP__ is defined by the compiler. On 2.30 the sysdeps order is: 2.30 sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic While on master is: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/ieee754 sysdeps/generic It make the build select some routines (fadd, fdiv, fmul, fsub, and fma) on ieee754/flt-32 and ieee754/dbl-64 that requires fenv support to be correctly rounded which in turns lead to math failures since the __SOFTFP__ does not have fenv support. With this patch the order is now: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptlsysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le/nofpu sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic Checked on arm-linux-gnuaebi. (cherry picked from commit af09e5e5d9ec3ca20891e61a6922eac984fcbdc4) --- sysdeps/arm/be/nofpu/Implies | 1 + sysdeps/arm/le/nofpu/Implies | 1 + 2 files changed, 2 insertions(+) create mode 100644 sysdeps/arm/be/nofpu/Implies create mode 100644 sysdeps/arm/le/nofpu/Implies diff --git a/sysdeps/arm/be/nofpu/Implies b/sysdeps/arm/be/nofpu/Implies new file mode 100644 index 0000000000..c90dd7fd5c --- /dev/null +++ b/sysdeps/arm/be/nofpu/Implies @@ -0,0 +1 @@ +arm/nofpu diff --git a/sysdeps/arm/le/nofpu/Implies b/sysdeps/arm/le/nofpu/Implies new file mode 100644 index 0000000000..c90dd7fd5c --- /dev/null +++ b/sysdeps/arm/le/nofpu/Implies @@ -0,0 +1 @@ +arm/nofpu -- 2.17.1