From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2650 Path: news.gmane.org!not-for-mail From: Alexander Stadler Newsgroups: gmane.linux.lib.musl.general Subject: Bug in include/netinet/in.h Date: Wed, 23 Jan 2013 17:39:53 +0100 Message-ID: <51001259.8040602@univie.ac.at> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358959230 26655 80.91.229.3 (23 Jan 2013 16:40:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2013 16:40:30 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2651-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 23 17:40:49 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 1Ty3NW-0007Ar-Sh for gllmg-musl@plane.gmane.org; Wed, 23 Jan 2013 17:40:47 +0100 Original-Received: (qmail 3139 invoked by uid 550); 23 Jan 2013 16:40:28 -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 3126 invoked from network); 23 Jan 2013 16:40:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=8cih+9KuQrE5kNEhCg5kpMXCMQXaCkHxpSBt1YOLpt0=; b=nR2/ckbNVpcd7fvaCZMuOJRNhDsOXuN9QDkZbHP4LPI/GgZ7H7fVzRuJzn4wCIYg58xLEWctCCbiaoxZXZIO6TqnTO4WO7kdyBpPpAAGMczJIrk7YCva5+mXoxU7q3CDPQI1Cco8EMMvQJ9ohsPGzL9gmVSCwpRK1yKHgT2sDm4=; User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at Xref: news.gmane.org gmane.linux.lib.musl.general:2650 Archived-At: Dear musl developers! I currently try to compile openwrt with your library instead of with uClibc. Since recent changes in the netifd code, I get the following error: make[6]: Entering directory `/space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1' Scanning dependencies of target netifd make[6]: Leaving directory `/space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1' make[6]: Entering directory `/space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1' [ 5%] Building C object CMakeFiles/netifd.dir/main.c.o [ 11%] Building C object CMakeFiles/netifd.dir/utils.c.o [ 17%] Building C object CMakeFiles/netifd.dir/system.c.o [ 23%] Building C object CMakeFiles/netifd.dir/tunnel.c.o [ 29%] Building C object CMakeFiles/netifd.dir/interface.c.o [ 35%] Building C object CMakeFiles/netifd.dir/interface-ip.c.o /space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1/interface-ip.c: In function 'interface_ip_set_ula_prefix': /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] /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] /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 make[6]: *** [CMakeFiles/netifd.dir/interface-ip.c.o] Error 1 make[6]: Leaving directory `/space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1' As this line does not have an | operation in it, but IN6_ARE_ADDR_EQUAL http://git.musl-libc.org/cgit/musl/tree/include/netinet/in.h#n148 has, we think its a bug on your side. The ticket in openwrt was https://dev.openwrt.org/ticket/12871 Thanks Alex