Compiling MySQL 3.23.58-r1 on a fresh, clean system with an up-to-date portage tree gives me the following error: depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -I.. -O3 -DDBUG_OFF -march=pentium4 -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -O3 -c `test -f replace.c || echo './'`replace.c replace.c:374: error: conflicting types for `set_bit' /usr/include/asm/bitops.h:43: error: previous declaration of `set_bit' replace.c:375: error: conflicting types for `clear_bit' /usr/include/asm/bitops.h:78: error: previous declaration of `clear_bit' replace.c:750: error: redefinition of `set_bit' replace.c:374: error: `set_bit' previously defined here replace.c:756: error: redefinition of `clear_bit' replace.c:375: error: `clear_bit' previously defined here Version of linux-headers is 2.6.11-r2 Reproducible: Always Steps to Reproduce: 1. 2. 3.
Fixed, sorry for the delay, totally missed this one.