doing emerge gdb, i get : (in the directory /var/tmp/portage/gdb-5.1.1/work/gdb-5.1.1/gdb : gcc -c -O2 -mcpu=i686 -pipe -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized utils.c In file included from /usr/include/curses.h:111, from utils.c:30: /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:9: conflicting types for `false' ../bfd/bfd.h:102: previous declaration of `false' /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: conflicting types for `true' ../bfd/bfd.h:102: previous declaration of `true' This seems to be related to a bug in the gdb bug database, which can be seen here : http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=386&return_url=http%3A%2F%2Fsources.redhat.com%2Fcgi-bin%2Fgnatsweb.pl%3Fdatabase%3Dgdb%26cmd%3Dsubmit%2520query%26category%3Dall%26severity%3Dall%26priority%3Dall%26responsible%3Dall%26submitter_id%3Dall%26state%3Dall%26ignoreclosed%3DIgnore%2520Closed%26class%3Dall%26synopsis%3D%26multitext%3D%26columns%3Dcategory%26columns%3Dstate%26columns%3Dclass%26columns%3Dresponsible%26columns%3Dsynopsis%26displaydate%3DDisplay%2520Current%2520Date%26sortby%3DResponsible%26.cgifields%3Dcolumns%26.cgifields%3Doriginatedbyme%26.cgifields%3Ddisplaydate%26.cgifields%3Dignoreclosed
What ebuild of glibc have you got installed?
My apologies if this isn't the right way to determine which glibc I have installed. root@newhiro portage # find /usr/portage -name "*glibc*ebuild" /usr/portage/sys-libs/glibc/glibc-2.2.4-r4.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r5.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r6.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r7.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r8.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r9.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.5-r1.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.5-r2.ebuild /usr/portage/sys-libs/glibc/glibc-2.2.5-r3.ebuild root@newhiro portage # ls -l /lib/libc.so* lrwxrwxrwx 1 root root 13 Feb 18 13:57 /lib/libc.so.6 -> libc-2.2.4.so
OK, it looks as though you have glibc-2.2.4 installed. To actually confirm this, do: emerge --search glibc If it is, indeed glibc-2.2.4 installed, then do this: ls -l /etc/make.profile If it is pointing to default-1.0_rc6 then you are running an older version of gentoo. What you need to do is follow the upgrade instructions (www.gentoo.org) that Daniel Robbins posted up. When you do that, your glibc will also be upgraded (to glibc-2.2.5-r2). At that point, when you emerge gdb, it will go well for you.