NetBSD Problem Report #57881

From www@netbsd.org  Sat Jan 27 15:35:30 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 324E91A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 27 Jan 2024 15:35:30 +0000 (UTC)
Message-Id: <20240127153430.8E6E11A923A@mollari.NetBSD.org>
Date: Sat, 27 Jan 2024 15:34:30 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: vax libm is missing various symbols
X-Send-Pr-Version: www-1.0

>Number:         57881
>Category:       port-vax
>Synopsis:       vax libm is missing various symbols
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 27 15:40:01 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, ...
>Organization:
The NetLibm Foundation
>Environment:
vax
>Description:
vax libm is missing various symbols including llround and rintf.

I mechanically compared amd64 libm and vax libm.  The following symbols are in amd64 libm but not in vax libm (possibly missing, or possibly not applicable to vax -- I didn't put any further thought into this):

acoshf
acoshl
acosl
asinhf
asinhl
asinl
atan2l
atanhl
atanl
cabsf
coshl
cosl
dremf
erfcl
erfl
exp2l
expl
expm1l
fabsf
fabsl
fdim
fdimf
fdiml
feclearexcept
fedisableexcept
feenableexcept
fegetenv
fegetexcept
fegetexceptflag
fegetround
feholdexcept
feraiseexcept
fesetenv
fesetexceptflag
fesetround
fetestexcept
feupdateenv
fma
fmaf
fmal
fminl
frexp
frexpf
frexpl
gamma_r
gammaf
gammaf_r
ilogbl
isinff
j0f
j1f
jnf
lgamma_r
lgammaf
lgammaf_r
lgammal
llrintl
llround
llroundf
llroundl
log10l
log1pl
log2l
logl
lrintl
lroundl
matherr
modf
modff
nearbyint
nearbyintf
nearbyintl
nextafter
nextafterf
nextafterl
nexttoward
nexttowardf
nexttowardl
remainder
remainderf
remainderl
remquo
remquof
remquol
rintf
rintl
scalbf
scalbln
scalblnf
scalblnl
significand
significandf
sincosl
sinhl
sinl
tanhl
tanl
tgamma
tgammaf
tgammal
y0f
y1f
ynf

Also, the following symbols are in vax libm but not in amd64 libm (possibly only relevant on vax, or possibly extraneous internal symbols that shouldn't have been exposed):

d_cbrt
d_sqrt
dcbrt_
infnan
z_abs
>How-To-Repeat:
build mesa
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.