From yvoinov at gmail.com Tue Mar 6 23:25:12 2018 From: yvoinov at gmail.com (Yuri) Date: Wed, 7 Mar 2018 04:25:12 +0600 Subject: SPARC GCC 5.5 /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/ seems not the same /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet and SPARC is not IPv6 compatible Message-ID: Hi all, seems? /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/*? contents is different with /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet/*. And seems SPARC version is __not IPv6 compatible__. Dagobert, pls, check. It seems SPARC version has different IPFilter headers than x86. This make difficults to build NAT-related software. API calls (natlookup struct) is not the same. -- ***************************** * C++20 : Bug to the future * ***************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: OpenPGP digital signature URL: From yvoinov at gmail.com Tue Mar 6 23:29:00 2018 From: yvoinov at gmail.com (Yuri) Date: Wed, 7 Mar 2018 04:29:00 +0600 Subject: SPARC GCC 5.5 /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/ seems not the same /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet and SPARC is not IPv6 compatible In-Reply-To: References: Message-ID: <03490c29-af41-aa1b-1b12-8d02929367d4@gmail.com> Here is different automake examples for same software: x86: configure:41466: checking for netinet/ip_nat.h configure:41466: g++ -c -m64 -I/opt/csw/include/openssl -I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 configure:41466: $? = 0 configure:41466: result: yes configure:41511: checking for struct natlookup.nl_inipaddr.in6 configure:41511: g++ -c -m64 -I/opt/csw/include/openssl -I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 conftest.cpp:346:20: fatal error: ip_nat.h: No such file or directory compilation terminated. configure:41511: $? = 1 SPARC: configure:41466: checking for netinet/ip_nat.h configure:41466: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 configure:41466: $? = 0 configure:41466: result: yes configure:41511: checking for struct natlookup.nl_inipaddr.in6 configure:41511: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:356:13: error: 'struct natlookup' has no member named 'nl_inipaddr' ?if (ac_aggr.nl_inipaddr.in6) 07.03.2018 04:25, Yuri ?????: > Hi all, > > seems? > /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/*? > contents is different with > /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet/*. > > And seems SPARC version is __not IPv6 compatible__. > > Dagobert, pls, check. > > It seems SPARC version has different IPFilter headers than x86. This > make difficults to build NAT-related software. > > API calls (natlookup struct) is not the same. > -- ***************************** * C++20 : Bug to the future * ***************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: OpenPGP digital signature URL: From yvoinov at gmail.com Tue Mar 6 23:32:30 2018 From: yvoinov at gmail.com (Yuri) Date: Wed, 7 Mar 2018 04:32:30 +0600 Subject: SPARC GCC 5.5 /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/ seems not the same /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet and SPARC is not IPv6 compatible In-Reply-To: <03490c29-af41-aa1b-1b12-8d02929367d4@gmail.com> References: <03490c29-af41-aa1b-1b12-8d02929367d4@gmail.com> Message-ID: This is the same Solaris 10 1/13 with same CSW software packages and same patching level. However, Solaris NAT headers seems quite different and not the same. x86 builds NAT, SPARC is not. Due to SPARC shows incompatible NAT headers in GCC folder. 07.03.2018 04:29, Yuri ?????: > Here is different automake examples for same software: > > x86: > > configure:41466: checking for netinet/ip_nat.h > configure:41466: g++ -c -m64 -I/opt/csw/include/openssl > -I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11 > -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 > configure:41466: $? = 0 > configure:41466: result: yes > configure:41511: checking for struct natlookup.nl_inipaddr.in6 > configure:41511: g++ -c -m64 -I/opt/csw/include/openssl > -I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11 > -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 > conftest.cpp:346:20: fatal error: ip_nat.h: No such file or directory > compilation terminated. > configure:41511: $? = 1 > > SPARC: > > configure:41466: checking for netinet/ip_nat.h > configure:41466: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe > -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 > configure:41466: $? = 0 > configure:41466: result: yes > configure:41511: checking for struct natlookup.nl_inipaddr.in6 > configure:41511: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe > -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 > conftest.cpp: In function 'int main()': > conftest.cpp:356:13: error: 'struct natlookup' has no member named > 'nl_inipaddr' > ?if (ac_aggr.nl_inipaddr.in6) > > > 07.03.2018 04:25, Yuri ?????: >> Hi all, >> >> seems? >> /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/*? >> contents is different with >> /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet/*. >> >> And seems SPARC version is __not IPv6 compatible__. >> >> Dagobert, pls, check. >> >> It seems SPARC version has different IPFilter headers than x86. This >> make difficults to build NAT-related software. >> >> API calls (natlookup struct) is not the same. >> -- ***************************** * C++20 : Bug to the future * ***************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: OpenPGP digital signature URL: From yvoinov at gmail.com Wed Mar 7 04:31:45 2018 From: yvoinov at gmail.com (Yuri) Date: Wed, 7 Mar 2018 09:31:45 +0600 Subject: SPARC GCC 5.5 /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/ seems not the same /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet and SPARC is not IPv6 compatible In-Reply-To: References: <03490c29-af41-aa1b-1b12-8d02929367d4@gmail.com> Message-ID: <0f34013d-bf52-49a7-2dbd-2b54c7db91b5@gmail.com> Oooooops, my bad. Was old /usr/include/math.h from previous OS release. So, dependent gcc headers become broken after GCC upgrade. Now fixed. Too much night works. Sorry. 07.03.2018 04:32, Yuri ?????: > This is the same Solaris 10 1/13 with same CSW software packages and > same patching level. > > However, Solaris NAT headers seems quite different and not the same. > > x86 builds NAT, SPARC is not. > > Due to SPARC shows incompatible NAT headers in GCC folder. > > 07.03.2018 04:29, Yuri ?????: >> Here is different automake examples for same software: >> >> x86: >> >> configure:41466: checking for netinet/ip_nat.h >> configure:41466: g++ -c -m64 -I/opt/csw/include/openssl >> -I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11 >> -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 >> configure:41466: $? = 0 >> configure:41466: result: yes >> configure:41511: checking for struct natlookup.nl_inipaddr.in6 >> configure:41511: g++ -c -m64 -I/opt/csw/include/openssl >> -I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11 >> -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 >> conftest.cpp:346:20: fatal error: ip_nat.h: No such file or directory >> compilation terminated. >> configure:41511: $? = 1 >> >> SPARC: >> >> configure:41466: checking for netinet/ip_nat.h >> configure:41466: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe >> -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 >> configure:41466: $? = 0 >> configure:41466: result: yes >> configure:41511: checking for struct natlookup.nl_inipaddr.in6 >> configure:41511: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe >> -std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5 >> conftest.cpp: In function 'int main()': >> conftest.cpp:356:13: error: 'struct natlookup' has no member named >> 'nl_inipaddr' >> ?if (ac_aggr.nl_inipaddr.in6) >> >> >> 07.03.2018 04:25, Yuri ?????: >>> Hi all, >>> >>> seems? >>> /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/*? >>> contents is different with >>> /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet/*. >>> >>> And seems SPARC version is __not IPv6 compatible__. >>> >>> Dagobert, pls, check. >>> >>> It seems SPARC version has different IPFilter headers than x86. This >>> make difficults to build NAT-related software. >>> >>> API calls (natlookup struct) is not the same. >>> -- ***************************** * C++20 : Bug to the future * ***************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: OpenPGP digital signature URL: