mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Cc: aboriginal@lists.landley.net
Subject: Re: microblaze port committed
Date: Sun, 30 Sep 2012 00:01:41 -0700	[thread overview]
Message-ID: <20120930000141.0167901f.idunham@lavabit.com> (raw)
In-Reply-To: <20120929054156.GA20623@brightrain.aerifal.cx>

On Sat, 29 Sep 2012 01:41:57 -0400
Rich Felker <dalias@aerifal.cx> wrote:

> Hi all,
> 
> I've committed the initial (and seemingly fully-working) version of
> the microblaze port. Several caveats:
> 
> 1. Upstream binutils has a serious bug in gas whereby the relocations
>    it generates for symbols with local weak definitions cannot be
>    resolved by the linker. Patch at:
>    http://permalink.gmane.org/gmane.linux.uclinux.microblaze/11155
> 
> 2. The toolchain binaries from Xilinx seem to produce .o files
>    incompatible with standard binutils, and vice versa. Pick one or
>    the other; don't mix them.
For Landley's sake, I'll mention what we discussed on IRC (+ some details):
-The Xilinx toolchain is binutils 2.16 + gcc 4.1.2 (GPLv2); binutils support was merged upstream in 2009, so Aboriginal would need the Xilinx EDK toolchain (see http://git.xilinx.com/?p=mb_gnu.git;a=summary ofor source)

-Rich says that on microblaze, due to the way relocations are handled, using -Bsymbolic instead of -Bsymbolic-functions gives a libc.so that is either minimally broken or fully operational.
(Mips also works with -Bsymbolic.)

-The possibility of using mapfiles instead of -Bsymbolic-functions was mentioned, but Rich doubts that they were supported in older binutils.
 
> 3. Threads are untested because qemu is broken, at least my version of
>    qemu (app-level emu) has a bug where clone() does not advance the
>    program counter properly in the child, so it starts a forkbomb-like
>    cascade of clone syscalls (thankfully just linear growth rather
>    than exponential).
Ow.

Rob, any thoughts on an Aboriginal port?

-- 
Isaac Dunham <idunham@lavabit.com>



  reply	other threads:[~2012-09-30  7:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29  5:41 Rich Felker
2012-09-30  7:01 ` Isaac Dunham [this message]
2012-09-30 13:16   ` Rich Felker
2012-10-27  6:51   ` [Aboriginal] [musl] " Rob Landley

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=20120930000141.0167901f.idunham@lavabit.com \
    --to=idunham@lavabit.com \
    --cc=aboriginal@lists.landley.net \
    --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).