mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Alexis Boulva <boulvalex@gmail.com>
To: musl@lists.openwall.com
Cc: peregrinebrian@gmail.com
Subject: Re: Adapting binaries easily to musl, or database with binaries (musl)
Date: Fri, 7 Jun 2019 14:35:54 -0400	[thread overview]
Message-ID: <228D35CC-A44F-497F-A4FB-E829764234B3@gmail.com> (raw)
In-Reply-To: <863ff1ee-c2c9-0119-0c8d-886cb39a4de5@adelielinux.org>

[-- Attachment #1: Type: text/plain, Size: 2828 bytes --]

Hi Brian,

> On Jun 7, 2019, at 14:07, A. Wilcox <awilfox@adelielinux.org> wrote:
> 
>> On 06/07/19 11:02, Brian Peregrine wrote:
>> Most Gentoo users indeed prefer building from source, but we are
>> compiling it for specific machines (e.g. i686) so we are taking
>> advantage of the compilation-features gentoo has to offer.

In case you're in need of a cross-compiling method for Firefox on gentoo i686 musl, once I've finished building/testing the result, I'll be uploading some experimental build environment configuration files/patches for gentoo x86_64 musl to GitHub, which I use to cross-compile from glibc to musl (why I began with a glibc chroot is a long story) and can easily be ported to other architectures (x86_64 glibc => aarch64 musl, for example). I used to have it working with older software versions and am just updating the work to current versions.

Another thing: some work on cross-compiling from x86_64 musl to other architectures, if that's more what you would prefer, has also been done by gentoo devs ( hint: https://github.com/smaeul/portage-overlay/tree/master/dev-lang/rust ), yet isn't in their musl or main ebuild repos yet. My recommendation would be to ask in #gentoo-hardened on Freenode IRC if you can, and see what your best approach would be after discussion and code review.

If you can't go on IRC, I'll let you know when I'm finished with testing here.

Regards,
Alexis

> 
> Adélie is built for 586+MMX, which is very close to 686.
> 
>> I looked at Bedrock Linux, Alpine, Void, Adelie, ... but I don't see
>> them having binaries downloads either. Only package downloads are
>> avilable at Alpine and Void (see https://pkgs.alpinelinux.org/packages
>> , https://voidlinux.org/packages/?arch=x86_64&q=firefox ), Adelie and
>> Bedrock don't offer any downloads from the website at all.
> 
> 
> We don't have a package site yet, but
> https://distfiles.adelielinux.org/adelie/1.0-beta3/user/pmmx/ is going
> to have every package for the 586.
> 
> Our Firefox package is
> https://distfiles.adelielinux.org/adelie/1.0-beta3/user/pmmx/firefox-esr-52.9.0-r4.apk
> for instance.
> 
> 
>> Let me know how the glibc binaries can be directly edited (i.e. using
>> an IDE editor as Geany) to work on musl, and if someone finds the
>> download URL for the latest stable chromium binary, that would also be
>> very welcome.
> 
> 
> 1) It's not possible to "edit" a glibc binary to use musl like that,
> unfortunately.
> 
> 2) Chromium does not work on musl.  There are (bad quality) patches
> floating around, but they're beyond worthless.  Expect random crashes
> and chasing upstream constantly.  Don't even bother.
> 
> 
> Best,
> --arw
> 
> -- 
> A. Wilcox (awilfox)
> Project Lead, Adélie Linux
> https://www.adelielinux.org
> 

[-- Attachment #2: Type: text/html, Size: 5469 bytes --]

  reply	other threads:[~2019-06-07 18:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07 13:53 Brian Peregrine
2019-06-07 15:22 ` Rich Felker
2019-06-07 16:02   ` Brian Peregrine
2019-06-07 18:07     ` A. Wilcox
2019-06-07 18:35       ` Alexis Boulva [this message]
2019-06-08  9:33 Brian Peregrine

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=228D35CC-A44F-497F-A4FB-E829764234B3@gmail.com \
    --to=boulvalex@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=peregrinebrian@gmail.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).