Bug 132054 - STLport 5.x marked as ~ppc but it's unsupported realy
|
Bug#:
132054
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: cpp@gentoo.org
|
Reported By: morgoth6@gmail.com
|
|
Component: Development
|
|
|
URL:
|
|
Summary: STLport 5.x marked as ~ppc but it's unsupported realy
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-05-02 13:26 0000
|
I see STLport 5.x is marked as ~ppc, but this version is completly not
compatible without some patchings.
First broken thing is endianese detection in STLport/stlport/stl/_config.h it
can be fixed by a simple patch, but there is also many other compilation
failures later on. I try to fix that but I simply give up :(
The only version of STLport that I can install is 4.6.2 on ~ppc system. I get
the same can't determine endianness error.
Ech ... this bug was enough time here now. I did a small investigation of this
problem using STLport 5.0.2 and I was able to compile it on my machine.
Created an attachment (id=90222) [details]
endianese detect fix
This one solved endianese detection problems for me. I am not completly sure is
endian.h header is present on all systems, but I belive it is for all archs
supported by Gentoo ATM.
Created an attachment (id=90223) [details]
ns fix
This one fix
g++ -I. -I../stlport -DLIBCIO= -D_POSIX_SOURCE -D_SVID_SOURCE -D__null=0L -O2
-fPIC dll_main.cpp -c -o ../lib/obj/LINUX/ReleaseD/dll_main.o
../stlport/cstdlib:89: error:
Created an attachment (id=90223) [details]
ns fix
This one fix
g++ -I. -I../stlport -DLIBCIO= -D_POSIX_SOURCE -D_SVID_SOURCE -D__null=0L -O2
-fPIC dll_main.cpp -c -o ../lib/obj/LINUX/ReleaseD/dll_main.o
../stlport/cstdlib:89: error: __std_alias::llabs has not been declared
../stlport/cstdlib:90: error: __std_alias::lldiv_t has not been declared
../stlport/cstdlib:91: error: __std_alias::lldiv has not been declared
../stlport/cstdlib: In function long long int abs(long long int):
../stlport/cstdlib:133: error: llabs is not a member of __std_alias
../stlport/cstdlib: In function lldiv_t div(long long int, long long int):
../stlport/cstdlib:134: error: lldiv is not a member of __std_alias
It seems llabs/lldiv aren't exported to std namespace at last not on my system
(Glibc 2.4-r3 && GCC 4.1.1) Looking at cstdlib from my system gives me this
solution. Not perfect, but working.
Just wondering if STLport-5.1.0 solves this issue?
See bug #158981 for ebuild.
Reassigning this bug to coordinate the keywording.
Ok, I've committed a version bump to 5.1.0 a couple of minutes ago and I
dropped ~ppc and ~ppc64 for that reason.
Dear arch-team members: Please test this package on your platform and re-add
your keywords when the unittests succeed. Thanks in advance!
Marked ~ppc and closing since we're the last arch team CC'd.
Thanks!