From busybox Tue Apr 06 03:04:01 2021 From: Eli Schwartz Date: Tue, 06 Apr 2021 03:04:01 +0000 To: busybox Subject: Re: Issue with "standalone shell" and applets not working Message-Id: X-MARC-Message: https://marc.info/?l=busybox&m=161767826605840 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1945288990796394951==" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1945288990796394951== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yJKSRQrTY4GKLM5UE7WicUwa1TIzO6Z3r" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --yJKSRQrTY4GKLM5UE7WicUwa1TIzO6Z3r Content-Type: multipart/mixed; boundary="m5TkUDovBXiopjvF5IgdSjaU9wrPvfeWa"; protected-headers="v1" From: Eli Schwartz To: busybox@busybox.net Message-ID: Subject: Re: Issue with "standalone shell" and applets not working References: <20210404065127.297e5adf@thinkpad> <60696e6d.P+uw/WAWuanfKEAC%rmy@pobox.com> <20210404125922.14d24732@thinkpad> In-Reply-To: <20210404125922.14d24732@thinkpad> --m5TkUDovBXiopjvF5IgdSjaU9wrPvfeWa Content-Type: text/plain; charset=windows-1252 Content-Language: en-US-large Content-Transfer-Encoding: quoted-printable On 4/4/21 8:59 AM, spiral wrote: >=20 >> What platform are you using? > I am using Linux Mint 20.1 with gcc. > Building it on Arch (still with gcc) worked correctly, oddly enough. > However, I can't build busybox static with Arch since they don't > seem to ship glibc-static. :/ Busybox static should build successfully on Arch, it just won't be 100% static since glibc is actually a bit terrible about that. It will not link to any other libraries, but it will warn you during the link stage that it will be rigged up to dlopen() the libnss_* libraries. Really, people should always do like the official Arch repos do and like you discovered yourself, and build with a libc that is not the GNU libc. For this purpose, I maintain both the musl libc in the official repos, and a fairly featureful desktop-targeted busybox binary built, statically, against that musl toolchain. Keep in mind it is always worth comparing and contrasting how the distro is doing it! https://busybox.net/FAQ.html#libc recommends uclibc as the favorite libc of the busybox developers. You may acquire uclibc-ng from the AUR, but I can't make any particular guarantees about it as I (obviously) don't use this AUR package. =2E.. I wonder, why does the busybox website mention glibc/uclibc (and warn you off of dietlibc or klibc!) and not musl? It seems like musl is fairly popular for minimal systems and static distribution, moreso than glibc certainly. It could use some mention. --=20 Eli Schwartz Arch Linux Bug Wrangler and Trusted User --m5TkUDovBXiopjvF5IgdSjaU9wrPvfeWa-- --yJKSRQrTY4GKLM5UE7WicUwa1TIzO6Z3r Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEYEETBMCdNmKDQO7/zrFn77VyK9YFAmBrz6EACgkQzrFn77Vy K9b6Lg//Q2G5DhTDymoBuAu+b/qKZ6n6SkfM/NeQaYfRysfQJUVhIqvAeXNNno2G P1EEmC6HfuDrk+Rc0MVFfd/Es5mHOSQ5KHCSUMtjBEs2Ql5aFhQQpLOHPjHGhEDS qIuLP5cJ2WnI37IQMgtZHFjJYldoo+gUP06IQLOev0e1ey6E35k4vY5potVrcuTu ZHopVWflOnG2737E2g7qhz6q9t1enAQ5pIGlFLM8o2w4VQqhIF13KwWl1FZnH30u G5iOeeNuGVGRVRj8fXhZRsGDww7bxq0krAkHJdqcD3dsIHrcnKgI2f5wCuhqRaMH LBRqzREkKcgMJ1kAWEX88XS8b/58D4Xc/1/xuUfu9Aaoa6fM+iZOXy6tRKRHdxRb 5fNROsQveNQF8A4x6srh/+/eJzHmdyouTIEBgsyZC6+rXNDVyDB5L+4PjgaqFhXi Edhq7wUOorh4K1R1HyH92LVgdwzZrpIuev9s9/IO1/0E3J48RFE+n8FnC1wV0tXH PTF1BbeKCTuwq31Ja3Qg+8yn1he39kq1ESdMvdSTaN8gxL1rnYmGzit3cm3Wu4gd VBajtF86CgQRcFbMsqAsAf0rWalAt2CfV8i/kkQoP/4koyFHLnS2KiIdbZninwAu 3vOiJqjxtDClz0OU9vXfUkCWg8w5DJzgWcmRPfGUbDajrdPNzpM= =M2ho -----END PGP SIGNATURE----- --yJKSRQrTY4GKLM5UE7WicUwa1TIzO6Z3r-- --===============1945288990796394951== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox --===============1945288990796394951==--