Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 20:42:52 +0200
From:      Christian Walther <cptsalek@gmail.com>
To:        Glen Barber <glen.j.barber@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: make buildkernel KERNCONF=GENERIC fails
Message-ID:  <14989d6e0905261142w7636e7c6xe4ed916ff5ce4225@mail.gmail.com>
In-Reply-To: <4ad871310905260804h107ec643vec473c1dfec875a4@mail.gmail.com>
References:  <14989d6e0905260727g3d914545vdd97e68099175226@mail.gmail.com> <14989d6e0905260735i296776a6nff29e2922e345ceb@mail.gmail.com> <4ad871310905260804h107ec643vec473c1dfec875a4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Glen,
Hi List,

2009/5/26 Glen Barber <glen.j.barber@gmail.com>:
> Hi, Christian
>
> On Tue, May 26, 2009 at 10:35 AM, Christian Walther <cptsalek@gmail.com> =
wrote:
>> 2009/5/26 Christian Walther <cptsalek@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_sourc=
e':
>>> /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_handle=
rs':
>>> /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.) =A0I 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=3DGENERIC

and it fails with exactly the same the error:

cc -c -O -pipe -march=3Dpentium4m -std=3Dc99 -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=3D8000 --param
inline-unit-growth=3D100 --param large-function-growth=3D1000
-mno-align-long-strings -mpreferred-stack-boundary=3D2  -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=3Dcvsup.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



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