[Bug 218514] [LIBM] implementations of sinpi[fl], cospi[fl], and tanpi[fl]

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Oct 2021 18:18:47 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218514

--- Comment #23 from Steve Kargl <kargl_at_FreeBSD.org> ---
Created attachment 229047
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229047&action=edit
Put files in right Makefile locations

Kib,

I removed my old WIP and pulled /usr/src this morning.
Upon building a libm, I noticed that we were only building
the files if the compiler was gcc.  The nested .if ... .endif
seems to have caused us problems.  The attached diff moves
the files to appropriate locations in the Makefile.  On AMD64,
after building and installing new libs, I see

% nm /usr/lib/libm.a | grep pi | grep s_
s_cospi.o:
s_cospif.o:
s_sinpi.o:
s_sinpif.o:
s_tanpi.o:
s_tanpif.o:
s_cospil.o:
s_sinpil.o:
s_tanpil.o:

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Oct 26 2021 - 18:18:47 UTC

Original text of this message