With xorg-x11-6.8.0-r3 installed, gdm-2.6.0.6 ebuild on amd64 won't compile. The configure script looks for an undefined function XdmcpFlush(). Interestingly, it looks like that function really does exist: % objdump -t /usr/X11R6/lib/libXdmcp.a | grep XdmcpFlush 0000000000000000 g F .text 0000000000000026 XdmcpFlush % grep -n XdmcpFlush /usr/X11R6/include/X11/Xdmcp.h 133:extern int XdmcpFlush(int fd, XdmcpBufferPtr buffer, XdmcpNetaddr to, int tolen); The error from gdm's configure script is: checking for X11/Xdmcp.h... yes checking for XdmcpFlush in -lXdmcp... no configure: error: XDMCP support requested but XDMCP libraries not found This seems related to <http://bugs.gentoo.org/show_bug.cgi?id=69244>, but I created a new bug because this is gdm failing rather than kdm. Mark as duplicate if you feel that's appropriate. emerge info: Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64) ================================================================= System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 3 2004, 15:29:50)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.6.3, 1.7.9, 1.9.3, 1.5, 1.4_p6 sys-devel/binutils: 2.15.90.0.1.1-r3, 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa amd64 apache2 apm avi bash-completion berkdb bitmap-fonts bonobo bzlib cdr crypt ctype cups directfb divx4linux dvd dvdr encode esd ethereal f77 fam fftw flac fortran ftp gd gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hardened icq imlib innodb ipv6 java jikes joystick jp2 jpeg junit lzw lzw-tiff mad mozilla mpeg multilib mysql mysqli ncurses nls nocd offensive oggvorbis openal opengl oscar oss pam pcre pdflib perl png posix postgres python qt quicktime readline samba sdl shared sharedmem soap sockets spell ssl svg tcpd tidy tiff truetype unicode usb userlocales vhosts videos wxwindows xine xinerama xml xml2 xmms xpm xrandr xv xvid yahoo zlib"
I don't know if this is relevant, but I also have emul-linux-x86-xlibs-1.2-r1 installed, which provides its own libXdmcp.a. But it, too, appearse to contain this function: % objdump -t /emul/linux/x86/usr/X11R6/lib/libXdmcp.a | grep XdmcpFlush 00000000 g F .text 00000047 XdmcpFlush
Created attachment 52246 [details] configure log for broken gdm-2.6.0.6 build This is still broken. Here's the config.log from ./configure, in case it helps.
I get the exact same problem. 2004.3r1 w/ x86_64-pc-linux-gnu-3.4.3 sources. Get it for previous ebuilds as well. - Mac
configure:26412: checking for XdmcpFlush in -lXdmcp configure:26442: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer -fPIC -Wall -Wmissing-prototypes -I/usr/X11R6/include conftest.c -lXdmcp -L/usr/X11R6/lib64 -lX11 >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib64/libXdmcp.a(Flush.o): relocation R_X86_64_PC32 against `sendto@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value Take a look at comment #4 on bug #73931 or comment #2 on bug #62419.
this bug is very old, guessing that it is fixed now. please reopen if that's not the case
I just got bitten by this one: emerging gnome-base/gdm-2.8.0.5 failed: configure: error: XDMCP support requested but XDMCP libraries not found emerge info Portage 2.0.53_rc5 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-rc3 x86_64) ================================================================= System uname: 2.6.14-rc3 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="no" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -ftracer -ffast-math -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -ftracer -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cairo cdr chipcard crypt cups curl dbus eds emboss encode fam foomaticdb fortran gcj gd gdbm gif gimp gimpprint glitz gmp gnome gphoto2 gstreamer gtk gtk2 guile hal hbci imagemagick imlib java jpeg junit lcms leim libwww lirc lzw lzw-tiff mad mp3 mpeg ncurses nls nomotif nptl nptlonly offensive ogg oggvorbis opengl pam pda pdflib perl png print quicktime readline scanner sdl speex spell sqlite ssl t1lib tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xinerama xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
After re-emerging xorg-x11, gdm emerged fine. I don't know what caused this glitch. So you can let this bug leave as WORKSFORME. Sorry for bothering