Summary: | STLport 5.x marked as ~ppc but it's unsupported realy | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Kurek <morgoth6> |
Component: | [OLD] Development | Assignee: | C++ Team [disbanded] <cpp+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | h.mth, ppc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
endianese detect fix
ns fix ebuild with both patches openoffice build fails without the patch, not sure of the connection. |
Description
Marcin Kurek
2006-05-02 13:26:25 UTC
Ping ? 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 attachment 90222 [details, diff]
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 attachment 90223 [details, diff]
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 attachment 90223 [details, diff]
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.
Created attachment 90224 [details]
ebuild with both patches
Adding maintainers. Created attachment 98615 [details, diff] openoffice build fails without the patch, not sure of the connection. The sal portion of openoffice-2.0.4 fails with xml2cmp errors without patch. From https://bugs.gentoo.org/146242 . 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! thanks! ~ppc64 added. Marked ~ppc and closing since we're the last arch team CC'd. Thanks! |