Re: [protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-19 Thread 'Adam Cozzette' via Protocol Buffers
Unfortunately we don't have a compatibility matrix showing what compiler
versions we support. If you have to use g++ 4.2.1 then your best bet would
probably be to just try building it again and work through any errors that
appear. Based on the one error you linked, it looks like the compiler is
unable to inline that particular function, so you could try editing it to
be non-inline and see if that fixes it.

On Sun, Sep 18, 2016 at 10:59 PM, Sowmya Narayanam 
wrote:

> Unfortunately i am bound to use this compiler 4.2.1.Any way i can build
> this tool with this version or is it not supported with this compiler
> version?
>
> Any compatibility matrix will be highly appreciated.
>
>
> On Saturday, September 17, 2016 at 4:53:57 AM UTC+5:30, Adam Cozzette
> wrote:
>>
>> Sowmya, my guess that your compiler version is just too old (it's from
>> 2007). Could you try with a more recent version of g++ and let us know if
>> that solves the problem?
>>
>> On Wed, Sep 14, 2016 at 10:53 PM, Sowmya Narayanam > > wrote:
>>
>>> I am using g++ (GCC) 4.2.1 20070719  [FreeBSD]
>>>
>>>
>>>
>>> On Saturday, September 10, 2016 at 4:02:56 AM UTC+5:30, Gerben Stavenga
>>> wrote:

 I dont think the OS matters. Which version of g++ do you use?


 On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam
 wrote:
>
> Can i compile protobuf-3.0 on freebsd-7
>
> Is there any compatibility matrix , for the supported OS and the
> probuf versions.
>
> I tried compiling and i got this error
>
> Making all in src
> depbase=`echo google/protobuf/api.pb.lo | sed
> 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../libtool  --tag=CXX
> --mode=compile g++ -DHAVE_CONFIG_H  -I. -I.. -D_THREAD_SAFE -pthread
> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT
> google/protobuf/api.pb.lo -MD -MP -MF $depbase.Tpo -c -o
> google/protobuf/api.pb.lo google/protobuf/api.pb.cc && mv -f
> $depbase.Tpo $depbase.Plo
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE
> -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g
> -DNDEBUG -MT google/protobuf/api.pb.lo -MD -MP -MF
> google/protobuf/.deps/api.pb.Tpo -c google/protobuf/api.pb.cc  -fPIC
> -DPIC -o google/protobuf/.libs/api.pb.o
> ./google/protobuf/arena.h: In static member function 'static
> GenericType* google::protobuf::internal::Ge
> nericTypeHandler::NewFromPrototype(const GenericType*,
> google::protobuf::Arena*) [with GenericType = google::protobuf::Option]':
> ./google/protobuf/arena.h:623: sorry, unimplemented: inlining failed
> in call to 'static T* google::protobuf::Arena::Creat
> eMaybeMessage(google::protobuf::Arena*, ...) [with T =
> google::protobuf::Option]': function not inlinable
> ./google/protobuf/repeated_field.h:565: sorry, unimplemented: called
> from here
> *** Error code 1
>
> Any help on this is highly appreciated. Thanks in advance
>
> regards,
> Sowmya
>
 --
>>> You received this message because you are subscribed to the Google
>>> Groups "Protocol Buffers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to protobuf+unsubscr...@googlegroups.com.
>>> To post to this group, send email to protobuf@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/protobuf.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-18 Thread Sowmya Narayanam
Unfortunately i am bound to use this compiler 4.2.1.Any way i can build 
this tool with this version or is it not supported with this compiler 
version?

Any compatibility matrix will be highly appreciated.

On Saturday, September 17, 2016 at 4:53:57 AM UTC+5:30, Adam Cozzette wrote:
>
> Sowmya, my guess that your compiler version is just too old (it's from 
> 2007). Could you try with a more recent version of g++ and let us know if 
> that solves the problem?
>
> On Wed, Sep 14, 2016 at 10:53 PM, Sowmya Narayanam  
> wrote:
>
>> I am using g++ (GCC) 4.2.1 20070719  [FreeBSD]
>>
>>
>>
>> On Saturday, September 10, 2016 at 4:02:56 AM UTC+5:30, Gerben Stavenga 
>> wrote:
>>>
>>> I dont think the OS matters. Which version of g++ do you use?
>>>
>>>
>>> On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam wrote:

 Can i compile protobuf-3.0 on freebsd-7 

 Is there any compatibility matrix , for the supported OS and the probuf 
 versions.

 I tried compiling and i got this error

 Making all in src
 depbase=`echo google/protobuf/api.pb.lo | sed 
 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../libtool  --tag=CXX
 --mode=compile g++ -DHAVE_CONFIG_H  -I. -I.. -D_THREAD_SAFE -pthread 
 -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT 
 google/protobuf/api.pb.lo -MD -MP -MF $depbase.Tpo -c -o 
 google/protobuf/api.pb.lo google/protobuf/api.pb.cc && mv -f 
 $depbase.Tpo $depbase.Plo
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread 
 -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT 
 google/protobuf/api.pb.lo -MD -MP -MF google/protobuf/.deps/api.pb.Tpo -c 
 google/protobuf/api.pb.cc  -fPIC -DPIC -o 
 google/protobuf/.libs/api.pb.o
 ./google/protobuf/arena.h: In static member function 'static 
 GenericType* 
 google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const
  
 GenericType*, google::protobuf::Arena*) [with GenericType = 
 google::protobuf::Option]':
 ./google/protobuf/arena.h:623: sorry, unimplemented: inlining failed in 
 call to 'static T* 
 google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena*, ...) 
 [with T = google::protobuf::Option]': function not inlinable
 ./google/protobuf/repeated_field.h:565: sorry, unimplemented: called 
 from here
 *** Error code 1

 Any help on this is highly appreciated. Thanks in advance

 regards,
 Sowmya

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Protocol Buffers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to protobuf+unsubscr...@googlegroups.com.
>> To post to this group, send email to protobuf@googlegroups.com.
>> Visit this group at https://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-16 Thread 'Adam Cozzette' via Protocol Buffers
Sowmya, my guess that your compiler version is just too old (it's from
2007). Could you try with a more recent version of g++ and let us know if
that solves the problem?

