From: bugzilla-daemon@kernel.org
To: linux-man@vger.kernel.org
Subject: [Bug 217291] New: librt empty, man pages should not tell users to link with -lrt
Date: Mon, 03 Apr 2023 08:23:16 +0000 [thread overview]
Message-ID: <bug-217291-11311@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=217291
Bug ID: 217291
Summary: librt empty, man pages should not tell users to link
with -lrt
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: low
Priority: P1
Component: man-pages
Assignee: documentation_man-pages@kernel-bugs.osdl.org
Reporter: blomqvist.janne@gmail.com
Regression: No
Nowadays librt.a is empty and librt.so is an empty placeholder, and everything
has moved to libc proper. Similar to what was done with clock_gettime() and
friends for glibc 2.17. Man pages should have similar language as for
clock_gettime that one no longer needs to link with -lrt except for old glibc
versions.
Looking at the output of git grep -F -e '-lrt' in the man-pages repo it seems
the following man pages need fixing:
man2/timer_create.2 - Moved to libc in glibc 2.34
man2/timer_delete.2 - Same
man2/timer_getoverrun.2 - Same
man2/timer_settime.2 - Same
man3/aio_cancel.3 - Same
man3/aio_error.3 - Same
man3/aio_fsync.3 - Same
man3/aio_init.3 - Same
man3/aio_read.3 - Same
man3/aio_return.3 - Same
man3/aio_suspend.3 - Same
man3/aio_write.3 - Same
man3/intro.3 - No need to mention obsolete librt?
man3/lio_listio.3 - Moved to libc in glibc 2.34
man3/mq_close.3 - Same
man3/mq_getattr.3 - Same
man3/mq_notify.3 - Same
man3/mq_open.3 - Same
man3/mq_receive.3 - Same
man3/mq_send.3 - Same
man3/mq_unlink.3 - Same
man3/pthread_getcpuclockid.3 - Remove -lrt from example comment
man3/shm_open.3 - Moved to libc in glibc 2.34
man7/mq_overview.7 - Update to reflect that -lrt needed only for
glibc < 2.34
man7/shm_overview.7 - Same
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next reply other threads:[~2023-04-03 8:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 8:23 bugzilla-daemon [this message]
2023-04-05 0:52 ` [Bug 217291] librt empty, man pages should not tell users to link with -lrt bugzilla-daemon
2023-04-05 5:02 ` bugzilla-daemon
2023-04-07 23:28 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-217291-11311@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox