From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2945 Path: news.gmane.org!not-for-mail From: Rob Landley Newsgroups: gmane.linux.lib.musl.general,gmane.linux.toybox Subject: Re: [Toybox] toybox: Rough edges in pending Date: Tue, 19 Mar 2013 12:20:27 -0500 Message-ID: <1363713627.15703.33@driftwood> References: <20130318235043.7e89ec83.idunham@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363713644 2827 80.91.229.3 (19 Mar 2013 17:20:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Mar 2013 17:20:44 +0000 (UTC) Cc: toybox@lists.landley.net, musl@lists.openwall.com To: Isaac Dunham Original-X-From: musl-return-2946-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 19 18:21:09 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UI0Dk-0000yg-14 for gllmg-musl@plane.gmane.org; Tue, 19 Mar 2013 18:21:08 +0100 Original-Received: (qmail 15973 invoked by uid 550); 19 Mar 2013 17:20:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15964 invoked from network); 19 Mar 2013 17:20:43 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:subject:to:cc:in-reply-to:x-mailer:message-id :mime-version:content-type:content-disposition :content-transfer-encoding:x-gm-message-state; bh=jBi36I3xkS1xyPtT9di0SBbxznneIJcm5Y5lBGVoZks=; b=KglfYyz57Gulu3uXGTWXwv1uKTIJ0oJO/8Xp8ZiGQvgLzP5ugXJ+KPyoOJ/2qw8Exa T3IQ4hoYYymtpJOPgEQQWJUGTsE/6B0ZxF6RML401yKPkz3ZoQXhWGJjwXkatNqanhWC 6GWRuM0MK2gIA/Ttj2cq6DX7/1gVv3XKYFlGZvzrY45g9oXl7sy4R0V1EXCMOqWk9O2K Lf+BY7rF8/eufJ5uSYa5UFQCWEFrfgyUz1udwZ6xu0QuOtjvThqc1RiAYtUV3RmAu0ld kqxBM8eD3FSZUuz3KE7BYUFb470Z0VF1HdMUzAZ/2G/LoPNIMDVQW8+SPKBiX3RkdLsn Gr3w== X-Received: by 10.50.154.133 with SMTP id vo5mr1858221igb.77.1363713631424; Tue, 19 Mar 2013 10:20:31 -0700 (PDT) In-Reply-To: <20130318235043.7e89ec83.idunham@lavabit.com> (from idunham@lavabit.com on Tue Mar 19 01:50:43 2013) X-Mailer: Balsa 2.4.11 Content-Disposition: inline X-Gm-Message-State: ALoCoQl6EMCbr+nG/MOazBmLMZNq0gcxuh7gLHla/Ha8AagfoWudZPHvrDh4y8ehKFBfvJ9A3GXW Xref: news.gmane.org gmane.linux.lib.musl.general:2945 gmane.linux.toybox:267 Archived-At: On 03/19/2013 01:50:43 AM, Isaac Dunham wrote: > Hello, > I don't expect these to be very high priority, but I ran into a few =20 > rough edges > when enabling almost all the toys in pending: Um, yes. Until recently half the stuff in pending didn't even =20 _compile_. There's a _reason_ the default to 'n'. It's a directory full =20 of things that people are unhappy if I keep out of tree (usually for =20 months), but which aren't ready to be used either. On balance, if I can't find a warning sign large enough, I'm just going =20 to delete the whole directory and start keeping it out of tree again. > -sh: > toys/pending/sh.c: In function 'run_pipeline': > toys/pending/sh.c:303: warning: assignment from incompatible pointer =20 > type > Apparently, gcc doesn't recognize both rebound and toys.rebound Oh wow, toysh. No, it was never more than a stub and the rest of the =20 code has changed drastically around it in the ~4 years since the last =20 time it was touched. It needed fixups just to compile again, and I only =20 did that because after my talk at CELF people kept telling me that =20 "allyesconfig" didn't build. (And I went "I know, it's not supposed =20 to", and this confused them...) I should have called the directory "slushpile". > Also, when toybox is built with musl, and toybox sh executes ls, > I get a hang; strace indicates that something funny is going on: I am honestly amazed it got _that_ far. > I anticipate this is a bug in musl, so I'll cross-post. If toysh _isn't_ corrupting the heap or something similar, I'd be =20 stunned. It's not a real command yet. Rob=