When I attempt to compile STLport using the command: emerge STLport I get errors while compiling one given file (as shown below), and the compilation errors out. Reproducible: Always Steps to Reproduce: 1. emerge STLport Actual Results: g++ spewed a load of errors, and emerge bombed out. Expected Results: STLport should have cleanly emerged. joshua@snack ~ $ sudo emerge info Portage 2.0.51.21 (default-linux/ppc/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-pegasos-r4 ppc) ================================================================= System uname: 2.6.11-pegasos-r4 ppc 7447/7457, altivec supported Gentoo Base System version 1.6.11 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/" LINGUAS="en es ja" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa altivec apache2 arts bitmap-fonts curl dvd dvdread emboss encode esd fam fortran gd gif gnome gtk imlib ipv6 jpeg kde motif mp3 ncurses nls ogg opengl pam perl png ppc python qt readline ssl tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xprint xv zlib linguas_en linguas_es linguas_ja userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created attachment 58099 [details] Errors in STLport build Note: This system does use distcc. The other distcc host is not powered on. That should not cause the issues seen here, with the exception of the distcc[blah] blah No route to host errors. distcc automatically falls back to the local machine, so this should not be a problem. I noticed "altivec" somewhere in the errors (actually, that was a warning), so I'm assuming stlport knows somehow that it is infact compiling on a PPC, and that it should actually use PPC specific code. Lines 94 and 95 of the _vector.h listed in the error read as such: template <class _Tp, _STLP_DEFAULT_ALLOCATOR_SELECT(_Tp) > class vector : public _Vector_base<_Tp, _Alloc> I do not get that first error if I change "class vector" to "class vectorx", leading me to believe that somebody's namespace is being romped on somehow. These are just my guesses though, and I assume that somebody out there more experienced with C++ than myself will probably be able to provide better insight.
it's workin fine on my amd64 ...
reproduced on the pegII
the stlport website has a forums where users there post a large variety of errors ... best bet is to probably search there first ... 4.6.2 is latest release atm :/
Hmm, I thought I fixed this before. This is the same problem that OpenOffice was having with STLport, I guess I missed the seperate library. I'll fix this tomorrow when I get a chance.
Okay, the patch is in CVS, feel free to reopen if it causes problems for you.