[Midnightbsd-cvs] [MidnightBSD/src] ae5715: msun: remove fabs from Symbol.map, and adjust comment

Lucas Holt noreply at github.com
Thu Mar 28 08:44:33 EDT 2024


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: ae5715735a82956fc3a9eca85b4e450f4e69c09f
      https://github.com/MidnightBSD/src/commit/ae5715735a82956fc3a9eca85b4e450f4e69c09f
  Author: Dimitry Andric <dim at FreeBSD.org>
  Date:   2024-03-28 (Thu, 28 Mar 2024)

  Changed paths:
    M lib/msun/Makefile
    M lib/msun/Symbol.map

  Log Message:
  -----------
  msun: remove fabs from Symbol.map, and adjust comment

We have s_fabs.c, but fabs(3) is already provided by libc due to
historical reasons, so it is not compiled into libm. When the linker
does not use --undefined-version, this leads to a complaint about the
symbol being nonexistent, so remove it from Symbol.map.

While here, adjust the comment about some functions being supplied by
libc: while it is true that all these are indeed in libc, libm still
includes its own versions of frexp(3), isnan(3), isnanf(3), and
isnanl(3).

Reported by:	Steve Kargl <sgk at troutmask.apl.washington.edu>
MFC after:	3 days

(cherry picked from commit d04e03c19a8d7660ea36f62720eef9bc96b69889)


  Commit: 3d3c92eea80cefe2097a531744e2212d7936a442
      https://github.com/MidnightBSD/src/commit/3d3c92eea80cefe2097a531744e2212d7936a442
  Author: Eugene Grosbein <eugen at FreeBSD.org>
  Date:   2024-03-28 (Thu, 28 Mar 2024)

  Changed paths:
    M sys/geom/raid/md_promise.c

  Log Message:
  -----------
  graid: MFC: unbreak Promise RAID1 with 4+ providers

Fix a problem in graid implementation of Promise RAID1 created with 4+ disks.
Such an array generally works fine until reboot only due to a bug
in metadata writing code. Before the fix, next taste erronously created
RAID1E (kind of RAID10) instead of RAID1, hence graid used wrong offsets
for I/O operations.

The bug did not affect Promise RAID1 arrays with 2 or 3 disks only.

Reviewed by:	mav

(cherry picked from commit 81092e92ea5184c4eeedad58044d72cfef72dd24)


Compare: https://github.com/MidnightBSD/src/compare/e88417a7faa5...3d3c92eea80c

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list