From owner-freebsd-doc Mon Jan 20 2:30:22 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B550B37B401 for ; Mon, 20 Jan 2003 02:30:20 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E87CD43F93 for ; Mon, 20 Jan 2003 02:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0KAU2NS094012 for ; Mon, 20 Jan 2003 02:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0KAU23Y094011; Mon, 20 Jan 2003 02:30:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75FF537B405 for ; 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 ; 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 ; 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 Reply-To: Ivan Voras To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/47246: gcc man page incorrectly mentions -kthread switch Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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