From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2078 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: feature request: flag to disable math library build Date: Thu, 11 Oct 2012 19:30:54 +0200 Message-ID: <5077024E.6080104@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349976080 27561 80.91.229.3 (11 Oct 2012 17:21:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2012 17:21:20 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2079-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 11 19:21:27 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 1TMMRl-0000aM-9B for gllmg-musl@plane.gmane.org; Thu, 11 Oct 2012 19:21:21 +0200 Original-Received: (qmail 23852 invoked by uid 550); 11 Oct 2012 17:21:14 -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 23844 invoked from network); 11 Oct 2012 17:21:14 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 Xref: news.gmane.org gmane.linux.lib.musl.general:2078 Archived-At: i'm currently doing lots of testing in qemu, and compiling musl takes a *very long time*, especially on MIPS, where either the emulation is much slower than ARM, the speed difference is due to the crappy OABI, or the kernel for the emulated system is doing something stupid. in any case, it's 2 - 10 times slower. currently i'm debugging a segfault in the mips dynamic linker (after i spent nearly 12 hours building a static gdb). for this kind of testing it would be advantageous if i could disable the math library entirely (since it is completely unnecessary), which accounts for roughly 50% of the build time. this might also be an option desired by ppl that use tcc or pcc. maybe --disable-math ?