mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: glfw - x11 and opengl
Date: Mon, 7 Jul 2014 20:43:34 -0400	[thread overview]
Message-ID: <20140708004334.GN179@brightrain.aerifal.cx> (raw)
In-Reply-To: <53BB3D82.9070506@landley.net>

On Mon, Jul 07, 2014 at 07:38:26PM -0500, Rob Landley wrote:
> On 07/03/14 22:25, Rich Felker wrote:
> > On Thu, Jul 03, 2014 at 09:40:10PM -0500, Samuel Holland wrote:
> >> On Fri, 2014-07-04 at 01:14 +0100, Laurent Bercot wrote:
> >>> On 03/07/2014 22:22, Carlos Breviglieri wrote:
> >>>> I also keep an eye on aboriginal linux for other architectures testings,
> >>>> which, just now, announced basic musl compatibility... sweet.
> >>>
> >>>   Where did you see that announcement ? I can see nothing on landley.net.
> >>> I've been waiting for the Aboriginal native musl toolchains for a while
> >>> and chafing at the bit. It would be sweet if they were finally ready.
> >>> (Rob, can you confirm/deny ?)
> >>>
> >>
> >> http://lists.landley.net/pipermail/aboriginal-landley.net/2014-July/001399.html
> > 
> > Has anyone had a chance to look at this yet? It would be nice if
> > someone with experience with distros/building could help check for
> > common breakage/pitfalls. I know Aboriginal is using a much older
> > toolchain than most musl users, so that might also have some new
> > issues that others haven't encountered. I suspect there might still be
> > issues with libgcc.a symbol visibility that would result in broken
> > binaries when dynamic linking against musl; this should be easy to
> > check.
> 
> Dynamic linking is indeed broken. Haven't tracked down why yet.
> (hello-dynamic works on i686, segfaults on mips.)

Is it only mips that's segfaulting, or other archs too? I'm guessing
it's either an issue with your toolchain, or perhaps the mips
relocation regression in 1.1.3 that's fixed in master -- it was
announced here on the list.

> > BTW regarding the libgcc.a issue, since it seems to be common in
> > bootstrapping, it might be worth working around it in the musl build
> > process by using -Wl,--exclude-libs,libgcc.a if this option is
> > supported by the linker.
> 
> Which libgcc.a issue? I hit a couple different ones, but I think they're
> fixed now?

Any libgcc-namespace symbols (like __udivdi3) getting exported from
musl libc.so. This command should show some of them if they're
present:

nm -D lib/libc.so | grep __.*div

Rich


      reply	other threads:[~2014-07-08  0:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03 19:16 Carlos Breviglieri
2014-07-03 20:50 ` Rich Felker
2014-07-03 21:22   ` Carlos Breviglieri
2014-07-04  0:14     ` Laurent Bercot
2014-07-04  0:21       ` Josiah Worcester
2014-07-04  2:40       ` Samuel Holland
2014-07-04  3:25         ` Rich Felker
2014-07-04  5:19           ` Aboriginal musl support Isaac Dunham
2014-07-04  5:46             ` Rich Felker
2014-07-04 12:33               ` Carlos Breviglieri
2014-07-08  0:38           ` glfw - x11 and opengl Rob Landley
2014-07-08  0:43             ` Rich Felker [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=20140708004334.GN179@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).