flame@cptquarters mydumper-0.5.2 % mysql_config --cflags -I/usr/include/mysql -pipe -ggdb -g -frecord-gcc-switches -fno-strict-aliasing -g This is not correct — I might not want to use -ggdb for all other software that links to MySQL, I might not want (or can't) use -frecord-gcc-switches. Please look to make sure these are stripped out. Thanks.
uhm, maybe one of mysql-extras-20120906-1344Z/01050_all_mariadb_mysql_config_cleanup-5.1.41.patch mysql-extras-20120906-1344Z/01050_all_mysql_config_cleanup-5.0.60.patch mysql-extras-20120906-1344Z/01050_all_mysql_config_cleanup-5.1.41.patch mysql-extras-20120906-1344Z/01050_all_mysql_config_cleanup.patch should be applied? Diego, filtering is done, but it's done by gentoo, not upstream mysql-config. Please look at build log if some of these patches is applied. Also the patch was discussed on dev-gentoo ml, but that's ancient stuff (say around 2005)
This should block bug 474800. I've put a patch for 5.5 in the mysql-extras overlay based on 5.1. IRC comments mentioned we should discuss what should be filtered. With stabilization wanted soon, now seems like a good time.
Patch activated in the tree. Please test the latest version of 5.5 and report back.