On Wed, Sep 14, 2016 at 10:53 PM, Sowmya Narayanam 
wrote:

> I am using g++ (GCC) 4.2.1 20070719  [FreeBSD]
>
>
>
> On Saturday, September 10, 2016 at 4:02:56 AM UTC+5:30, Gerben Stavenga
> wrote:
>>
>> I dont think the OS matters. Which version of g++ do you use?
>>
>>
>> On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam wrote:
>>>
>>> Can i compile protobuf-3.0 on freebsd-7
>>>
>>> Is there any compatibility matrix , for the supported OS and the probuf
>>> versions.
>>>
>>> I tried compiling and i got this error
>>>
>>> Making all in src
>>> depbase=`echo google/protobuf/api.pb.lo | sed
>>> 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../libtool  --tag=CXX
>>> --mode=compile g++ -DHAVE_CONFIG_H  -I. -I.. -D_THREAD_SAFE -pthread
>>> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT
>>> google/protobuf/api.pb.lo -MD -MP -MF $depbase.Tpo -c -o
>>> google/protobuf/api.pb.lo google/protobuf/api.pb.cc && mv -f
>>> $depbase.Tpo $depbase.Plo
>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread
>>> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT
>>> google/protobuf/api.pb.lo -MD -MP -MF google/protobuf/.deps/api.pb.Tpo
>>> -c google/protobuf/api.pb.cc  -fPIC -DPIC -o
>>> google/protobuf/.libs/api.pb.o
>>> ./google/protobuf/arena.h: In static member function 'static
>>> GenericType* google::protobuf::internal::Ge
>>> nericTypeHandler::NewFromPrototype(const GenericType*,
>>> google::protobuf::Arena*) [with GenericType = google::protobuf::Option]':
>>> ./google/protobuf/arena.h:623: sorry, unimplemented: inlining failed in
>>> call to 'static T* google::protobuf::Arena::Creat
>>> eMaybeMessage(google::protobuf::Arena*, ...) [with T =
>>> google::protobuf::Option]': function not inlinable
>>> ./google/protobuf/repeated_field.h:565: sorry, unimplemented: called
>>> from here
>>> *** Error code 1
>>>
>>> Any help on this is highly appreciated. Thanks in advance
>>>
>>> regards,
>>> Sowmya
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-14 Thread Sowmya Narayanam
I am using g++ (GCC) 4.2.1 20070719  [FreeBSD]


On Saturday, September 10, 2016 at 4:02:56 AM UTC+5:30, Gerben Stavenga 
wrote:
>
> I dont think the OS matters. Which version of g++ do you use?
>
>
> On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam wrote:
>>
>> Can i compile protobuf-3.0 on freebsd-7 
>>
>> Is there any compatibility matrix , for the supported OS and the probuf 
>> versions.
>>
>> I tried compiling and i got this error
>>
>> Making all in src
>> depbase=`echo google/protobuf/api.pb.lo | sed 
>> 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../libtool  --tag=CXX
>> --mode=compile g++ -DHAVE_CONFIG_H  -I. -I.. -D_THREAD_SAFE -pthread 
>> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT 
>> google/protobuf/api.pb.lo -MD -MP -MF $depbase.Tpo -c -o 
>> google/protobuf/api.pb.lo google/protobuf/api.pb.cc && mv -f 
>> $depbase.Tpo $depbase.Plo
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread 
>> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT 
>> google/protobuf/api.pb.lo -MD -MP -MF google/protobuf/.deps/api.pb.Tpo -c 
>> google/protobuf/api.pb.cc  -fPIC -DPIC -o google/protobuf/.libs/api.pb.o
>> ./google/protobuf/arena.h: In static member function 'static GenericType* 
>> google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const 
>> GenericType*, google::protobuf::Arena*) [with GenericType = 
>> google::protobuf::Option]':
>> ./google/protobuf/arena.h:623: sorry, unimplemented: inlining failed in 
>> call to 'static T* 
>> google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena*, ...) 
>> [with T = google::protobuf::Option]': function not inlinable
>> ./google/protobuf/repeated_field.h:565: sorry, unimplemented: called from 
>> here
>> *** Error code 1
>>
>> Any help on this is highly appreciated. Thanks in advance
>>
>> regards,
>> Sowmya
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-09 Thread 'Gerben Stavenga' via Protocol Buffers
I dont think the OS matters. Which version of g++ do you use?


