Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2006 18:00:29 +0200
From:      Michael Zach <zach@webges.com>
To:        Jason Evans <jasone@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: make buildworld error with current
Message-ID:  <4433E99D.1080602@webges.com>
In-Reply-To: <4433E915.1090509@FreeBSD.org>
References:  <4433DCF6.8060802@webges.com> <4433E915.1090509@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4433E99D.1080602>