Hi, Hans!

Hans Petter Selasky wrote:
If you've got problems getting the new USB stack working on non-x86 processors, try to disable all compiler optimizations when you compile the USB module. I am sorry to say that there is a bug in GCC that prevents some parts of the USB code from functioning correctly. And don't ask how many hours were wasted debugging this. And yes, the code is plain simple C.

The problem on sparc64 is resolved in /usr/include/machine/endian.h two
months ago:
<http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sparc64/include/endian.h.diff?r1=1.15&r2=1.15.2.1>

Now the new USB stack works with default optimization options (-O2
-fno-strict-aliasing).

Thanks,
--bel
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to