From owner-freebsd-current Mon Sep 2 10: 6:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A027637B401 for ; Mon, 2 Sep 2002 10:06:35 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E645E43E3B for ; Mon, 2 Sep 2002 10:06:34 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g82H6WOB062100; Mon, 2 Sep 2002 13:06:33 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.6/8.12.6/Submit) id g82H6VJo062099; Mon, 2 Sep 2002 13:06:31 -0400 (EDT) Date: Mon, 2 Sep 2002 13:06:31 -0400 From: Alexander Kabaev To: Nickolay Dudorov Cc: current@FreeBSD.ORG Subject: Re: 'gmake' port broken after (due to ?) GCC 3.2 import Message-Id: <20020902130631.55b13660.ak03@gte.com> In-Reply-To: <20020902130235.GA4086@nnd.itfs.nsk.su> References: <20020902130235.GA4086@nnd.itfs.nsk.su> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.2claws11 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Not a GCC fault. The bug is in internal gettext library gmake is linked with. I looked into read_alias_file function and I simply cannot believe what I am seeing there. Do they really believe malloc is supposed to resize memory in-place all the time? Look what happens with map[0-n] elements every time they reallocate their 'string_space' to accomodate (n+1)th entry. Building gmake without --with-included gettext sugddenly seems like a very good idea for me. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message