mailing list of musl libc
 help / color / mirror / code / Atom feed
From: idunham@lavabit.com
To: musl@lists.openwall.com
Subject: Compatability: aufs-utils needs GNU extensions to nftw
Date: Tue, 1 Jan 2013 14:33:36 -0800 (PST)	[thread overview]
Message-ID: <14643.50.0.224.127.1357079616.squirrel@lavabit.com> (raw)

One of the Puppy developers recently mentioned that he'd like to build
mount.aufs with musl because the static binary is excessively large (600
kb) when built with glibc.
However, there are a couple issues:
1. The most important issue is that libau uses the following flags/macros:
FTW_ACTIONRETVAL
FTW_CONTINUE
FTW_SKIP_SUBTREE
FTW_SKIP
From all I can see, this would require some extensions to nftw() and
possibly  to fn().
I'm not sure exactly what glibc does with these, so I have no idea what to
do.

2. There's also a problem with a couple files using the GNU extension
<error.h>/error_at_line(); this is fairly readily hacked around.

3. AUFS does want a patched kernel; if you would rather just see about
building the tools without patching the kernel, get aufs3-standalone and
add ${AUFS3_STANDALONE}/include to the header search path so you have
<linux/aufs_type.h>

Thanks,
Isaac Dunham





             reply	other threads:[~2013-01-01 22:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-01 22:33 idunham [this message]
2013-01-02  1:27 ` Rich Felker
2013-01-02 11:59   ` James B

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=14643.50.0.224.127.1357079616.squirrel@lavabit.com \
    --to=idunham@lavabit.com \
    --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).