Date: Thu, 1 Aug 2002 17:04:11 -0700 (PDT) From: Charlie & <root@archeron.wavefire.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/41251: libc_r broken. syscall open fails. Message-ID: <200208020004.g7204Bq00868@archeron.wavefire.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208020004.g7204Bq00868>
