From owner-freebsd-bugs Thu Aug 1 17:10:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6BD737B405 for ; Thu, 1 Aug 2002 17:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6234243E6A for ; Thu, 1 Aug 2002 17:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g720A2JU085330 for ; Thu, 1 Aug 2002 17:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g720A2RX085329; Thu, 1 Aug 2002 17:10:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E261E37B400 for ; Thu, 1 Aug 2002 17:03:49 -0700 (PDT) Received: from archeron.wavefire.com (archeron.wavefire.com [64.141.15.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A17343E6A for ; Thu, 1 Aug 2002 17:03:49 -0700 (PDT) (envelope-from wade@archeron.wavefire.com) Received: (from root@localhost) by archeron.wavefire.com (8.11.6/8.11.6) id g7204Bq00868; Thu, 1 Aug 2002 17:04:11 -0700 (PDT) (envelope-from wade) Message-Id: <200208020004.g7204Bq00868@archeron.wavefire.com> Date: Thu, 1 Aug 2002 17:04:11 -0700 (PDT) From: Charlie & Reply-To: Charlie & To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/41251: libc_r broken. syscall open fails. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41251 >Category: kern >Synopsis: libc_r broken. syscall open fails. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 01 17:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Wade Klaver >Release: FreeBSD 4.6-STABLE i386 >Organization: Wavefire Technologies Corporation >Environment: System: FreeBSD archeron.wavefire.com 4.6-STABLE FreeBSD 4.6-STABLE #2: Thu Aug 1 13:56:32 PDT 2002 root@archeron.wavefire.com:/usr/src/sys/compile/WORKSTATION i386 >Description: Problem with libc_r. Compiling using gcc with the -pthread switch yields the following error: wade@archeron-~:gcc -pthread test.c /usr/lib/libc_r.so: undefined reference to `__sys_close' wade@archeron-~: I have not been able to repeat this problem on my next-newest build: FreeBSD ylw.noc.dbitech.bc.ca 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Jul 15 08:08:23 PDT 2002 root@ylw.noc.dbitech.bc.ca:/usr/src/sys/compile/WORKSTATION i386 >How-To-Repeat: >Fix: I have verified this on 3 boxen all cvsup'd today. Compile the following program with the -pthread switch: test.c ---------- main(){} Do not compile re-entrant programs. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message