Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 02 Oct 2014 15:47:44 -0500
From: Samuel Holland <>
Cc: stephen Turner <>
Subject: Re: converting gcc from glibc to musl

On 2014-10-02 15:31, stephen Turner wrote:
> since patching with the recommended patch (the one i had wasnt a full 
> patch
> apparently) i have been able to use this option --host=i686-linux-musl
> however now when i compile i run into new issues.
> Firstly gmp, mpfr, and mpc do not like this flag obviously since they 
> do
> not have the musl settings patched in so i cant compile with the musl
> wrapper because i cannot include those math libraries and when i try to
> prebuild them and use the flag --with-mpfr=/target/location it errors 
> out
> saying it cant find any compatible versions of these libs/headers.

Overriding the host is really only necessary for a few programs like 
gcc. Most
will work fine with musl, even though they detect your system as 
That said, if you want to use --host on all of your programs, all you 
need is a
patch like the one here[0]. There are four or five different variations 
of the patch
though, depending on what version/configuration of autotools the project 


Samuel Holland <>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.