From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/859 Path: news.gmane.org!not-for-mail From: Richard Pennington Newsgroups: gmane.linux.lib.musl.general Subject: Re: Hi and a few questions Date: Sun, 20 May 2012 15:01:56 -0500 Message-ID: <1428470.FqrKJUCDgO@main.pennware.com> References: <1753849.ANqesc5nEP@main.pennware.com> <20120520175316.GC17860@port70.net> 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: dough.gmane.org 1337544187 11508 80.91.229.3 (20 May 2012 20:03:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 May 2012 20:03:07 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-860-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 20 22:03:07 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 1SWCLG-0003r5-DW for gllmg-musl@plane.gmane.org; Sun, 20 May 2012 22:03:02 +0200 Original-Received: (qmail 5205 invoked by uid 550); 20 May 2012 20:03:01 -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 5178 invoked from network); 20 May 2012 20:03:01 -0000 X-Authority-Analysis: v=2.0 cv=OMylLFmB c=1 sm=0 a=/l7PkcR/UKDnn7Q2wmGJww==:17 a=hdNgKtvFP3AA:10 a=fR_ARpL9IlcA:10 a=msTO8fkKGJEA:10 a=kj9zAlcOel0A:10 a=N4Ps669bAAAA:8 a=FP58Ms26AAAA:8 a=fwIYcVZ1xqJO7ONeUcgA:9 a=EfVicbtrUWYQqAFAO2UA:7 a=CjuIK1q_8ugA:10 a=/l7PkcR/UKDnn7Q2wmGJww==:117 X-Cloudmark-Score: 0 X-Originating-IP: 65.26.59.215 User-Agent: KMail/4.8.3 (Linux/3.3.2-6.fc16.x86_64; KDE/4.8.3; x86_64; ; ) In-Reply-To: <20120520175316.GC17860@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:859 Archived-At: On Sunday, May 20, 2012 07:53:16 PM Szabolcs Nagy wrote: [snip] > > (http://posixtest.sourceforge.net) three ways: > > 1. with gcc/glibc, x86_64 > > 2. with clang/LLVM/glibc, x86_64 > > 3. with clang/LLVM/musl, x86_64 > > nice, unfortunately it does not seem to be maintained > and it's not updated to posix 2008: > "... error: implicit declaration of function 'usleep'" > Yeah, I noticed that right away. I've made a lot of changes to the test suite already to modernice it for gcc/glibc and clang/LLVM/glibc. [snip] > many tests are broken and thus the build fails eg > > "functional/threads/schedule/1-1.c:22:1: error: "_XOPEN_SOURCE" redefined" > they shouldn't define that in the source file (without undefing it first) > > "conformance/interfaces/pthread_key_create/1-2.c:44: error: control reaches > end of non-void function" there are a couple of similar bad tests > > "conformance/interfaces/aio_read/9-1.c: In function 'main': > conformance/interfaces/aio_read/9-1.c:59: error: implicit declaration of > function 'open'" they use open without including fcntl.h > > etc Many of these problems have already been fixed in my copy. > > > Now for my questions: > > 1. Can musl be built out of the source tree? I'd like to be able to build > > > > for different processors in different directories. > > what do you mean by out of the source tree? > you can set an install prefix for make install > > if you want to have the .o files for each target in a separate build > directory then you can have several git clones or hack the Makefile I've decided not to change the build rules much, if any. It doesn't take long to build the library anyway, so building several times after cleaning is not a big deal. > > > 2. Are the include/bits files the only include files that differ between > > > > processors? > > no, see eg src/thread/$ARCH or src/math/$ARCH Will do. > > > 3. Are people actively working on other musl ports? I'd wouldn't want to > > > > duplicate their efforts. > > i don't think so > mips port was mentioned on irc at some point but i don't think anyone took > it up Thanks for the info. -Rich