Summary: | dev-libs/STLport (5.1.2) fails - undefined variables in _cmath.h library | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Federico Corradi <federico.corradi> |
Component: | [OLD] Library | Assignee: | C++ Team [disbanded] <cpp+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gengor |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Federico Corradi
2007-04-04 09:36:12 UTC
Please post "emerge --info". Thanks! Portage 2.1.2.3 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.6, glibc-2.3.5-r3, 2.6.17-gentoo-r7 ppc) ================================================================= System uname: 2.6.17-gentoo-r7 ppc 7447A, altivec supported Gentoo Base System version 1.6.14 Timestamp of tree: Wed, 04 Apr 2007 09:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O3 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-O3 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo http://mirrors.acm.cs.rpi.edu/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa altivec apache2 apm arts berkdb bitmap-fonts bluetooth bonobo bzlib cdr cli cracklib crypt cups dri dvd dvdread eds emboss encode esd fbcon fftw foomaticdb fortran freetype ftp gdbm gif gimp gpm gstreamer gtk gtk2 gtkhtml iconv imagemagick imlib isdnlog java jpeg ldap libg++ libwww mad midi mikmod mime motif mozilla mozsvg mp3 mpeg mpeg4 mysql ncurses nls nptl ogg opengl oss pam pcre pcres pda pdflib perl plotutils png ppc pppd pwdb python qt qt3 qt4 quicktime radeon readline reflection ruby sdl session spell spl ssl sysfs tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wifi xml xorg xscreensaver xv zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Similar problem: >>> Emerging (1 of 1) dev-libs/STLport-5.1.2 to / * STLport-5.1.2.tar.bz2 RMD160 ;-) ... [ ok ] * STLport-5.1.2.tar.bz2 SHA1 ;-) ... [ ok ] * STLport-5.1.2.tar.bz2 SHA256 ;-) ... [ ok ] * STLport-5.1.2.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking STLport-5.1.2.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking STLport-5.1.2.tar.bz2 to /var/tmp/portage/dev-libs/STLport-5.1.2/work * Applying STLport-5.1.2-wrong_russian_currency_name.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/STLport-5.1.2/work/STLport-5.1.2 ... make: Entering directory `/var/tmp/portage/dev-libs/STLport-5.1.2/work/STLport-5.1.2/build/lib' powerpc-unknown-linux-gnu-g++ -pthread -fexceptions -fident -fPIC -fuse-cxa-atexit -O2 -mcpu=7400 -pipe -maltivec -mabi=altivec -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/so/dll_main.o ../../src/dll_main.cpp ../../stlport/stl/_cstdlib.h:91: error: '__std_alias::llabs' has not been declared ../../stlport/stl/_cstdlib.h:92: error: '__std_alias::lldiv_t' has not been declared ../../stlport/stl/_cstdlib.h:93: error: '__std_alias::lldiv' has not been declared ../../stlport/stl/_cstdlib.h: In function 'long long int abs(long long int)': ../../stlport/stl/_cstdlib.h:144: error: 'llabs' is not a member of '__std_alias' ../../stlport/stl/_cstdlib.h: In function 'lldiv_t div(long long int, long long int)': ../../stlport/stl/_cstdlib.h:145: error: 'lldiv' is not a member of '__std_alias' make: *** [obj/gcc/so/dll_main.o] Error 1 make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.2/work/STLport-5.1.2/build/lib' !!! ERROR: dev-libs/STLport-5.1.2 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3540: Called src_compile STLport-5.1.2.ebuild, line 79: Called die !!! Compile failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-libs/STLport-5.1.2/temp/build.log'. ____________ emerge --info Portage 2.1.2.2 (default-linux/ppc/2005.1/ppc/G4, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r4 ppc) ================================================================= System uname: 2.6.17-gentoo-r4 ppc 7400, altivec supported Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 10 Apr 2007 13:20:01 +0000 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7400 -pipe -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -mcpu=7400 -pipe -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="X aac alsa altivec berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dga directfb dri dv eds emboss encode fbcon fortran gif gimpprint gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack jpeg libcaca libwww live mad matroska midi motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdf perl png ppc pppd python readline reflection sdk session spell spl ssl tcpd tga theora truetype truetype-fonts type1-fonts unicode vorbis xml2 xorg xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="r128" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS @Francesco: Please try to re-emerge gcc and then emerge STLport @Federico: Please update your profile, update glibc, emerge gcc-4.1.x (or just switch it, if not using hardened) and try again. I upgrade to... gcc-4.1.2 and glibc-2.5-r1 now it works fine. thanks tiziano |