pp_sys.c: In function `Perl_pp_shostent': pp_sys.c:5054: warning: implicit declaration of function `sethostent_r' pp_sys.c:5054: error: structure has no member named `_hostent_data' pp_sys.c: In function `Perl_pp_sprotoent': pp_sys.c:5076: warning: implicit declaration of function `setprotoent_r' pp_sys.c:5076: error: structure has no member named `_protoent_data' pp_sys.c: In function `Perl_pp_sservent': pp_sys.c:5087: warning: implicit declaration of function `setservent_r' pp_sys.c:5087: error: structure has no member named `_servent_data' pp_sys.c: In function `Perl_pp_ehostent': pp_sys.c:5098: warning: implicit declaration of function `endhostent_r' pp_sys.c:5098: error: structure has no member named `_hostent_data' pp_sys.c: In function `Perl_pp_eprotoent': pp_sys.c:5122: warning: implicit declaration of function `endprotoent_r' pp_sys.c:5122: error: structure has no member named `_protoent_data' pp_sys.c: In function `Perl_pp_eservent': pp_sys.c:5134: warning: implicit declaration of function `endservent_r' pp_sys.c:5134: error: structure has no member named `_servent_data' make: *** [pp_sys.o] Error 1 !!! ERROR: sys-devel/libperl-5.8.5-r1 failed. !!! Function src_compile, Line 219, Exitcode 2 !!! Unable to make libperl.so Reproducible: Always Steps to Reproduce: 1. emerge libperl or emerge perl 2. 3. Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.minas.tirith/gentoo-portage" USE="X adns apm arts avi berkdb bitmap-fonts cdr clamav crypt cups devfs26 dvd encode f77 foomaticdb gd gdbm gif gnome gpm gtk gtk2 ieee1394 imlib innodb ithreads java jpeg kde libg++ libwww lmtp mad mikmod motif mpeg mysql ncurses nls offensive oggvorbis opengl oss pam pcap pcre pdflib perl png postgres python qt quicktime readline samba sasl sdl slang spell sqlite ssl svga tcltk tcpd threads truetype usb x86 xfs xml2 xmms xprint xv zlib" I am accepting ~x86 for perl and libperl both I noticed this only began after the introduction of the ithreads use flag: [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags ] [ : (I) Col 2 - Installed With USE flags ] U I [ Found these USE variables in : sys-devel/libperl-5.8.5-r1 ] + + berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too + + gdbm : Adds support for sys-libs/gdbm (GNU database libraries) + - ithreads : Enable Perl threads, has some compatibility problems - - uclibc : Enable uclibc specific patches and build or link uclibc - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too U I [ Found these USE variables in : dev-lang/perl-5.8.5 ] + + berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - doc : Adds extra documentation (API, Javadoc, etc) + + gdbm : Adds support for sys-libs/gdbm (GNU database libraries) + - ithreads : Enable Perl threads, has some compatibility problems - - perlsuid : Enable Perl SUID install. Has some risks associated. - - uclibc : Enable uclibc specific patches and build or link uclibc - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
The pp_sys.c modules does build with USE="-ithreads": `sh cflags "optimize='-march=pentium3 -O3 -pipe -fomit-frame-pointer'" pp_sys.o` -fPIC pp_sys.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall `sh cflags "optimize='-march=pentium3 -O3 -pipe -fomit-frame-pointer'" doop.o` -fPIC doop.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall
Going to close this since its been 9 months and no dev has stopped in before me (sorry about that really). Why bother having ithreads in your use flags at all if your going to emerge perl with -ithreads? It's a perl local use flag...
closing per email - thanks :)