From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2665 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Bug in include/netinet/in.h Date: Thu, 24 Jan 2013 15:38:21 -0500 Message-ID: <20130124203820.GA20323@brightrain.aerifal.cx> References: <51001259.8040602@univie.ac.at> <510016A5.2000903@barfooze.de> <20130123171138.GT20323@brightrain.aerifal.cx> <510189DB.6070106@univie.ac.at> 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 1359059922 13567 80.91.229.3 (24 Jan 2013 20:38:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 20:38:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2666-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 24 21:39:00 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 1TyTZS-0001Y7-Uc for gllmg-musl@plane.gmane.org; Thu, 24 Jan 2013 21:38:51 +0100 Original-Received: (qmail 26558 invoked by uid 550); 24 Jan 2013 20:38:33 -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 26547 invoked from network); 24 Jan 2013 20:38:33 -0000 Content-Disposition: inline In-Reply-To: <510189DB.6070106@univie.ac.at> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2665 Archived-At: On Thu, Jan 24, 2013 at 08:22:03PM +0100, Alexander Stadler wrote: > Am 23.01.2013 18:11, schrieb Rich Felker: > > On Wed, Jan 23, 2013 at 05:58:13PM +0100, John Spencer wrote: > >> On 01/23/2013 05:39 PM, Alexander Stadler wrote: > >>> [-Werror=parentheses] > >>> /space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1/interface-ip.c:655:2: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses] > >>> cc1: all warnings being treated as errors > >> the bug here is -Werror being passed to the compiler, try adding > >> --disable-werror to the configure invocation > >> > >> (note: using -Werror by default is pretty inept, since it will cause > >> build errors on any compiler/libc combination that has not yet been > >> tested by the package author) > > > > Normally these kind of warnings are ignored in the system headers and > > macro text expanded from macros defined in the system headers. I don't > > see any reason we can't "fix" this particular macro however if for > > some reason it's still making trouble.. > > > > Rich > > I removed -Werror from CMakeLists.txt of netifd, after that it compiled (with warnings ;-) ). > Thank you! > > (only size shocked me - 450KB (one day before with uClibc 50KB :-/ )) You must have been dynamic linking with uClibc and static linking with musl -- and linking some libs other than just libc statically, I think, since even the whole libc is not that big. Rich