On Fri, Aug 23, 2013 at 9:02 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > On Thu, Aug 22, 2013 at 10:50 PM, Hans de Goede <hdego...@redhat.com> wrote: >> On 08/22/2013 03:30 AM, Xiaofan Chen wrote: >>> For OpenBSD and NetBSD, I can carry out some simple tests >>> over the weekend (basic building, stress test and xusb example >>> on a few devices). >> >> I was already hoping you would test these, thanks in advance! >> >> And I hope I did not break anything there ... >> > > It does seem to break OpenBSD build (ver 5.2 used here), will test > NetBSD later.
NetBSD is still okay, tested with NetBSD 6.0 VM here. The following three warnings have always been there so it is probably not a problem. os/netbsd_usb.c: In function '_sync_control_transfer': os/netbsd_usb.c:645:2: warning: dereferencing type-punned pointer will break strict-aliasing rules os/netbsd_usb.c:646:2: warning: dereferencing type-punned pointer will break strict-aliasing rules os/netbsd_usb.c:647:2: warning: dereferencing type-punned pointer will break strict-aliasing rules netbsd6vm$ gcc -v Using built-in specs. COLLECT_GCC=gcc Target: i486--netbsdelf Configured with: /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20111202' --enable-__cxa_atexit --with-arch=i486 --with-tune=nocona --with-mpc=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --with-mpfr=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --with-gmp=/var/obj/mknative/i386/usr/src2/destdir.i386/usr --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.56 --host=i486--netbsdelf Thread model: posix gcc version 4.5.3 (NetBSD nb2 20110806) netbsd6vm# ./examples/listdevs 0403:cff8 (bus 1, device 2) 0483:3748 (bus 0, device 2) 1366:0101 (bus 0, device 3) netbsd6vm# ./tests/stress Starting test run: init_and_exit... Success (0) Starting test run: get_device_list... Success (0) Starting test run: many_device_lists... Success (0) Starting test run: default_context_change... Success (0) --- Ran 4 tests Passed 4 tests Failed 0 tests Error in 0 tests Skipped 0 tests netbsd6vm# ./examples/xusb 0403:cff8 Using libusbx v1.0.16.10774 Opening device 0403:CFF8... Reading device descriptor: length: 18 device class: 0 S/N: 3 VID:PID: 0403:CFF8 bcdDevice: 0700 iMan:iProd:iSer: 1:2:3 nb confs: 1 libusbx: error [libusb_get_bos_descriptor] failed to read BOS (-1) Reading BOS descriptor: no descriptor Reading first configuration descriptor: nb interfaces: 2 interface[0]: id = 0 interface[0].altsetting[0]: num endpoints = 2 Class.SubClass.Protocol: FF.FF.FF endpoint[0].address: 81 max packet size: 0200 polling interval: 00 endpoint[1].address: 02 max packet size: 0200 polling interval: 00 interface[1]: id = 1 interface[1].altsetting[0]: num endpoints = 2 Class.SubClass.Protocol: FF.FF.FF endpoint[0].address: 83 max packet size: 0200 polling interval: 00 endpoint[1].address: 04 max packet size: 0200 polling interval: 00 Claiming interface 0... Claiming interface 1... Reading string descriptors: String (0x01): "Amontec" String (0x02): "Amontec JTAGkey-2" String (0x03): "53T9XDR4" Releasing interface 0... Releasing interface 1... Closing device... -- Xiaofan ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel