From owner-freebsd-ports@FreeBSD.ORG Wed Apr 3 09:31:14 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0AEE0E6F for ; Wed, 3 Apr 2013 09:31:14 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from nm2-vm6.bt.bullet.mail.ir2.yahoo.com (nm2-vm6.bt.bullet.mail.ir2.yahoo.com [212.82.99.217]) by mx1.freebsd.org (Postfix) with ESMTP id 584C1FAC for ; Wed, 3 Apr 2013 09:31:13 +0000 (UTC) Received: from [212.82.98.40] by nm2.bt.bullet.mail.ir2.yahoo.com with NNFMP; 03 Apr 2013 09:29:05 -0000 Received: from [77.238.189.16] by tm1.bt.bullet.mail.ir2.yahoo.com with NNFMP; 03 Apr 2013 09:29:05 -0000 Received: from [127.0.0.1] by smtp816.mail.ird.yahoo.com with NNFMP; 03 Apr 2013 09:29:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=s1024; t=1364981345; bh=endec9Skov8buztIxgOClKTrckvb5+K9K0b8ib458uo=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=s2G8vVA9uea+0/buL6QwrJ1KB0+XWpZx/MLwdyWJMvMAel5FWIBIqENSrCbV3uqOemfFNtQ+P2JIeGhwkx6NyWvWtcYDaWsCy3x7/yR8GudacG5gjUvY+o2bEci2OVC8r9TUcOrnbFAlO9hjq8SHdAKogTDZ9pw3QcYAOcZjd7A= X-Yahoo-Newman-Id: 13035.19539.bm@smtp816.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: IKwhkY8VM1n0LT.t_7rtv3xZa7apAiMLv9oTMH.CYJSZXni F0b_0Kw.ogULsagpzl6lv.fd3LGQW5EbOgz3eHwMafQDGTkfNCXGTxfYuGIy Y1D5SJKYTBuFSsCv_NOE04s3pBa4bshZS2bqFgsg9G5paensRCCvaBbjb7FM YtORfG71FoY2YrnFw8nITimWE.8i6OQISt2FpzGgO.cPVmrXofVAdDuwX4n2 KVo6ScjWRpFXpKOeNV4vSNVM4iv_VNQxvI1OcRRkz6yyGcrJkR6nrxy4TIpt nZkeCgYt904NRlPKBpClB7rgYZGfTACXy0YgU.WdqNCGuB599wK5f31B_AJJ QvBQu.lv8EdX.zcTvuFfTeIiaOtNVUBfKpuFnxSxu.fU5UwFAu212RRkUXtH o.uMSuv5PdWLEwUw6BeY_93K9s5OyS9IwyDoteMDGY.6.8dcmTBBVnwzvV.S s9XNs4xy4OT5acWHBaAYS1g-- X-Yahoo-SMTP: IZRlAYqswBDptUXTX.cYc1l2h3YNYE0xlrpi4wWl.OMHg4FYv7uDnfZx6kQf X-Rocket-Received: from ThomasPC (Thomas.Sparrevohn@86.133.48.124 with login) by smtp816.mail.ird.yahoo.com with SMTP; 03 Apr 2013 09:29:04 +0000 GMT From: "Thomas Sparrevohn" To: "'David Wolfskill'" References: <20130401152210.GB75193@FreeBSD.org> <1364843130.35159@da3m0n8t3r.com> <01b601ce2f75$4f4f28b0$eded7a10$@btinternet.com> <20130402113852.GR1332@albert.catwhisker.org> In-Reply-To: <20130402113852.GR1332@albert.catwhisker.org> Subject: RE: ports/head@r314338 x11/nvidia-driver Date: Wed, 3 Apr 2013 10:29:04 +0100 Message-ID: <00a201ce304d$afd770b0$0f865210$@btinternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHK0uwBd1evfSBGn2kaLyWjJO3sEAEwW+gkAutbi/0CJBkpsJiY9YuA Content-Language: en-gb Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 09:31:14 -0000 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@catwhisker.org] Sent: 02 April 2013 12:39 To: Thomas Sparrevohn Cc: ports@freebsd.org Subject: Re: ports/head@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@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.