I'd recommend to wait until the integration of apache C++ standard library: http://www.opensolaris.org/os/project/arc-process/PTLtestbed/PTL/ in b120. As I know, the target is that all the C++ libraries/applications will be built with it (+ Sun Studio) when it's integrated. Some of your build issues should be fixed at that time.
Hope this help, -Alfred On Sat, Jul 4, 2009 at 8:40 AM, A Hettinger<no-reply at opensolaris.org> wrote: > I've been working on porting Blender (2.49) to use SS12 (U1) for compiling. I > know that it is possible to do this useing libstlport4, the problem is at > this point we have almost all of the libraries used by blender in IPS, but > built using libCstd. This means (AFAICT) I have a couple of options WRT this > package: > > 1) build it with libstlport4, along with all the libs and link staticly > > or > > 2) work around the defenicies in libCstd > > Option 2 seems to be the better option, I think, so I've been looking at it > from that perspective. While I am familure with C++, errors showing up in the > STL are not somthing im used to debugging. This is the error im getting: > > "/opt/sunstudio12.1/prod/include/CC/Cstd/./memory", line 482: Error: Using > static_cast to convert from MEM_CacheLimiterHandleCClass** to > std::list<MEM_CacheLimiterHandleCClass*, > MEM_Allocator<MEM_CacheLimiterHandleCClass*>>::__list_node_buffer* > not allowed. > "/opt/sunstudio12.1/prod/include/CC/Cstd/./list", line 134: ? ? Where: While > instantiating > "std::allocator_interface<MEM_Allocator<MEM_CacheLimiterHandleCClass*>, > std::list<MEM_CacheLimiterHandleCClass*, > MEM_Allocator<MEM_CacheLimiterHandleCClass*>>::__list_node_buffer>::allocate(unsigned, > std::list<MEM_CacheLimiterHandleCClass*, > MEM_Allocator<:MEM_CacheLimiterHandleCClass*>>::__list_node_buffer*)". > "/opt/sunstudio12.1/prod/include/CC/Cstd/./list", line 134: ? ? Where: > Instantiated from non-template code. > > when compiling: intern/memutil/intern/MEM_CacheLimiterC-Api.cpp > > I really would like to get these patches done and hopefully applied upstream. > -- > This message posted from opensolaris.org > _______________________________________________ > sw-porters-discuss mailing list > sw-porters-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/sw-porters-discuss >
