| Summary: | gcc man page incorrectly mentions -kthread switch | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Ivan Voras <ivoras> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Removed. Thanks for pointing this out! |
The gcc man page states: --- FreeBSD SPECIFIC OPTIONS -pthread Link a user-threaded process against libc_r instead of libc. Objects linked into user-threaded process- es should be compiled with -D_THREAD_SAFE. -kthread Link a kernel-threaded process against libpthread in addition to libc. Objects linked into kernel- threaded processes should be compiled with -D_THREAD_SAFE. --- Of which the "-kthread" option is non-existant. (ref. stable@freebsd.org Message-ID: <20030120082339.GC92001@rot13.obsecurity.org>) Fix: Remove everything about -kthread. How-To-Repeat: man gcc