Not sure what exactly is causing this error, but... The symbol that's failing in particular is `__builtin_stpcpy', which is part of glibc and in /usr/include/bits/string2.h. As you can see from the 'emerge info' I have glibc-2.3.5-r3. I took a quick look and the define for __builtin_stpcpy is encapsulated in some #if logic related to the gcc version. It looks like its supposed to eventually define out to stpcpy, but somehow the versions on gcc/glibc I am using just aren't compatible it seems. # emerge info && emerge yp-tools Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre16 distcc[669] (dcc_mkdir) ERROR: mkdir /home/jgreenwa/.distcc failed: Permission denied [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.12 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi akode alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cddb cdr cli cpudetection crypt cscope css ctype cups curl dba dri dvd dvdr dvdread emboss encode esd exif expat fam fastbuild ffmpeg font-server fontconfig foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimpprint glitz glut gmp gnutls gpm gstreamer gtk gtk2 gtkhtml hal idn imlib ipv6 isdnlog java jpeg kde kdeenablefinal kdexdeltas lcms ldap libg++ libwww logitech-mouse mad memlimit mikmod mmx mng motif moznoxft mp3 mpeg mysql ncurses nptl nptlonly nsplugin numeric nvidia ogg opengl oss pam pcre pda pdf pdflib pdo-external pear perl php png posix ppds pppd python qt quicktime rdesktop readline real ruby samba sdl sensord session simplexml slp smooth soap sockets spell spl sql sqlite sse sse2 ssl subversion svg symlink tcpd threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev usb vcd visualization vorbis win32codecs wmf xine xinerama xml xml2 xscreensaver xsl xv zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Calculating dependencies ...done! >>> emerge (1 of 1) net-nds/yp-tools-2.9 to / >>> md5 files ;-) yp-tools-2.9.ebuild >>> md5 files ;-) yp-tools-2.8-r1.ebuild >>> md5 files ;-) yp-tools-2.8.ebuild >>> md5 files ;-) files/yp-tools-2.8-bsd.patch >>> md5 files ;-) files/digest-yp-tools-2.8 >>> md5 files ;-) files/digest-yp-tools-2.9 >>> md5 files ;-) files/digest-yp-tools-2.8-r1 >>> md5 src_uri ;-) yp-tools-2.9.tar.bz2 >>> Unpacking source... >>> Unpacking yp-tools-2.9.tar.bz2 to /var/tmp/portage/yp-tools-2.9/work * Applying yp-tools-2.8-bsd.patch ... [ ok ] >>> Source unpacked. * econf: updating yp-tools-2.9/config.guess with /usr/share/gnuconfig/config.guess * econf: updating yp-tools-2.9/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/yp --disable-nls --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for library containing strerror... none required checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking if malloc debugging is wanted... no checking if malloc debugging with efence is wanted... no checking for yp_get_default_domain in -lnsl... yes checking for crypt in -lxcrypt... no checking for crypt in -lcrypt... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for ANSI C header files... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking rpc/clnt_soc.h usability... no checking rpc/clnt_soc.h presence... no checking for rpc/clnt_soc.h... no checking for an ANSI C-conforming const... yes checking for getopt_long... yes checking for ypbinderr_string... yes checking for getline... yes checking for string.h... (cached) yes checking for working getline function... yes checking for getline... (cached) yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory done checking whether NLS is requested... no configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating m4/Makefile config.status: creating etc/Makefile config.status: creating po/Makefile.in config.status: creating man/domainname.8 config.status: creating man/nicknames.5 config.status: creating man/ypcat.1 config.status: creating man/ypmatch.1 config.status: creating man/yppasswd.1 config.status: creating man/yppoll.8 config.status: creating man/ypset.8 config.status: creating man/yptest.8 config.status: creating man/ypwhich.1 config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile make all-recursive make[1]: Entering directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9' Making all in m4 make[2]: Entering directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9/m4' Making all in lib make[2]: Entering directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9/lib' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT nicknames.o -MD -MP -MF ".deps/nicknames.Tpo" -c -o nicknames.o nicknames.c; \ then mv -f ".deps/nicknames.Tpo" ".deps/nicknames.Po"; else rm -f ".deps/nicknames.Tpo"; exit 1; fi nicknames.c: In function `load_nicknames': nicknames.c:64: warning: implicit declaration of function `gettext' nicknames.c:64: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast nicknames.c:96: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast nicknames.c:105: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast nicknames.c: In function `print_nicknames': nicknames.c:153: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT yp_xdr.o -MD -MP -MF ".deps/yp_xdr.Tpo" -c -o yp_xdr.o yp_xdr.c; \ then mv -f ".deps/yp_xdr.Tpo" ".deps/yp_xdr.Po"; else rm -f ".deps/yp_xdr.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT yp_all_host.o -MD -MP -MF ".deps/yp_all_host.Tpo" -c -o yp_all_host.o yp_all_host.c; \ then mv -f ".deps/yp_all_host.Tpo" ".deps/yp_all_host.Po"; else rm -f ".deps/yp_all_host.Tpo"; exit 1; fi rm -f libyptools.a ar cru libyptools.a nicknames.o yp_xdr.o yp_all_host.o i686-pc-linux-gnu-ranlib libyptools.a make[2]: Leaving directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9/lib' Making all in src make[2]: Entering directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9/src' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT ypwhich.o -MD -MP -MF ".deps/ypwhich.Tpo" -c -o ypwhich.o ypwhich.c; \ then mv -f ".deps/ypwhich.Tpo" ".deps/ypwhich.Po"; else rm -f ".deps/ypwhich.Tpo"; exit 1; fi ypwhich.c: In function `print_version': ypwhich.c:53: warning: implicit declaration of function `gettext' ypwhich.c:53: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c: In function `print_usage': ypwhich.c:65: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c: In function `print_help': ypwhich.c:72: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:75: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:77: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:78: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:79: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:81: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:82: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:83: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c:84: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypwhich.c: In function `print_error': ypwhich.c:95: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c: In function `print_bindhost': ypwhich.c:143: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c: In function `main': ypwhich.c:169: warning: implicit declaration of function `bindtextdomain' ypwhich.c:170: warning: implicit declaration of function `textdomain' ypwhich.c:264: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c:291: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c:296: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c:320: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c:329: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c:334: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypwhich.c:354: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast i686-pc-linux-gnu-gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -o ypwhich ypwhich.o ../lib/libyptools.a -lnsl if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT ypmatch.o -MD -MP -MF ".deps/ypmatch.Tpo" -c -o ypmatch.o ypmatch.c; \ then mv -f ".deps/ypmatch.Tpo" ".deps/ypmatch.Po"; else rm -f ".deps/ypmatch.Tpo"; exit 1; fi ypmatch.c: In function `print_version': ypmatch.c:46: warning: implicit declaration of function `gettext' ypmatch.c:46: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypmatch.c: In function `print_usage': ypmatch.c:58: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c: In function `print_help': ypmatch.c:65: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:68: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:69: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:70: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:72: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:73: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:74: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c:75: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypmatch.c: In function `print_error': ypmatch.c:86: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypmatch.c: In function `main': ypmatch.c:98: warning: implicit declaration of function `bindtextdomain' ypmatch.c:99: warning: implicit declaration of function `textdomain' ypmatch.c:175: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypmatch.c:206: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypmatch.c:210: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast i686-pc-linux-gnu-gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -o ypmatch ypmatch.o ../lib/libyptools.a -lnsl if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT ypcat.o -MD -MP -MF ".deps/ypcat.Tpo" -c -o ypcat.o ypcat.c; \ then mv -f ".deps/ypcat.Tpo" ".deps/ypcat.Po"; else rm -f ".deps/ypcat.Tpo"; exit 1; fi ypcat.c: In function `print_version': ypcat.c:44: warning: implicit declaration of function `gettext' ypcat.c:44: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypcat.c:49: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypcat.c: In function `print_usage': ypcat.c:56: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c: In function `print_help': ypcat.c:63: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:66: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:68: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:70: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:71: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:73: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:74: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:75: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c:76: warning: passing arg 1 of `fputs' makes pointer from integer without a cast ypcat.c: In function `print_error': ypcat.c:86: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypcat.c: In function `main': ypcat.c:125: warning: implicit declaration of function `bindtextdomain' ypcat.c:126: warning: implicit declaration of function `textdomain' ypcat.c:210: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypcat.c:232: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ypcat.c:236: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast i686-pc-linux-gnu-gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -o ypcat ypcat.o ../lib/libyptools.a -lnsl if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -DPASSWD_PROG=\"\" -DCHFN_PROG=\"\" -DCHSH_PROG=\"\" -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT yppasswd-yppasswd.o -MD -MP -MF ".deps/yppasswd-yppasswd.Tpo" -c -o yppasswd-yppasswd.o `test -f 'yppasswd.c' || echo './'`yppasswd.c; \ then mv -f ".deps/yppasswd-yppasswd.Tpo" ".deps/yppasswd-yppasswd.Po"; else rm -f ".deps/yppasswd-yppasswd.Tpo"; exit 1; fi yppasswd.c: In function `print_version': yppasswd.c:85: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c: In function `print_usage_pwd': yppasswd.c:96: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `print_usage_chsh': yppasswd.c:102: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `print_usage_chfn': yppasswd.c:108: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `print_help_pwd': yppasswd.c:115: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:117: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:118: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:119: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:120: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:121: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:122: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:123: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `print_help_chsh': yppasswd.c:130: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:132: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:133: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:134: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `print_help_chfn': yppasswd.c:142: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:144: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:145: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:146: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `print_error': yppasswd.c:161: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c: In function `getnismaster': yppasswd.c:173: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:181: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:188: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c: In function `yp_strerror': yppasswd.c:204: warning: assignment makes pointer from integer without a cast yppasswd.c:207: warning: assignment makes pointer from integer without a cast yppasswd.c:210: warning: assignment makes pointer from integer without a cast yppasswd.c:213: warning: assignment makes pointer from integer without a cast yppasswd.c:216: warning: assignment makes pointer from integer without a cast yppasswd.c:219: warning: assignment makes pointer from integer without a cast yppasswd.c:222: warning: assignment makes pointer from integer without a cast yppasswd.c:225: warning: assignment makes pointer from integer without a cast yppasswd.c:228: warning: assignment makes pointer from integer without a cast yppasswd.c:231: warning: assignment makes pointer from integer without a cast yppasswd.c: In function `newfield': yppasswd.c:352: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c: In function `verifypassword': yppasswd.c:386: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:400: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:409: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:432: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c: In function `main': yppasswd.c:590: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:603: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:613: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:630: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:640: warning: passing arg 3 of `snprintf' makes pointer from integer without a cast yppasswd.c:643: warning: pointer/integer type mismatch in conditional expression yppasswd.c:643: warning: passing arg 3 of `snprintf' makes pointer from integer without a cast yppasswd.c:646: warning: assignment makes pointer from integer without a cast yppasswd.c:674: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:694: warning: passing arg 1 of `printf' makes pointer from integer without a cast yppasswd.c:702: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:706: warning: passing arg 1 of `getpass' makes pointer from integer without a cast yppasswd.c:709: warning: passing arg 1 of `printf' makes pointer from integer without a cast yppasswd.c:730: warning: passing arg 1 of `getpass' makes pointer from integer without a cast yppasswd.c:735: warning: passing arg 1 of `printf' makes pointer from integer without a cast yppasswd.c:756: warning: passing arg 1 of `printf' makes pointer from integer without a cast yppasswd.c:762: warning: passing arg 2 of `newfield' makes pointer from integer without a cast yppasswd.c:766: warning: passing arg 2 of `newfield' makes pointer from integer without a cast yppasswd.c:770: warning: passing arg 2 of `newfield' makes pointer from integer without a cast yppasswd.c:773: warning: passing arg 2 of `newfield' makes pointer from integer without a cast yppasswd.c:790: warning: passing arg 1 of `printf' makes pointer from integer without a cast yppasswd.c:793: warning: passing arg 2 of `newfield' makes pointer from integer without a cast yppasswd.c:814: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:817: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:821: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:829: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:832: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:837: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:845: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:848: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:852: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:861: warning: passing arg 1 of `fputs' makes pointer from integer without a cast yppasswd.c:864: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast yppasswd.c:869: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9 -DPASSWD_PROG=\"\" -DCHFN_PROG=\"\" -DCHSH_PROG=\"\" -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -MT yppasswd-yppasswd_xdr.o -MD -MP -MF ".deps/yppasswd-yppasswd_xdr.Tpo" -c -o yppasswd-yppasswd_xdr.o `test -f 'yppasswd_xdr.c' || echo './'`yppasswd_xdr.c; \ then mv -f ".deps/yppasswd-yppasswd_xdr.Tpo" ".deps/yppasswd-yppasswd_xdr.Po"; else rm -f ".deps/yppasswd-yppasswd_xdr.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse -o yppasswd yppasswd-yppasswd.o yppasswd-yppasswd_xdr.o ../lib/libyptools.a -lcrypt -lnsl yppasswd-yppasswd.o: In function `main': yppasswd.c:(.text+0x6d8): undefined reference to `__builtin_stpcpy' collect2: ld returned 1 exit status distcc[2993] ERROR: compile (null) on localhost failed make[2]: *** [yppasswd] Error 1 make[2]: Leaving directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/yp-tools-2.9/work/yp-tools-2.9' make: *** [all] Error 2 !!! ERROR: net-nds/yp-tools-2.9 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Ayeee carumba! Are you really sure you've got enough C[XX] flags in there? On a side note, also make sure you're using the same gcc version on all distcc nodes.
I've been meaning to trim them down, but it seems that yp-tools should not honor distcc feature. I just commented out the FEATURES line in my make.conf to build just locally and it worked like a champ. I know this can be done as its done with packages like mozilla-*.
different versions of gcc on different distcc nodes makes for bad binaries.