Re: /head/sys/kern/kern_timeout.c breaks build on current amd64

2016-08-16 Thread Conrad Meyer
Fixed in r304245.  Thanks!

On Tue, Aug 16, 2016 at 3:52 PM, Manfred Antar  wrote:
> New commit to current breaks build amd64:
>
> /usr/local/bin/ccache cc -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. 
> -I../../.. -I../../../contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
> -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
> -MD  -MF.depend.kern_timeout.o -MTkern_timeout.o -mcmodel=kernel 
> -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables 
> -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual -Wundef -Wno-pointer-sign 
> -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
> -fdiagnostics-show-option -Wno-unknown-pragmas 
> -Wno-error-tautological-compare -Wno-error-empty-body 
> -Wno-error-parentheses-equality -Wno-error-unused-function 
> -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  
> -std=iso9899:1999   ../../../kern/kern_timeout.c
> ../../../kern/kern_timeout.c:1064:56: error: use of undeclared identifier 
> 'dir'
> if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)) {
>  ^
> 1 error generated.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/sys/amd64/compile/pozo
>
> here is the commit:
> OLD   
>   NEW
> 1064 
> 
> if (cc_exec_waiting(cc, direct)) {>   
>if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)) {
>   
>   
>^^^
>
> I think it is just a typo if you change the dir to direct it compiles and 
> boots fine.
>
>
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


/head/sys/kern/kern_timeout.c breaks build on current amd64

2016-08-16 Thread Manfred Antar
New commit to current breaks build amd64:

/usr/local/bin/ccache cc -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. 
-I../../.. -I../../../contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD 
 -MF.depend.kern_timeout.o -MTkern_timeout.o -mcmodel=kernel -mno-red-zone 
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ 
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas 
-Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  
-std=iso9899:1999   ../../../kern/kern_timeout.c
../../../kern/kern_timeout.c:1064:56: error: use of undeclared identifier 'dir'
if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)) {
 ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/src/sys/amd64/compile/pozo

here is the commit:
OLD 
NEW
1064 

if (cc_exec_waiting(cc, direct)) {> 
 if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)) {


   ^^^  

I think it is just a typo if you change the dir to direct it compiles and boots 
fine.



___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"