Re: [dev] Stali RC

From: Hinnerk van Bruinehsen <h.v.bruinehsen_AT_fu-berlin.de>
Date: Fri, 2 Oct 2015 16:35:09 +0200

On Fri, Oct 02, 2015 at 04:29:09PM +0200, FRIGN wrote:
> On Fri, 2 Oct 2015 14:21:57 +0000 (UTC)
> Richard <r_j_humphreys_AT_yahoo.co.uk> wrote:
>
> Hey Richard,
>
> > - looking further ahead; has there been any thoughts towards a
> > staticallylinked/musl-based X11 server? Is it feasible to simply take
> > the xorg sources and compile those with static linking or does that
> > not work (or would it be philosophically incompatible)? suckless obviously
> > has some useful tools like 'st' and 'dmenu' ready to go once X11 is
> > available. I ask because the finest browser ever written is obviously
> > 'surf', but worryingly surf depends on webkitgtk; which depends on gtk;
> > which in turn might lead back to glibc,glib etc.
>
> This is not possible, as the xserver uses dlopen(3). You can't use
> dlopen in a statically linked application.
> The status of compiling the xserver with a dynamically linked musl
> is unknown to me.
>

You can build Xorg against musl (at least dynamically linked) with a little bit
of patching.
There's Gentoo's musl-overlay or Alpine if you need "inspiration" for the
patches.

WKR
Hinnerk
Received on Fri Oct 02 2015 - 16:35:09 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 02 2015 - 16:36:18 CEST