[protobuf] Sun Studio 11 on Solaris 8, i386: two unit tests are failing

2010-02-23 Thread Maciej Bliziński
I got protobuf to build on Solaris 8. All tests are passing on sparc (both 32 and 64-bit), two tests are failing on i386. (amd64 build is yet to come) [ FAILED ] CommandLineInterfaceTest.OutputDirectoryIsFileError [ FAILED ] DiskSourceTreeTest.MapDirectory [ RUN ]

Re: Sun Studio 11

2009-06-24 Thread vikram
...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd, with a few patches.  Works well enough to compile and run the add_person_cpp/list_people_cpp examples. I include

Re: Sun Studio 11

2009-06-24 Thread vikram
-- if your employer does On Wed, Jun 3, 2009 at 10:53 PM, bmcarnes_proto...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd, with a few patches.  Works

Re: Sun Studio 11

2009-06-24 Thread vikram
On Wed, Jun 3, 2009 at 10:53 PM, bmcarnes_proto...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd, with a few patches.  Works well enough to compile and run the add_person_cpp

Re: Sun Studio 11

2009-06-24 Thread vikram
on this patchhttp:// code.google.com/legal/corporate-cla-v1.0.html-- if your employer does On Wed, Jun 3, 2009 at 10:53 PM, bmcarnes_proto...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd

Re: Sun Studio 11

2009-06-24 Thread vikram
@Monty I followed your steps but make check still fails with following errors make check Making check in . make check-local Making lib/libgtest.a lib/libgtest_main.a in gtest `lib/libgtest.la' is up to date. `lib/libgtest_main.la' is up to date. Making check in src make check-am make

Re: Sun Studio 11

2009-06-24 Thread Monty Taylor
on this patchhttp:// code.google.com/legal/corporate-cla-v1.0.html-- if your employer does On Wed, Jun 3, 2009 at 10:53 PM, bmcarnes_proto...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd

Re: Sun Studio 11

2009-06-24 Thread vikram
I was finally able to compile it correctly and evaluate its correctness using tests. Kenton, Is there anything else I need to evaluate before using compiler and binaries. I can provide patch now if its needed. I am also going to try same procedure on AIX too . Is there any other

Re: Sun Studio 11

2009-06-24 Thread Kenton Varda
If the tests pass, it should be good to go. Please do submit patches. On Wed, Jun 24, 2009 at 2:09 PM, vikram patilvik...@gmail.com wrote: I was finally able to compile it correctly and evaluate its correctness using tests. Kenton, Is there anything else I need to evaluate before

Re: Sun Studio 11

2009-06-22 Thread vikram
: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd, with a few patches.  Works well enough to compile and run the add_person_cpp/list_people_cpp examples. I include the build instructions and patch

Re: Sun Studio 11

2009-06-22 Thread Kenton Varda
on this patchhttp:// code.google.com/legal/corporate-cla-v1.0.html-- if your employer does On Wed, Jun 3, 2009 at 10:53 PM, bmcarnes_proto...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11

Re: Sun Studio 11

2009-06-04 Thread Kenton Varda
at 10:53 PM, bmcarnes_proto...@oddren.com wrote: Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd, with a few patches. Works well enough to compile and run the add_person_cpp/list_people_cpp examples

Sun Studio 11

2009-06-03 Thread ajoy
Hi I compiled 2.10 in Sun studio 11, with the -library=stlport4 option, but I have to link protobuf against other programs which are not compiled with this option (and whose source code i don't have) , and i believe they're incompatible because of this. Is there any hope for me? :) thanks

Re: Sun Studio 11

2009-06-03 Thread bmcarnes_protobuf
Probably not. LibCstd isn't complete enough for protobuf. I was able to get protobuf 2.1.0 to work well under Sun Studio 11, using libCstd, with a few patches. Works well enough to compile and run the add_person_cpp/list_people_cpp examples. I include the build instructions and patch set

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-29 Thread Monty Taylor
Kenton Varda wrote: PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ? Yeargh, I wish I could tell the code site to e-mail me whenever someone submits an issue, because I always forget to go look. Yeah. I completely agree... It doesn't seem to email on updates either. I

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread cosmin . cremarenco
I have access to sun studio 12 so I tried to compile protobuf 2.1.0 with this version of the compiler. This is the error I get: make all-recursive Making all in . Making all in src source='google/protobuf/descriptor.pb.cc' object='descriptor.pb.lo' libtool=yes \ DEPDIR=.deps depmode=none

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 12:35 AM, cosmin.cremare...@gmail.com wrote: ./google/protobuf/stubs/once.h, line 114: Warning (Anachronism): Formal argument 2 of type extern C void(*)() in call to pthread_once (_once*, extern C void(*)()) is being passed void(*)(). This warning seems to be saying

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Kenton Varda
On Wed, May 20, 2009 at 10:44 AM, Monty Taylor mo...@inaugust.com wrote: Kenton Varda wrote: On Wed, May 20, 2009 at 12:35 AM, cosmin.cremare...@gmail.com mailto:cosmin.cremare...@gmail.com wrote: ./google/protobuf/stubs/once.h, line 114: Warning (Anachronism): Formal

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: On Wed, May 20, 2009 at 10:44 AM, Monty Taylor mo...@inaugust.com mailto:mo...@inaugust.com wrote: Kenton Varda wrote: On Wed, May 20, 2009 at 12:35 AM, cosmin.cremare...@gmail.com mailto:cosmin.cremare...@gmail.com

Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread cosmin . cremarenco
Hi I'm running into some issues when compiling (more exactly linking) protobuf 2.0.3. Thanks in advance for any help. Cosmin CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ sunstudio/sunstudio11/SUNWspro/bin/cc ./configure --prefix=/src/work/

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread Monty Taylor
cosmin.cremare...@gmail.com wrote: Hi I'm running into some issues when compiling (more exactly linking) protobuf 2.0.3. Thanks in advance for any help. Cosmin CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ sunstudio/sunstudio11/SUNWspro/bin/cc ./configure