From owner-freebsd-ports@FreeBSD.ORG Sun Feb 11 20:14:43 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA3BC16A401 for ; Sun, 11 Feb 2007 20:14:43 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8C57813C4AA for ; Sun, 11 Feb 2007 20:14:43 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [87.139.104.184] (helo=[192.168.2.20]) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HGL5Y-0004nP-S4; Sun, 11 Feb 2007 21:14:21 +0100 Message-ID: <45CF7918.2000309@gwdg.de> Date: Sun, 11 Feb 2007 21:14:16 +0100 From: Rainer Hurling User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Eygene Ryabinkin References: <45CD95A3.4010606@gwdg.de> <45CDA111.9050100@gwdg.de> <20070211145035.GH73008@codelabs.ru> In-Reply-To: <20070211145035.GH73008@codelabs.ru> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Jiawei Ye , freebsd-ports@freebsd.org Subject: Re: X.org, dlopen and -current problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 20:14:43 -0000 Eygene, thank you for the patch. I tried it as described, and it seems to work (7-CURRENT on amd64 from 02/10/2007, no objformat). The next five days I am on business trip and so not able to test anything, sorry. Rainer Eygene Ryabinkin schrieb: >> After buildworld and buildkernel I have done a 'make delete-old-libs' and >> removed objformat. I think now we are on the right path ... > > I've managed to get xorg-server to run at 7-CURRENT. The attached file > should be put into the files/ directory of the xorg-server port (the > existing file should be overwritten). It works for me, so, please, test > it. > > I've not been able to spot the deep reason, but the immediate reason > for failures was that no external symbols from the libraries were exported > in the 'Xorg' binary for the dlopen() function. The addition of > --export-dynamic flag to the 'ld' program solved the problem. > > I will try to understand if objformat changes are related to this problem. > Jiawei, thanks for the pointer.