summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2001-10-30 23:41:05 +0000
committermarc <marc@openbsd.org>2001-10-30 23:41:05 +0000
commit999bfddaee11f946588fc65984f27dd5e41c6df9 (patch)
tree32a893c951e00b67f9a1f1d2abcf592d3e6a9103 /lib/libpthread
parentrstat_timeval is not the same as timeval (diff)
downloadwireguard-openbsd-999bfddaee11f946588fc65984f27dd5e41c6df9.tar.xz
wireguard-openbsd-999bfddaee11f946588fc65984f27dd5e41c6df9.zip
Add note to BUGS section regarding linking with -ggdb vs -g
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthreads.312
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3
index b1d9687b74a..81fb9e632ab 100644
--- a/lib/libpthread/man/pthreads.3
+++ b/lib/libpthread/man/pthreads.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthreads.3,v 1.13 2001/10/28 01:52:11 marc Exp $
+.\" $OpenBSD: pthreads.3,v 1.14 2001/10/30 23:41:05 marc Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 17, 1998
.Dt PTHREADS 3
@@ -243,3 +243,13 @@ This means that using
to alter the process virtual timer will have undefined effects. The
.Dv SIGVTALRM
will never be delivered to threads in a process.
+.Pp
+Some pthread functions fail to work correctly when linked using the
+.Fl g
+option to
+.Xr cc 1
+or
+.Xr gcc 1 .
+The problems do not occur when linked using the
+.Fl ggdb
+option.