Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

clang detects error in r250841

2 views
Skip to first unread message

David Wolfskill

unread,
May 21, 2013, 8:18:38 AM5/21/13
to cur...@freebsd.org, adr...@freebsd.org
Got through buildworld; buildkernel stops a bit abruptly:

..
--- ar5416_misc.o ---
clang -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
..
--- ar5416_misc.o ---
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c:507:12: error: implicit conversion from enumeration type 'HAL_STATUS' to different enumeration type 'HAL_BOOL' [-Werror,-Wenum-conversion]
return (HAL_ENOTSUPP);
~~~~~~ ^~~~~~~~~~~~
1 error generated.
*** [ar5416_misc.o] Error code 1

make: stopped in /common/S4/obj/usr/src/sys/CANARY
...


Peace,
david
--
David H. Wolfskill da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

David Wolfskill

unread,
May 21, 2013, 8:57:25 AM5/21/13
to cur...@freebsd.org, adr...@freebsd.org
Just a quick confirmation that reverting r250841 allowed buildkernel to
complete normally --

was running:
FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #905 r250824M/250824:1000032: Mon May 20 05:22:58 PDT 2013 ro...@g1-227.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i386

now:
FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #906 r250848M/250848:1000032: Tue May 21 05:41:49 PDT 2013 ro...@g1-227.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i386

[Adrian: sorry about typo-ing your name in previous note.]

Adrian Chadd

unread,
May 21, 2013, 10:45:48 AM5/21/13
to David Wolfskill, adr...@freebsd.org, cur...@freebsd.org
Sorry, I committed it early this morning without running a make
universe on ref10-amd64.

I've fixed it.

Thanks,



Adrian

On 21 May 2013 05:18, David Wolfskill <da...@catwhisker.org> wrote:
> Got through buildworld; buildkernel stops a bit abruptly:
>
> ...
> --- ar5416_misc.o ---
> clang -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
> ...
> --- ar5416_misc.o ---
> /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c:507:12: error: implicit conversion from enumeration type 'HAL_STATUS' to different enumeration type 'HAL_BOOL' [-Werror,-Wenum-conversion]
> return (HAL_ENOTSUPP);
> ~~~~~~ ^~~~~~~~~~~~
> 1 error generated.
> *** [ar5416_misc.o] Error code 1
>
> make: stopped in /common/S4/obj/usr/src/sys/CANARY
> ....
>
>
> Peace,
> david
> --
> David H. Wolfskill da...@catwhisker.org
> Taliban: Evil men with guns afraid of truth from a 14-year old girl.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
0 new messages