From ivoras@geri.cc.fer.hr  Mon Jan 20 02:25:41 2003
Return-Path: <ivoras@geri.cc.fer.hr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 75FF537B405
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Jan 2003 02:25:41 -0800 (PST)
Received: from geri.cc.fer.hr (geri.cc.fer.hr [161.53.72.107])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1FF4344224
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Jan 2003 02:18:25 -0800 (PST)
	(envelope-from ivoras@geri.cc.fer.hr)
Received: from geri.cc.fer.hr (localhost [127.0.0.1])
	by geri.cc.fer.hr (8.12.6/8.12.5) with ESMTP id h0KACmoA006963
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Jan 2003 11:12:48 +0100 (CET)
	(envelope-from ivoras@geri.cc.fer.hr)
Received: (from ivoras@localhost)
	by geri.cc.fer.hr (8.12.6/8.12.6/Submit) id h0KAClIr006962;
	Mon, 20 Jan 2003 11:12:48 +0100 (CET)
Message-Id: <200301201012.h0KAClIr006962@geri.cc.fer.hr>
Date: Mon, 20 Jan 2003 11:12:48 +0100 (CET)
From: Ivan Voras <ivoras@fer.hr>
Reply-To: Ivan Voras <ivoras@fer.hr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gcc man page incorrectly mentions -kthread switch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47246
>Category:       docs
>Synopsis:       gcc man page incorrectly mentions -kthread switch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 02:30:01 PST 2003
>Closed-Date:    Tue Feb 04 19:08:13 PST 2003
>Last-Modified:  Tue Feb 04 19:08:13 PST 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Tue Feb 4 19:07:51 PST 2003 
State-Changed-Why:  
Removed.  Thanks for pointing this out! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47246 
>Unformatted:
