From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2097 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: feature request: flag to disable math library build Date: Sat, 13 Oct 2012 16:49:45 -0700 Message-ID: <20121013164945.b824bada.idunham@lavabit.com> References: <5077024E.6080104@barfooze.de> <20121011181709.GK24157@port70.net> <20121011193738.GL24157@port70.net> <20121011232858.GA254@brightrain.aerifal.cx> <20121013002349.540286e6.idunham@lavabit.com> <20121013122642.GI254@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 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350172201 15463 80.91.229.3 (13 Oct 2012 23:50:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2012 23:50:01 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2098-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 14 01:50:08 2012 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 1TNBT4-00073L-P5 for gllmg-musl@plane.gmane.org; Sun, 14 Oct 2012 01:50:06 +0200 Original-Received: (qmail 7782 invoked by uid 550); 13 Oct 2012 23:49:59 -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 7773 invoked from network); 13 Oct 2012 23:49:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=g9TDFde28bXFiqj1G+hYlzqLGbLIGar8+DdC+4ciAn+P0gdO8nH+ceUxG8ECEYrTfY85PuTOp5tRtBRNrKpGSoPlPk9lDAyrnAgL8r/y4mjy0MuY4gfylUN6+6hDalWKChRNtMKzxLShAaV/+A7LJ8FLTKH4PPcQHjDn73FtTpE=; h=Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <20121013122642.GI254@brightrain.aerifal.cx> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:2097 Archived-At: On Sat, 13 Oct 2012 08:26:42 -0400 Rich Felker wrote: > > And IIRC, src/complex built the last time I tried CVS pcc (but I > > could be misremembering!) > > Nice to hear - I hope that's true! Yes. pcc 20120923 used. The problems I'm running into are -m*: echo 'int main(){ return 0; }' |pcc -march=i386 - ld: unrecognised emulation mode: arch=i386 Supported emulations: elf_i386 i386linux elf_x86_64 elf_l1om ld terminated with status 1 (I use -melf_i386, i386linux is not the right mode) And a segfaulty loader. > > However, C11 makes complex numbers optional, and there's currently > > no dependance on src/complex/ - would it make sense to allow > > /configure --disable-complex > > (via the filter-out rule)? > There are plenty of other things in musl that are not required by the > base standards, like GNU extensions, all of the XSI option, and > various POSIX feature groups like spawn, but they're not made > optional, because it increases complexity and has almost no benefits. The potential issue is that complex/ requires a compiler capable of handling complex numbers, which C11 makes optional. Of course, it would be possible to just say that the compiler used to build musl must support complex numbers. -- Isaac Dunham