From: Alexander Stadler <sa.musl@univie.ac.at>
To: musl@lists.openwall.com
Subject: Bug in include/netinet/in.h
Date: Wed, 23 Jan 2013 17:39:53 +0100 [thread overview]
Message-ID: <51001259.8040602@univie.ac.at> (raw)
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
next reply other threads:[~2013-01-23 16:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 16:39 Alexander Stadler [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51001259.8040602@univie.ac.at \
--to=sa.musl@univie.ac.at \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).