From owner-freebsd-bugs Wed Dec 13 10:40: 6 2000 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 13 10:40:02 2000 Return-Path: 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 3869637B402 for ; Wed, 13 Dec 2000 10:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBDIe2i02919; Wed, 13 Dec 2000 10:40:02 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 13 Dec 2000 10:40:02 -0800 (PST) Resent-Message-Id: <200012131840.eBDIe2i02919@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, patl@phoenix.volant.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 28A3337B400 for ; Wed, 13 Dec 2000 10:31:37 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBDIVbP01896; Wed, 13 Dec 2000 10:31:37 -0800 (PST) (envelope-from nobody) Message-Id: <200012131831.eBDIVbP01896@freefall.freebsd.org> Date: Wed, 13 Dec 2000 10:31:37 -0800 (PST) From: patl@phoenix.volant.org Sender: nobody@FreeBSD.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/23531: PERL_THREADED should specify -lc_r in Config.pm, not -lc Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23531 >Category: misc >Synopsis: PERL_THREADED should specify -lc_r in Config.pm, not -lc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 13 10:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: PM Lashley >Release: 4.2-STABLE >Organization: >Environment: >Description: When the bundled version of perl is compiled and installed with PERL_THREADED=yes, it improperly sets the libs variable in /usr/libdata/perl/5.00503/[mach/]Config.pm to '-lm -lc -lcrypt' instead of '-lm -lc_r -lcrypt'. This causes programs linked against libperl to also link both libc and libc_r; which (usually) causes a BUSERR in exit(). >How-To-Repeat: Set PERL_THREADED=yes. make world reboot build exim 2.0 with perl enabled. ldd exim You will see both libc and libc_r in the libraries list. >Fix: Modify the bundled perl build to correct the value of libs in Config.pm when PERL_THREADED is specified. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message