mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Re: xorg intel driver load error
Date: Thu, 16 May 2013 23:38:34 -0700	[thread overview]
Message-ID: <20130516233834.457fa3a1@newbook> (raw)
In-Reply-To: <20130517003705.GX20323@brightrain.aerifal.cx>

On Thu, 16 May 2013 20:37:05 -0400
Rich Felker <dalias@aerifal.cx> 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..

It's libwfb.so or libfb.so; I can't tell which one has the
symbol and which uses it. These are modules wfb and fb.
I'd suggest trying out fb first.



      reply	other threads:[~2013-05-17  6:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-17  0:22 plan9assembler
2013-05-17  0:37 ` Rich Felker
2013-05-17  6:38   ` Isaac Dunham [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130516233834.457fa3a1@newbook \
    --to=idunham@lavabit.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).