Date: Sat, 5 Jan 2002 18:47:05 -0800 (PST) From: "f.johan.beisser" <jan@caustic.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/33595: libc breaking in -STABLE Message-ID: <200201060247.g062l5503889@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201060247.g062l5503889>
