Re: r320528? "undefined reference to `_bus_dma*" linking kernel

2017-07-01 Thread Jason Harmening
Hi David, On Sat, Jul 1, 2017 at 4:26 AM, David Wolfskill wrote: > > > --- kernel.full --- > /usr/src/sys/dev/advansys/adwcam.c:302: undefined reference to > `_bus_dmamap_sync' > /usr/src/sys/dev/advansys/adwcam.c:316: undefined reference to > `_bus_dmamap_unload' > if_ae.o: In function `ae_alloc

Re: Crashes in world built w/ clang: FP registers?

2011-09-17 Thread Jason Harmening
> Can you reproduce the crash with -O0 ? > buildworld fails w/ -O0, for the reason reported here: http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025563.html I tried w/ -O1 a couple of weeks ago, and it had the same crashy behavior. ___ fr

Crashes in world built w/ clang: FP registers?

2011-09-16 Thread Jason Harmening
Hi everyone, Using clang as the default compiler, the kernel and drivers will work fine, but a lot of programs in the base system and ports will crash w/ SIGBUS. In fact, so much of the stuff in the chroot'ed world will crash (everything from csh to gcc) that it's basically unusable. I finally g

device_probe_and_attach() fails in kernel built w/ clang

2011-08-18 Thread Jason Harmening
Hi everyone, I have a driver for PCI devices that have onboard I2C buses, so my driver needs to create an iicbus child for the PCI device. So in my driver I use DRIVER_MODULE(iicbus, , iicbus_driver, iicbus_devclass, NULL, NULL). This works because iicbus_driver and iicbus_devclass are declared