I just got the following compile error while trying to compile dev-db/mysql-gui-tools-5.0_p12-r1: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../../../library/utilities/shared_include -I../../../library/utilities/include -I../../../library/sql-parser/include -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -pipe -march=k8 -fexceptions -Wall -Wsign-compare -Wall -Wsign-compare -MT myx_network.lo -MD -MP -MF .deps/myx_network.Tpo -c myx_network.c -fPIC -DPIC -o .libs/myx_network.o In file included from myx_library.c:35: /usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory make[4]: *** [myx_library.lo] Error 1 This appears to be upstream bug http://bugs.mysql.com/bug.php?id=28456 and appears to be an error in the mysqlclient library header files. It probably got triggered now because of a linux-headers update which removed asm/atomic.h. I've solved the issue locally by just removing the asm/atomic.h include from the include file, which seems to work fine.
Created attachment 134300 [details] emerge --info output I forgot to mention the version of mysql I have installed: dev-db/mysql-5.0.44-r1. Also included as requested the emerge --info output.
*** This bug has been marked as a duplicate of bug 163151 *** *** This bug has been marked as a duplicate of bug 163151 ***