[Bug 1735158] Re: FTBFS with gcc7
Andreas Hasenack
andreas at canonical.com
Thu Dec 7 12:30:18 UTC 2017
I checked debian sid, and the build succeeds there. The code is using
UINT16_MAX in the same place (tc/tc_core.c), and that file is not
including stdint.h
UINT16_MAX is only used in tc/tc_core.c:
$ grep UINT16_MAX -r .
./tc/tc_core.c: if ((sz >> s->size_log) > UINT16_MAX) {
./.pc/ftbfs.diff/tc/tc_core.c: if ((sz >> s->size_log) > UINT16_MAX) {
UINT16_MAX is only defined in stdint.h:
$ grep UINT16_MAX -r /usr/include
/usr/include/stdint.h:# define UINT16_MAX (65535)
There are no patches defining UINT16_MAX or including stdint.h in
debian/patches.
Build flags (dpkg-buildflags) in ubuntu and sid are the same.
Without digging deeper, I don't know why the build succeeds there.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to iproute2 in Ubuntu.
https://bugs.launchpad.net/bugs/1735158
Title:
FTBFS with gcc7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1735158/+subscriptions
More information about the Ubuntu-server-bugs
mailing list