From owner-freebsd-current@FreeBSD.ORG Wed Apr 5 16:00:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 5E6FB16A425; Wed, 5 Apr 2006 16:00:42 +0000 (UTC) (envelope-from zach@webges.com) Received: from mail.webges.com (mail.webges.com [195.128.164.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0C1E43D77; Wed, 5 Apr 2006 16:00:32 +0000 (GMT) (envelope-from zach@webges.com) Received: from localhost (localhost [127.0.0.1]) by mail.webges.com (Postfix) with ESMTP id AD08815204AE; Wed, 5 Apr 2006 18:00:31 +0200 (CEST) Received: from [192.168.0.167] (webges-office [86.59.10.162]) by mail.webges.com (Postfix) with ESMTP id 6ED4615204AC; Wed, 5 Apr 2006 18:00:31 +0200 (CEST) Message-ID: <4433E99D.1080602@webges.com> Date: Wed, 05 Apr 2006 18:00:29 +0200 From: Michael Zach User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Evans References: <4433DCF6.8060802@webges.com> <4433E915.1090509@FreeBSD.org> In-Reply-To: <4433E915.1090509@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mail.webges.com Cc: freebsd-current@freebsd.org Subject: Re: make buildworld error with current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 16:00:42 -0000 I've CFLAGS= -O -pipe in make.conf, but trying it currently without them, we'll see how it works out. Thanks, Michael Jason Evans wrote: > Michael Zach wrote: > >> Hi, >> >> when trying to make a buildworld with the current cvs snapshot I get >> an error in /usr/src/lib/libc (regardless of multi-user / >> single-user). What I've tried so far is: >> >> -) CPUTYPE?=athlon in make.conf >> -) provide a TARGET_ARCH=i386 when calling make buildworld >> -) go to single-user & run the above steps >> -) even did not work out in multiuser >> >> The error in question is (which occurs after a warning): >> >> /usr/src/lib/libc/stdlib/malloc.c: In function `arena_run_reg_alloc': >> /usr/src/lib/libc/stdlib/malloc.c:1540: warning: control reaches end >> of a non-void function >> *** Error code 1 >> >> Stop in /usr/src/lib/libc. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> If needed a script-snippet is available. Actually I'm running out of >> ideas what could raise the error since line 1540 in malloc.c is an >> "assert(0);" ... > > > Do you have non-standard compiler flags set? I don't see this warning. > > Thanks, > Jason