From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3408 Path: news.gmane.org!not-for-mail From: Isaac Newsgroups: gmane.linux.lib.musl.general Subject: Re: Thinking about release Date: Thu, 13 Jun 2013 08:46:25 -0700 Message-ID: <20130613154625.GA23252@newbook> References: <20130613012517.GA5859@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1371138404 26635 80.91.229.3 (13 Jun 2013 15:46:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2013 15:46:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3412-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jun 13 17:46:46 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 1Un9jW-00059A-9K for gllmg-musl@plane.gmane.org; Thu, 13 Jun 2013 17:46:42 +0200 Original-Received: (qmail 27959 invoked by uid 550); 13 Jun 2013 15:46:41 -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 27938 invoked from network); 13 Jun 2013 15:46:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=0yqTUMrDRQXmplJncI599FKGMD/s0jTGSpPdoY8WCGvDhPKj1EYDw5zV/PUtConYRMTYsNV72nJDVn1tbSb2LlLzuOJptaMJ4MluES3CxIDS0ZyrMQKIMG/1KsVGwZx+GeckynM2c4AeqJ1pZ1AwGYH8tQv4YiM7c05vE1fWFV8=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Content-Disposition: inline In-Reply-To: <20130613012517.GA5859@brightrain.aerifal.cx> User-Agent: Mutt/1.5.20 (2009-06-14) Xref: news.gmane.org gmane.linux.lib.musl.general:3408 Archived-At: On Wed, Jun 12, 2013 at 09:25:17PM -0400, Rich Felker wrote: > Hi all, > > It's been mentioned that we're overdue for a release, and it looks > like we have a fair amount of new stuff since the last release. Major > changes so far: > > - Accepting \n in dynamic linker path file > - Fixed broken x86_64 sigsetjmp > - Removed wrong C++ __STDC_*_MACROS checks > - Thread exit synchronization issues > - Conforming overflow behavior in clock() > - Support for large device numbers > - Math optimizations on i386 > - C11 float.h macro additions > - Fixes for exceptions in fma (gcc bug workarounds) > - Fix misaligned stack when running ctors/dtors > - Support for %m modifier in scanf > - Support for using gcc intrinsic headers with musl-gcc wrapper > - PRNG fixes > - Per-process and per-thread cputime clocks and new(ish) Linux clocks > > I think the ether.h functions could definitely still make it in for > this release too. inet_makeaddr, etc. could probably also be merged. ether.h is needed for a full build of busybox: $ grep -r ether_aton_r */ networking/udhcp/files.c: if (!mac_string || !ether_aton_r(mac_string, &mac_bytes)) networking/ether-wake.c: eap = ether_aton_r(hostid, eaddr); networking/nameif.c: ch->mac = ether_aton_r(selector + (strncmp(selector, "mac=", 4) != 0 ? 0 : 4), lmac); $ grep -r ether_ntoa */ networking/ether-wake.c: bb_debug_msg("The target station address is %s\n\n", ether_ntoa(eap)); networking/ether-wake.c: bb_debug_msg("Station address for hostname %s is %s\n\n", hostid, ether_ntoa(eaddr)); networking/zcip.c: ether_ntoa(sha), networking/zcip.c: ether_ntoa(tha), networking/arping.c: ether_ntoa((struct ether_addr *) p)); networking/arping.c: ether_ntoa((struct ether_addr *) p + ah->ar_hln + 4)); Most of these aren't universally needed, but I wanted to enable some of them. Right now, I'm using Strake's patch and compiling musl with -Os. Of course, these aren't going to be enough to make busybox allyesconfig work right; I also ran into the following issues building busybox: - needs the macros from (for setarch) -A few cases of using extra headers that break the busybox build: can be changed to is included (needlessly for musl) in networking/libiproute/iplink.c; this header is roughly the macros from + struct sockaddr_pkt is used in arp and zcip -CONFIG_COMPAT_EXTRA turns on use of glibc regex.h extensions in grep. -Of course, vi still uses glibc regexes if you enable search and replace. > Rich HTH, Isaac Dunham