mailing list of musl libc
 help / color / mirror / code / Atom feed
* Compatability: aufs-utils needs GNU extensions to nftw
@ 2013-01-01 22:33 idunham
  2013-01-02  1:27 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: idunham @ 2013-01-01 22:33 UTC (permalink / raw)
  To: musl

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-02 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-01 22:33 Compatability: aufs-utils needs GNU extensions to nftw idunham
2013-01-02  1:27 ` Rich Felker
2013-01-02 11:59   ` James B

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).