On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam wrote:
>
> Can i compile protobuf-3.0 on freebsd-7 
>
> Is there any compatibility matrix , for the supported OS and the probuf 
> versions.
>
> I tried compiling and i got this error
>
> Making all in src
> depbase=`echo google/protobuf/api.pb.lo | sed 
> 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../libtool  --tag=CXX
> --mode=compile g++ -DHAVE_CONFIG_H  -I. -I.. -D_THREAD_SAFE -pthread 
> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT 
> google/protobuf/api.pb.lo -MD -MP -MF $depbase.Tpo -c -o 
> google/protobuf/api.pb.lo google/protobuf/api.pb.cc && mv -f $depbase.Tpo 
> $depbase.Plo
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread 
> -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT 
> google/protobuf/api.pb.lo -MD -MP -MF google/protobuf/.deps/api.pb.Tpo -c 
> google/protobuf/api.pb.cc  -fPIC -DPIC -o google/protobuf/.libs/api.pb.o
> ./google/protobuf/arena.h: In static member function 'static GenericType* 
> google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const 
> GenericType*, google::protobuf::Arena*) [with GenericType = 
> google::protobuf::Option]':
> ./google/protobuf/arena.h:623: sorry, unimplemented: inlining failed in 
> call to 'static T* 
> google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena*, ...) 
> [with T = google::protobuf::Option]': function not inlinable
> ./google/protobuf/repeated_field.h:565: sorry, unimplemented: called from 
> here
> *** Error code 1
>
> Any help on this is highly appreciated. Thanks in advance
>
> regards,
> Sowmya
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.