mailing list of musl libc
 help / color / mirror / code / Atom feed
* Bug in include/netinet/in.h
@ 2013-01-23 16:39 Alexander Stadler
  2013-01-23 16:58 ` John Spencer
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Stadler @ 2013-01-23 16:39 UTC (permalink / raw)
  To: musl

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-01-29 20:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 16:39 Bug in include/netinet/in.h Alexander Stadler
2013-01-23 16:58 ` John Spencer
2013-01-23 17:08   ` Alexander Stadler
2013-01-23 17:11   ` Rich Felker
2013-01-24 19:22     ` Alexander Stadler
2013-01-24 20:38       ` Rich Felker
2013-01-24 20:46       ` John Spencer
2013-01-29 17:37         ` Alexander Stadler
2013-01-29 18:10           ` Szabolcs Nagy
2013-01-29 18:33             ` Alexander Stadler
2013-01-29 20:36               ` Florian Fainelli

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).