Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 22 Oct 2013 17:08:46 -0400
From: Rich Felker <>
Cc: CLFS development discussion <>,
	CLFS Support <>,
	Thomas Petazzoni <>,
	Gregor Richards <>
Subject: Re: Re: [Clfs-dev] CLFS embedded book switches to musl-libc

On Tue, Oct 22, 2013 at 02:58:24PM -0400, Kevyn-Alexandre Paré wrote:
> Hi Andrew,
> So far so good! Very interesting that you passed to musl and I'm happy
> to start playing with it!
> Couple of question about Manual:
> You refer to glibc [1] should you replace that glibc with musl libc or
> glibc(musl) our simply libc?
> For the musl installation [2], the make install have an error that
> seem to be fix with the next command you propose:
> ../tools/ -D -m 644 lib/crt1.o
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/crt1.o
> ../tools/ -D -m 644 lib/Scrt1.o
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/Scrt1.o
> ../tools/ -D -m 644 lib/crti.o
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/crti.o
> ../tools/ -D -m 644 lib/crtn.o
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/crtn.o
> ../tools/ -D -m 644 lib/libc.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libc.a
> ../tools/ -D -m 755 lib/
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/
> ../tools/ -D -m 644 lib/libm.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libm.a
> ../tools/ -D -m 644 lib/librt.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/librt.a
> ../tools/ -D -m 644 lib/libpthread.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libpthread.a
> ../tools/ -D -m 644 lib/libcrypt.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libcrypt.a
> ../tools/ -D -m 644 lib/libutil.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libutil.a
> ../tools/ -D -m 644 lib/libxnet.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libxnet.a
> ../tools/ -D -m 644 lib/libresolv.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libresolv.a
> ../tools/ -D -m 644 lib/libdl.a
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/libdl.a
> ../tools/ -D -l
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/lib/
> /lib/ || true
> ln: failed to create symbolic link `/lib/':
> Permission denied
> ../tools/ -D -m 644 arch/arm/bits/alltypes.h
> /mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/include/bits/alltypes.h

This (attempting to install the dynamic linker symlink in /lib) is
caused by specifying the installation location
/mnt/clfs/cross-tools/armv7a-unknown-linux-musleabi/ as part of the
prefix rather than as the DESTDIR at "make install" time. If this is
part of the installation into the new filesystem root that will be
later used as chroot or the root for booting, DESTDIR is the proper
approach. If this is just a temporary musl build for use in
bootstrapping, the current --prefix is fine, but you also need either
--syslibdir or --disable-shared.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.