[ntp:bugs] [Bug 1862] in6addr_any test in configure fooled by arm gcc 4.1.3 -O2
bugzilla-daemon at ntp.org
bugzilla-daemon at ntp.org
Wed Mar 30 02:25:58 UTC 2011
http://bugs.ntp.org/show_bug.cgi?id=1862
--- Comment #17 from Dave Hart <hart at ntp.org> 2011-03-30 02:25:57 UTC ---
Stefan, to play it safe would you please verify Ralf's suggested code to avoid
dead-code elimination works with your NAS' compiler? Testing only -O2 is
sufficient I believe, looking for a failure to link.
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main() {
printf("%x", in6addr_any.s6_addr[15]);
}
Thanks!
--
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the bugs
mailing list