From owner-freebsd-bugs Sat Jan 5 18:50:12 2002 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 F10FA37B417 for ; Sat, 5 Jan 2002 18:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g062o0d04196; Sat, 5 Jan 2002 18:50:00 -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 BC22B37B417 for ; Sat, 5 Jan 2002 18:47:05 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g062l5503889; Sat, 5 Jan 2002 18:47:05 -0800 (PST) (envelope-from nobody) Message-Id: <200201060247.g062l5503889@freefall.freebsd.org> Date: Sat, 5 Jan 2002 18:47:05 -0800 (PST) From: "f.johan.beisser" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/33595: libc breaking in -STABLE 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: 33595 >Category: misc >Synopsis: libc breaking in -STABLE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 18:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: f.johan.beisser >Release: 4.4-STABLE, 4.5-PRERELEASE >Organization: >Environment: FreeBSD pogo.caustic.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 23 10:12:28 PDT 2001 root@punk.caustic.org:/usr/src/sys/compile/POGO i386 >Description: strcasestr.c and strnstr.c in /usr/src/lib/libc/strings both have __BSDID, which causes a failure in libc compiling in 4.4-STABLE to 4.5-PRERELEASE. >How-To-Repeat: upgrade to the latest -STABLE source tree (4.5-PRERELEASE) as of today (Sat Jan 5 18:46:39 PST 2002). cd to /usr/src/lib/libc, do "make depend && make all". it will fail on strcacestr.c and strnstr.c in the "strings" directory. >Fix: find and comment out the lines with __BSDID in them. __FBSDID("$FreeBSD: src/lib/libc/string/strcasestr.c,v 1.2.2.1 2001/12/25 00:36:53 ache Exp $"); __FBSDID("$FreeBSD: src/lib/libc/string/strnstr.c,v 1.2.2.1 2001/12/09 06:50:03 mike Exp $"); once these two lines are commented out, libc compiles just fine. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message