emerge -v epic4 fails during linking: .... perl.o(.text+0x2200): In function `perleval': : undefined reference to `Perl_Ttmps_ix_ptr' perl.o(.text+0x220e): In function `perleval': : undefined reference to `Perl_Gthr_key_ptr' perl.o(.text+0x2220): In function `perleval': : undefined reference to `Perl_Ttmps_floor_ptr' perl.o(.text+0x2232): In function `perleval': : undefined reference to `Perl_Gthr_key_ptr' perl.o(.text+0x2250): In function `perleval': .... emerge info: felix glibc # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.4.28-gentoo-r3 i686) ================================================================= System uname: 2.4.28-gentoo-r3 i686 Celeron (Mendocino) Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 11:38:03)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r3 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-pipe -march=pentium2 -O3 -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-pipe -march=pentium2 -O3 -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portagetmp" PORTDIR="/usr/portage" SYNC="rsync://1g.compfort.com.pl/gentoo-portage" USE="x86 apm arts avi berkdb bitmap-fonts chroot crypt cups curl emboss encode font-server foomaticdb gif gpm hardened imlib ithreads jpeg kde libg++ libwww mad mbox mikmod motif mpeg ncurses oggvorbis opengl oss pam pdflib perl png pwdb python qt quicktime readline sdl ssl svga tcpd threads truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY perl ebuild being used: 5.8.6-r3
I suppose it's due to the fact that you've got perl compiled with USE="ithreads" support. From the perl ebuild: ewarn "" ewarn "PLEASE NOTE: You are compiling perl-5.8 with" ewarn "interpreter-level threading enabled." ewarn "Threading is not supported by all applications " ewarn "that compile against perl. You use threading at " ewarn "your own discretion. " ewarn ""
you are right. disabling it and recompiling perl made epic4 compile OK. is there an idea what to do with applications that dont work correctly with ithreads turned on ?
No solution I'm aware of. I'm going to add some built_with_use magic to the ebuild to make epic error out if perl has been compiled with USE="ithreads"
Commited to CVS.