Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91521 - STLport compilation errors (in 4.6.2-r2, 4.6.2, and 4.5.3-r3)
Summary: STLport compilation errors (in 4.6.2-r2, 4.6.2, and 4.5.3-r3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 22:14 UTC by Joshua Wise
Modified: 2005-05-07 16:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Errors in STLport build (STLport.errors,19.49 KB, text/plain)
2005-05-04 22:20 UTC, Joshua Wise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Wise 2005-05-04 22:14:18 UTC
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
Comment 1 Joshua Wise 2005-05-04 22:20:41 UTC
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.
Comment 2 SpanKY gentoo-dev 2005-05-05 16:09:08 UTC
it's workin fine on my amd64 ...
Comment 3 Luca Barbato gentoo-dev 2005-05-06 02:48:01 UTC
reproduced on the pegII
Comment 4 SpanKY gentoo-dev 2005-05-06 05:11:16 UTC
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 :/
Comment 5 Joe Jezak (RETIRED) gentoo-dev 2005-05-06 20:31:50 UTC
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.
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2005-05-07 16:03:15 UTC
Okay, the patch is in CVS, feel free to reopen if it causes problems for you.