Comment 2 for bug 1497419

Revision history for this message
Filip Francis (filip-francis) wrote :

Ok,,
Just tried to compile and get error regarding the s6_addr32
[ 50%] Building CXX object sql/CMakeFiles/sql.dir/mysqld.cc.o
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2247: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2250: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2253: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2254: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2258: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2259: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2260: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2265: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2266: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2267: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2268: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2272: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2272: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2273: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2273: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2274: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2274: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2275: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2275: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2279: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2279: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2280: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2280: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2281: Error: s6_addr32 is not a member of in6_addr.
"/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0/sql/mysqld.cc", line 2281: Error: s6_addr32 is not a member of in6_addr.
Compilation aborted, too many Error messages.
gmake[3]: *** [sql/CMakeFiles/sql.dir/mysqld.cc.o] Error 2
gmake[3]: Leaving directory `/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0'
gmake[2]: *** [sql/CMakeFiles/sql.dir/all] Error 2
gmake[2]: Leaving directory `/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/Compiler/Src/mysql/Percona/percona-server-5.6.26-74.0'
gmake: *** [all] Error 2

so this part needs to be fixed first
if ((check->s6_addr32[0] & mask->s6_addr32[0]) == addr->s6_addr32[0] )
          && ((check->s6_addr32[1] & mask->s6_addr32[1])
                == addr->s6_addr32[1])
            && ((check->s6_addr32[2] & mask->s6_addr32[2])
                == addr->s6_addr32[2])
            && ((check->s6_addr32[3] & mask->s6_addr32[3])
                == addr->s6_addr32[3]))
          return TRUE;

since i am not a developer (cannot really create programs)
at least i am trying to understand the code

So if you need more trace let me know
REgards
Filip