I've pushed MySQL 5.5 to unstable and it's now on the buildfarm. It's built with GCC, and mysql_config returns GCC specific flags:
$ mysql_config --cflags -I/opt/csw/include/mysql -pipe -m32 -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing This has just caused trouble for Juergen when building Nagios plugins. One fix would be to build MySQL 5.5 with Solaris Studio. The latest attempt: "/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.5.x/work/solaris10-sparc/build-isa-sparcv8plus/mysql-5.5.25/libmysqld/../sql/rpl_utility.h", line 274: Warning: extra ";" ignored. "/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.5.x/work/solaris10-sparc/build-isa-sparcv8plus/mysql-5.5.25/libmysqld/../sql/mysqld.cc", line 3255: Error: The function "getpagesizes" must have a prototype. "/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.5.x/work/solaris10-sparc/build-isa-sparcv8plus/mysql-5.5.25/libmysqld/../sql/mysqld.cc", line 3259: Error: The function "getpagesizes" must have a prototype. "/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.5.x/work/solaris10-sparc/build-isa-sparcv8plus/mysql-5.5.25/libmysqld/../sql/mysqld.cc", line 3276: Error: The function "memcntl" must have a prototype. "/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.5.x/work/solaris10-sparc/build-isa-sparcv8plus/mysql-5.5.25/libmysqld/../sql/mysqld.cc", line 3278: Error: The function "memcntl" must have a prototype. 4 Error(s) and 1 Warning(s) detected. I'm thinking what's the best way to go about it. Spend time on porting it to Studio? (It's less and less fun as time goes by.) Patch mysql_config and remove the GCC related flags? Thoughts? Maciej _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
