Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2011 16:13:29 +0200
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: HEAD after 9-BETA1 broken
Message-ID:  <CADL2u4gDDw86Z%2Bf2CEiKNQC7nK5yT2EAsFBD6idwAtA6uUS6Sw@mail.gmail.com>
In-Reply-To: <20110810114859.GA68081@freebsd.org>
References:  <CADL2u4g_Y-sVd%2BFeVK=DB9Jtpoe%2BM8Lo8E5d2rakyt8tt98bGg@mail.gmail.com> <20110810114859.GA68081@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/8/10 Alexander Best <arundel@freebsd.org>:
> On Wed Aug 10 11, Ren=E9 Ladan wrote:
>> Hi,
>>
>> it seems that HEAD is broken somewhere after 9.0-BETA1 amd64:
>>
>> acer % pwd
>> /usr/src
>> acer % svn info
>> Path: .
>> URL: svn+ssh://svn.freebsd.org/base/head
>> Repository Root: svn+ssh://svn.freebsd.org/base
>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>> Revision: 224747
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: kevlo
>> Last Changed Rev: 224747
>> Last Changed Date: 2011-08-10 08:17:06 +0200 (wo, 10 aug 2011)
>>
>> acer % svn diff
>> Index: sys/modules/Makefile
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- sys/modules/Makefile =A0 =A0 =A0(revision 224747)
>> +++ sys/modules/Makefile =A0 =A0 =A0(working copy)
>> @@ -335,6 +335,7 @@
>> =A0 =A0 =A0 ${_xe} \
>> =A0 =A0 =A0 xfs \
>> =A0 =A0 =A0 xl \
>> + =A0 =A0 xtaf \
>> =A0 =A0 =A0 ${_zfs} \
>> =A0 =A0 =A0 zlib \
>>
>> Index: sys/modules/geom/Makefile
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- sys/modules/geom/Makefile (revision 224747)
>> +++ sys/modules/geom/Makefile (working copy)
>> @@ -28,6 +28,7 @@
>> =A0 =A0 =A0 geom_vinum \
>> =A0 =A0 =A0 geom_virstor \
>> =A0 =A0 =A0 geom_vol_ffs \
>> + =A0 =A0 geom_xbox360 \
>> =A0 =A0 =A0 geom_zero
>>
>> =A0.include <bsd.subdir.mk>
>>
>> acer % cat /usr/src/sys/amd64/conf/ACER
>> include GENERIC
>> options =A0 =A0 =A0 CAPABILITIES
>>
>> acer % make buildkernel
>>
>> --------------------------------------------------------------
>> >>> Kernel build for ACER started on Wed Aug 10 08:21:53 CEST 2011
>> --------------------------------------------------------------
>> =3D=3D=3D> ACER
>> mkdir -p /usr/obj/usr/src/sys
>>
>> [...]
>>
>> --------------------------------------------------------------
>> >>> stage 2.3: build tools
>> --------------------------------------------------------------
>> cd /usr/obj/usr/src/sys/ACER;
>> MAKESRCPATH=3D/usr/src/sys/dev/aic7xxx/aicasm =A0make SSP_CFLAGS=3D
>> -DNO_CPU_CFLAGS -DNO_CTF =A0-f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
>> Warning: Object directory not changed from original /usr/obj/usr/src/sys=
/ACER
>> yacc -b aicasm_gram =A0-d -o aicasm_gram.c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
>> yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
>> clang -O2 -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr=
or
>> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
>> clang -O2 -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr=
or
>> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
>> clang -O2 -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr=
or
>> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wno-pointer-sign -c aicasm_gram.c
>> clang -O2 -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr=
or
>> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wno-pointer-sign -c aicasm_macro_gram.c
>> lex -t =A0 /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c
>> clang -O2 -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werr=
or
>> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
>> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
>> -Wno-pointer-sign -c aicasm_scan.c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:843:12: error: function 'i=
nput' is
>> =A0 =A0 =A0 not needed and will not be emitted
>> =A0 =A0 =A0 [-Werror,-Wunneeded-internal-declaration]
>> static int input(void)
>> =A0 =A0 =A0 =A0 =A0 =A0^
>
> problem here is that -Werror got set. could you try removing the followin=
g
> part from your make.conf:
>
> .if !empty(.CURDIR:M/usr/src*)
> # Don't die on warnings
> NO_WERROR=3D
> WERROR=3D
> .endif
>
> and add
>
> # Don't die on warnings
> NO_WERROR=3D
> WERROR=3D
>
> to your src.conf?
>
This works, but why did the conditional version work for buildworld
and for earlier buildkernel invocations?

Ren=E9
--
http://www.rene-ladan.nl/

GPG fingerprint =3D E738 5471 D185 7013 0EE0=A0 4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4gDDw86Z%2Bf2CEiKNQC7nK5yT2EAsFBD6idwAtA6uUS6Sw>