Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium
New issue 489 by ayr...@gmail.com: 2.5.0 build failed on
sparc-sun-solaris2.10
http://code.google.com/p/protobuf/issues/detail?id=489
What steps will reproduce the problem?
1. ../configure --disable-64bit-solaris
2. make
What is the expected output? What do you see instead?
make[2]: Entering directory
`/export/home/renbin/toolbuild/protobuf-2.5.0/build/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../src -I.. -D_REENTRANT -pthreads -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT
atomicops_internals_x86_gcc.lo -MD -MP
-MF .deps/atomicops_internals_x86_gcc.Tpo -c -o
atomicops_internals_x86_gcc.lo `test
-f 'google/protobuf/stubs/atomicops_internals_x86_gcc.cc' ||
echo '../../src/'`google/protobuf/stubs/atomicops_internals_x86_gcc.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -D_REENTRANT
-pthreads -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2
-g -DNDEBUG -MT atomicops_internals_x86_gcc.lo -MD -MP
-MF .deps/atomicops_internals_x86_gcc.Tpo
-c ../../src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc -fPIC
-DPIC -o .libs/atomicops_internals_x86_gcc.o
In file included from ../../src/google/protobuf/stubs/atomicops.h:59:0,
from ../../src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
../../src/google/protobuf/stubs/platform_macros.h:61:2: error: #error Host
architecture was not detected as supported by protobuf
#error Host architecture was not detected as supported by protobuf
^
In file included
from ../../src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
../../src/google/protobuf/stubs/atomicops.h:161:1: error: stray '#' in
program
#error "Atomic operations are not supported on your platform"
^
../../src/google/protobuf/stubs/atomicops.h:188:1: note: in expansion of
macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
GOOGLE_PROTOBUF_ATOMICOPS_ERROR
^
../../src/google/protobuf/stubs/atomicops.h:161:2: error: 'error' does not
name a type
#error "Atomic operations are not supported on your platform"
^
../../src/google/protobuf/stubs/atomicops.h:188:1: note: in expansion of
macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
GOOGLE_PROTOBUF_ATOMICOPS_ERROR
^
make[2]: *** [atomicops_internals_x86_gcc.lo] Error 1
make[2]: Leaving directory
`/export/home/renbin/toolbuild/protobuf-2.5.0/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/renbin/toolbuild/protobuf-2.5.0/build'
make: *** [all] Error 2
What version of the product are you using? On what operating system?
protobuf-2.5.0 sparc-sun-solaris2.10
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
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 http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.