mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Anyone looking at gnash?
Date: Fri, 8 Aug 2014 02:08:18 -0400	[thread overview]
Message-ID: <20140808060818.GM1674@brightrain.aerifal.cx> (raw)
In-Reply-To: <20140808055636.GA3054@newbook>

On Thu, Aug 07, 2014 at 10:56:38PM -0700, Isaac Dunham wrote:
> Hello,
> I've been poking at gnash on and off, in hopes of having some way to view
> Flash on Alpine.
> So far, the problem that I know of is it insists on building a malloc that
> supports mallinfo (which is used _very_ extensively in gnash).

What does it need mallinfo for? I suspect you can just provide a fake
one that gives some estimates based on /proc, or rip it out
alltogether.

> This is jemalloc, where I've found 3 issues already:

The fourth issue is much bigger: replacing malloc is UB and does not
work, especially not on musl. :-)

Trying to make jemalloc work is going to be a dead-end. And I don't
see how a plug-in could think it could replace malloc anyway, even on
systems that (attempt to) allow it. As a plugin, it (or at least the
part that works as a loadable module) has to use whatever malloc is
already there in the process that loaded it (the web browser).

Anyway, back to the point: just fixing gnash to eliminate this
requirement is the direction you want to take.

BUT:

If you don't have an aversion to using the flash player binary, it's
reported to work with musl with a minimum amount of hackery to get it
to load. I'm going to try to get the user who's worked on this to
document the process and post it somewhere. Supposedly he's used it
successfully with both Chromium and Firefox on x86_64 Alpine.

Rich


  reply	other threads:[~2014-08-08  6:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08  5:56 Isaac Dunham
2014-08-08  6:08 ` Rich Felker [this message]
2014-08-08  8:12   ` Natanael Copa
2014-08-09  2:10   ` Isaac Dunham

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=20140808060818.GM1674@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --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).