ports/head at r314338 x11/nvidia-driver

Thomas Sparrevohn Thomas.Sparrevohn at btinternet.com
Wed Apr 3 09:31:14 UTC 2013


Well - My configuration is amd64- CURRENT as of yesterday  - It's looks like
the fault is triggered by a sysctl query. At least that is how I can
reproduce it. E.g.

Kldload /boot/modules/nvidia.ko
sysctl -a 

system panics - unfortunately with a generic kernel with all debugging
enabled the system does not panic. In addition if nvidia-driver is compiled
with gcc - no panic.  

-----Original Message-----
From: David Wolfskill [mailto:david at catwhisker.org] 
Sent: 02 April 2013 12:39
To: Thomas Sparrevohn
Cc: ports at freebsd.org
Subject: Re: ports/head at r314338 x11/nvidia-driver

On Tue, Apr 02, 2013 at 08:40:08AM +0100, Thomas Sparrevohn wrote:
> As far as I can tell the reboots are related to a faulty strlen call 
> when compiled with clang. Change compiler to gcc the problem goes away
> 
> -----Original Message-----
> ...

FWIW: I have been using clang to build FreeBSD (and x11/nvidia-driver) in
both head and stable/9 on my laptop since May 2012.

I have not experienced the "random reboots".  I am also building/running
FreeBSD/i386.

If there is an issue with clang generating incorrect code for strlen(),
getting that issue properly documented so it may be fixed would seem to be
useful.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.



More information about the freebsd-ports mailing list