make buildkernel KERNCONF=GENERIC fails

Christian Walther cptsalek at gmail.com
Tue May 26 18:42:56 UTC 2009


Hi Glen,
Hi List,

2009/5/26 Glen Barber <glen.j.barber at gmail.com>:
> Hi, Christian
>
> On Tue, May 26, 2009 at 10:35 AM, Christian Walther <cptsalek at gmail.com> wrote:
>> 2009/5/26 Christian Walther <cptsalek at gmail.com>:
>>> Hi,
>>>
>>> I wanted to update my system to FreeBSD 7.2, so after updating my
>>> sources I started a make buildkernel. After a while, it fails with the
>>> following message:
>>>
>>> /usr/src/sys/i386/i386/intr_machdep.c: In function 'intr_register_source':
>>> /usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 4
>>> of 'intr_event_create' makes pointer from integer without a cast
>>> /usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 7
>>> of 'intr_event_create' from incompatible pointer type
>>> /usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 8
>>> of 'intr_event_create' from incompatible pointer type
>>> /usr/src/sys/i386/i386/intr_machdep.c: In function 'intr_execute_handlers':
>>> /usr/src/sys/i386/i386/intr_machdep.c:261: warning: implicit
>>> declaration of function 'intr_event_handle'
>>> /usr/src/sys/i386/i386/intr_machdep.c:261: warning: nested extern
>>> declaration of 'intr_event_handle'
>>> *** Error code 1
>>>
>>> Stop in /usr/obj/usr/src/sys/GENERIC.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>>
>>
>> Oh yes, but I shouldn't hit the send button before finishing the mail. ;-)
>> Anyway there isn't much information left to share, I found nothing in
>> UPDATING. Trying to build with a clean source tree instead.
>>
>> Has anybody an idea of what's happening here?
>>
> Out of curiosity, how long ago did you update your sources?
>
I updated sources right before I did the make buildkernel.

> Also, did you change the GENERIC kernel config? (If so, please include
> that.)  I haven't seen a tinderbox email about -STABLE failing since
> the 24th, which was a different problem than what you are seeing,
> anyway.

No, I create my own kernel configuration by copying GENERIC.

Well, for some strange reason the same happened again: I did

# mv /usr/src /usr/src.old
# csup /root/stable-supfile
# cd /usr/src
# make buildkernel KERNCONF=GENERIC

and it fails with exactly the same the error:

cc -c -O -pipe -march=pentium4m -std=c99 -g -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
/usr/src/sys/i386/i386/intr_machdep.c
cc1: warnings being treated as errors
/usr/src/sys/i386/i386/intr_machdep.c: In function 'intr_register_source':
/usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 4
of 'intr_event_create' makes pointer from integer without a cast
/usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 7
of 'intr_event_create' from incompatible pointer type
/usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 8
of 'intr_event_create' from incompatible pointer type
/usr/src/sys/i386/i386/intr_machdep.c: In function 'intr_execute_handlers':
/usr/src/sys/i386/i386/intr_machdep.c:261: warning: implicit
declaration of function 'intr_event_handle'
/usr/src/sys/i386/i386/intr_machdep.c:261: warning: nested extern
declaration of 'intr_event_handle'
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Maybe it's a problem with *default host=cvsup.de.FreeBSD.org
I changed my stable-supfile to use cvsup.freebsd.org instead, and I'm
updating right now. Either there has just been an update commited, or
the servers aren't in sync, because I see many Edits, Checkouts and
even Deletions.

I keep you posted.

Christian


More information about the freebsd-stable mailing list