From owner-freebsd-x11@FreeBSD.ORG Tue May 14 20:46:49 2013 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E0279FE for ; Tue, 14 May 2013 20:46:49 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD01B14 for ; Tue, 14 May 2013 20:46:49 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id CC0DE4000E for ; Tue, 14 May 2013 22:46:47 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id C21D94000B; Tue, 14 May 2013 22:46:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 88AD140002; Tue, 14 May 2013 22:46:47 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3b99tH05Lfz8hVn; Tue, 14 May 2013 22:46:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id KiUmO-Qg-FqH; Tue, 14 May 2013 22:46:44 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 3b99tD0wtsz8hVm; Tue, 14 May 2013 22:46:44 +0200 (CEST) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3b99tD0GGXz9CwY; Tue, 14 May 2013 22:46:44 +0200 (CEST) Message-ID: <5192A2B3.5020701@freebsd.org> Date: Tue, 14 May 2013 22:46:43 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: "Mikhail T." Subject: Re: solved, kinda (Re: Can't start Xorg after upgrade -- radeon R200) References: <5192935E.9070409@aldan.algebra.com> <5192A14E.3030603@aldan.algebra.com> In-Reply-To: <5192A14E.3030603@aldan.algebra.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2013 20:46:49 -0000 On 05/14/13 22:40, Mikhail T. wrote: > 14.05.2013 15:41, Mikhail T. написав(ла): >> >> I upgraded this older machine from 8.3 to 9.1 over the weekend. >> Everything continued to function smoothly after the OS/kernel update, >> but then I rebuilt all of the ports and rebooted... >> >> Xorg would no longer start: >> >> AddScreen/ScreenInit failed for driver 0 >> > Rebuilding x11/xorg-server with cc (rather than gcc47 as all the other > ports were built) solves the problem. > > I'm puzzled, why it matters, but I can reliably break and restore Xorg > start-up by switching between the cc- and gcc47-built versions of the > binaries. No other changes. All of the drivers (mouse, keyboard, ati) > remain compiled by gcc47. xorg, and especially the old xorg-server used by default in FreeBSD ports is riddled with weird code and undefined behavior. A change of compiler will trigger different optimizations which might break assumptions about things. I've seen it before, especially when switching between gcc and clang. You might want to test using clang instead, or rebuild all xorg ports with WITH_NEW_XORG= to get a more recent xorg version. Otherwise, I suggest you keep running with your gcc based xorg-server, unless you have the time and ability to debug the issue further. Regards! -- Niclas Zeising