From owner-freebsd-stable Mon Apr 30 7:35:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id 065F037B423 for ; Mon, 30 Apr 2001 07:35:13 -0700 (PDT) (envelope-from chad@freeway.dcfinc.com) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id HAA27894; Mon, 30 Apr 2001 07:34:36 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200104301434.HAA27894@freeway.dcfinc.com> Subject: Re: Illegal Instruction in libm - Problem solved.... In-Reply-To: <200104280139.LAA01281@lightning.itga.com.au> from Gregory Bond at "Apr 28, 1 11:39:28 am" To: gnb@itga.com.au (Gregory Bond) Date: Mon, 30 Apr 2001 07:34:35 -0700 (MST) Cc: bc979@lafn.org, gnb@itga.com.au, stable@FreeBSD.ORG, kris@obsecurity.org Reply-To: chad@DCFinc.com Organization: DCF, Inc. X-O/S: FreeBSD 2.2.8-STABLE X-Unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Gregory Bond wrote: >> It may always have been a bug in FreeBSD, and still is. > > No, the bug is in your code, not FreeBSD. > >> The concept of being able to replace a library module with one from >> your code is fairly common in SVR4, and SunOS. > > Even if true (and the C standard makes no such promises), this is not > what you did. You replaced a standard library function free() with an > int called free. That is in no way shape or form "replacing a library > module". This is just plain wrong, and the fact it happened to work > in previous versions of the FreeBSD C library is just luck. On the other hand, it doesn't seem unreasonable that the loader should issue a warning in that instance. -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.com DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message