From owner-svn-src-all@freebsd.org Mon Sep 30 14:11:50 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C403128E51; Mon, 30 Sep 2019 14:11:50 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46hkqB3F2qz3yTq; Mon, 30 Sep 2019 14:11:50 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 528F93D2B; Mon, 30 Sep 2019 14:11:50 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8UEBo6S052370; Mon, 30 Sep 2019 14:11:50 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8UEBn2W052367; Mon, 30 Sep 2019 14:11:49 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201909301411.x8UEBn2W052367@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Mon, 30 Sep 2019 14:11:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org Subject: svn commit: r352899 - releng/12.1/lib/msun/src X-SVN-Group: releng X-SVN-Commit-Author: jhibbits X-SVN-Commit-Paths: releng/12.1/lib/msun/src X-SVN-Commit-Revision: 352899 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2019 14:11:50 -0000 Author: jhibbits Date: Mon Sep 30 14:11:49 2019 New Revision: 352899 URL: https://svnweb.freebsd.org/changeset/base/352899 Log: MF stable/12 r352685: libm: Include float.h to get LDBL_MANT_DIG The long double aliases of double functions are only exposed as aliases if LDBL_MANT_DIG is 53 (same as DBL_MANT_DIG). Without float.h included these files were not exposing weak aliases as expected, leading to link failures if programs use the *l functions. This should fix editors/calligra on targets with 64-bit long double, which uses erfl and erfcl. Found on powerpc64. Approved by: re(delphij) Modified: releng/12.1/lib/msun/src/s_cbrt.c releng/12.1/lib/msun/src/s_cproj.c releng/12.1/lib/msun/src/s_erf.c Directory Properties: releng/12.1/ (props changed) Modified: releng/12.1/lib/msun/src/s_cbrt.c ============================================================================== --- releng/12.1/lib/msun/src/s_cbrt.c Mon Sep 30 14:05:44 2019 (r352898) +++ releng/12.1/lib/msun/src/s_cbrt.c Mon Sep 30 14:11:49 2019 (r352899) @@ -15,6 +15,7 @@ #include __FBSDID("$FreeBSD$"); +#include #include "math.h" #include "math_private.h" Modified: releng/12.1/lib/msun/src/s_cproj.c ============================================================================== --- releng/12.1/lib/msun/src/s_cproj.c Mon Sep 30 14:05:44 2019 (r352898) +++ releng/12.1/lib/msun/src/s_cproj.c Mon Sep 30 14:11:49 2019 (r352899) @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include "math_private.h" Modified: releng/12.1/lib/msun/src/s_erf.c ============================================================================== --- releng/12.1/lib/msun/src/s_erf.c Mon Sep 30 14:05:44 2019 (r352898) +++ releng/12.1/lib/msun/src/s_erf.c Mon Sep 30 14:11:49 2019 (r352899) @@ -107,7 +107,7 @@ __FBSDID("$FreeBSD$"); * erfc/erf(NaN) is NaN */ - +#include #include "math.h" #include "math_private.h"