I copied the summary from Debian's bugtracker as someone already reported the things to the Debian guys. However Debian is going to remove uclibc so there will be no fix from Debian. see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318564 for details and an untested patch Google is maybe also a source. http://www.google.de/search?hl=de&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=static+declaration+of+%27_dl_mmap_zero%27+follows+non-static+declaration&spell=1 I try to find out more and test the patch but I can't guarantee that I find some time for it.
Could you post emerge --info for the system where you are trying to compile uclibc? Also, which ebuild version were you using? For instance, in bug 234944, they are working on getting the latest ebuild uclibc-0.9.28.3-r7 to compile with gcc 4.3. However, that ebuild is already marked as testing for several arches, so it must already build with something else a little less recent, such as gcc 4.1.