r259031 breaks build on CURRENT

2013-12-06 Thread Rainer Hurling
I just tried to build head (r259037) and it stops with the following
messages. This is on amd64 with systems clang. Please let me know, if I
should provide more info, thanks.


[..snip..]
===> usb/run (all)
cc  -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/RHURLIN/opt_global.h -I. -I@ -I@/contrib/altq
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-I/usr/obj/usr/src/sys/RHURLIN  -mno-aes -mno-avx -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-std=iso9899:1999 -Qunused-arguments -fstack-protector -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  -c
/usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c
/usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:3233:6:
error: invalid application of 'sizeof' to an
  incomplete type 'struct rt2870_txwi'
sizeof(struct rt2870_txwi)), rt2860_rates[ridx].rate, qid);
^ 
@/dev/usb/usb_debug.h:41:21: note: expanded from macro 'DPRINTFN'
   __FUNCTION__ ,##__VA_ARGS__);\
   ^
/usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:3233:20:
note: forward declaration of
  'struct rt2870_txwi'
sizeof(struct rt2870_txwi)), rt2860_rates[ridx].rate, qid);
  ^
@/dev/usb/usb_debug.h:41:21: note: expanded from macro 'DPRINTFN'
   __FUNCTION__ ,##__VA_ARGS__);\
   ^
1 error generated.
*** Error code 1
Stop.
make[5]: stopped in /usr/src/sys/modules/usb/run
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[PATCH] Sync of libedit with upstream NetBSD

2013-12-06 Thread Yuri

I created a patch for this. libedit hasn't been updated for 4+ years
http://www.freebsd.org/cgi/query-pr.cgi?pr=184533

Please MFC to 10.

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


Re: Request for testing an alternate branch

2013-12-06 Thread Justin Hibbits
On Wed, Dec 4, 2013 at 10:19 PM, Justin Hibbits  wrote:
> I've been working on the projects/pmac_pmu branch for some time now to
> add suspend/resume as well as CPU speed change for certain PowerPC
> machines, about a year since I created the branch, and now it's stable
> enough that I want to merge it into HEAD, hence this request. However,
> it does touch several drivers, turning them into "early drivers", such
> that they can be initialized, and suspended and resumed at a different
> time.  Saying that, I do need testing from other architectures, to make
> sure I haven't broken anything.
>
> The technical details:
>
> To get proper ordering, I've extended the bus_generic_suspend() and
> bus_generic_resume() to do multiple passes.  Devices which cannot be
> enabled or disabled at the current pass level would return an EAGAIN.
> This could possibly cause problems, since it's an addition to an
> existing API rather than a new API to run along side it, so it needs a
> great deal of testing.  It works fine on PowerPC, but I don't have any
> i386/amd64 or sparc64 hardware to test it on, so would like others who
> do to test it.  I don't thin
>
> Also, any comments are of course welcome.  Technical concerns are
> obviously welcome, and I will try to address everything.
>
> Thanks,
>
> Justin

Thanks to hrs@, images are now available for the pmac_pmu project on
allbsd for i386, amd64, sparc64, and ia64:
https://pub.allbsd.org/FreeBSD-snapshots/ .

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