From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3320 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: xorg intel driver load error Date: Thu, 16 May 2013 20:37:05 -0400 Message-ID: <20130517003705.GX20323@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368751037 11508 80.91.229.3 (17 May 2013 00:37:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 00:37:17 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3324-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 17 02:37:19 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Ud8ff-0002K5-51 for gllmg-musl@plane.gmane.org; Fri, 17 May 2013 02:37:19 +0200 Original-Received: (qmail 20268 invoked by uid 550); 17 May 2013 00:37:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20260 invoked from network); 17 May 2013 00:37:18 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3320 Archived-At: On Fri, May 17, 2013 at 09:22:10AM +0900, plan9assembler wrote: > Hi, > > i am using my own x86_64-linux-musl from bootstrap+musl cross, > https://plan9assembler.wordpress.com/ > https://github.com/pikhq/bootstrap-linux/issues/8 > https://github.com/pikhq/bootstrap-linux/issues/9 > > trying to install xorg, compilation done,(mesa, font, lib, proto, xserver > etc). > but when xserver didn't work, due to intel driver. > > .... > (EE) Failed to load /usr/lib/xorg/modules/drivers/intel_drv.so: Error > relocating /usr/lib/xorg/modules/drivers/intel_drv.so: fbPolyPoint: symbol > not found > (II) UnloadModule: "intel" > (II) Unloading intel > (EE) Failed to load module "intel" (loader failed, 7) > .... > (EE) No drivers available. I believe the issue is that xorg lacks proper dependency information between modules, so unless they're loaded in the correct order, symbols will be missing. This bug gets overlooked with glibc because many (but not all) symbol references can be deferred until the first time they're used (lazy binding); musl intentionally does not support lazy binding. I'm not sure if anybody has worked on a patch to fix the issue, but you should be able to work around it by tweaking your config file to load modules in dependency order. In your case, it sounds like the missing symbol is in some general fb module.. Others who've worked more directly with packaging and system building can probably provide more detailed information for you. Rich