Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 11:12:48 +0100 (CET)
From:      Ivan Voras <ivoras@fer.hr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/47246: gcc man page incorrectly mentions -kthread switch
Message-ID:  <200301201012.h0KAClIr006962@geri.cc.fer.hr>

next in thread | raw e-mail | index | archive | help

>Number:         47246
>Category:       docs
>Synopsis:       gcc man page incorrectly mentions -kthread switch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 02:30:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Voras
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD geri.cc.fer.hr 4.7-STABLE FreeBSD 4.7-STABLE #1: Fri Oct 11 19:51:50 CEST 2002 ivoras@geri.cc.fer.hr:/usr/obj/usr/src/sys/GERI i386


	
>Description:

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>)

>How-To-Repeat:
man gcc
>Fix:
Remove everything about -kthread.


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301201012.h0KAClIr006962>