On Mon, Jun 04, 2012 at 03:53:26PM +0200, Mel Flynn wrote: > On 4-6-2012 9:54, Pegasus Mc Cleaft wrote: > > > I forgot to switch back to base gcc before > > compiling the nvidia driver. I installed the driver and rebooted, xorg > > came up but as soon as I logged in, kwin crashed, then the machine > > kernel panicked and rebooted. I rebooted and crashed a few more times > > before realizing what I had done. I recompiled the driver with GCC and > > the machine has been rock-stable with the nvidia driver. > > > > Maybe the OP has done the same thing and not realized it? > > That would account for what I'm seeing too and I know I've compiled > nvidia-driver with clang. Except in my case it's Xfce4 and no panics, > but completely unusable (fonts were too large, offsets calculated > wrongly, terminal emulation was like opening something in vi with > TERM=dumb, mouse movement shocked, machine under constant load).
FWIW, a couple of weeks ago, I started (also) tracking stable/9 daily with the following in /etc/src.conf: PORTS_MODULES=x11/nvidia-driver CC=clang CXX=clang++ CPP=clang-cpp Given that, as well as the following excerpt from this morning's typescript from the build: ... ===> nvidia-driver-295.49 depends on file: /usr/local/libdata/pkgconfig/xorg-server.pc - found ===> nvidia-driver-295.49 depends on shared library: GL.1 - found ===> Configuring for nvidia-driver-295.49 ===> Building for nvidia-driver-295.49 ===> src (all) @ -> /usr/src/sys machine -> /usr/src/sys/i386/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h ... awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"295.49\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 nvidia_ctl.c clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"295.49\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 nvidia_dev.c .... I believe I am actually building with clang (on that slice -- I build it with gcc on the other slices). I did find that whether I use gcc or clang, I needed to modify xorg.conf to say: Section "Device" ... Screen 0 Option "UseEdidDpi" "False" # [<bool>] EndSection ... Section "Monitor" ... DisplaySize 508 317 EndSection .... to get the font size I had when I was using the nv driver (and to which I had become accustomed). As shown above, though, I'm running FreeBSD/i386. Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
pgpMK2TBuZW79.pgp
Description: PGP signature