Re: make buildworld error with current

From: Michael Zach <zach_at_webges.com>
Date: Wed, 05 Apr 2006 18:00:29 +0200
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
Received on Wed Apr 05 2006 - 14:00:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC