From owner-freebsd-bugs Sun Feb 4 2: 0:48 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 277F237B491 for ; Sun, 4 Feb 2001 02:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f14A06P96121; Sun, 4 Feb 2001 02:00:06 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CA3A937B401 for ; Sun, 4 Feb 2001 01:50:14 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f149oEq95700; Sun, 4 Feb 2001 01:50:14 -0800 (PST) (envelope-from nobody) Message-Id: <200102040950.f149oEq95700@freefall.freebsd.org> Date: Sun, 4 Feb 2001 01:50:14 -0800 (PST) From: jml@cubical.fi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: gnu/24843: gcc does not recognize -kthread Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24843 >Category: gnu >Synopsis: gcc does not recognize -kthread >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 04 02:00:05 PST 2001 >Closed-Date: >Last-Modified: >Originator: Juha-Matti Liukkonen >Release: 4.2-RELEASE >Organization: Cubical Solutions Ltd >Environment: FreeBSD snafu.intra.net 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Sat Feb 3 20:12:33 EET 2001 root@:/usr/src/sys/compile/SERVER i386 >Description: cc, gcc or ld do not recognize the -kthread option. This leads to use of wrong libgcc.a when linking software against linuxthreads (and of course invalidates existing makefiles, making 4.2 a non-workable development platform for someone using linuxthreads). >How-To-Repeat: snafu:~$ cc --version 2.95.2 snafu:~$ cc -kthread cc: unrecognized option `-kthread' cc: No input files specified snafu:~$ gcc -kthread gcc: unrecognized option `-kthread' gcc: No input files specified snafu:~$ ld -kthread /usr/libexec/elf/ld: unrecognized option `-kthread' /usr/libexec/elf/ld: use the --help option for usage information >Fix: Recompile the tools with correct options, or use binaries from 4.1-RELEASE. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message