Comment #7 on issue 488 by [email protected]: powerpc-linux cross compilation not compiling anymore
http://code.google.com/p/protobuf/issues/detail?id=488

After apply 2 patches return following:
0001-Add-generic-GCC-support-for-atomic-operations.patch
0001-Add-generic-gcc-header-to-Makefile.am.patch


hadoop@bigdata5:~/protobuf-2.5.0> make
 cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
make  all-recursive
make[1]: Entering directory `/home/hadoop/protobuf-2.5.0'
Making all in .
make[2]: Entering directory `/home/hadoop/protobuf-2.5.0'
make[2]: Leaving directory `/home/hadoop/protobuf-2.5.0'
Making all in src
make[2]: Entering directory `/home/hadoop/protobuf-2.5.0/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -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 './'`google/protobuf/stubs/atomicops_internals_x86_gcc.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -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 google/protobuf/stubs/atomicops_internals_x86_gcc.cc -fPIC -DPIC -o .libs/atomicops_internals_x86_gcc.o
In file included from ./google/protobuf/stubs/atomicops.h:188,
from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36: ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::NoBarrier_CompareAndSwap(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:12: error: '__ATOMIC_RELAXED' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:12: error: '__atomic_compare_exchange_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::NoBarrier_AtomicExchange(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:18: error: '__ATOMIC_RELAXED' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:18: error: '__atomic_exchange_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::NoBarrier_AtomicIncrement(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:23: error: '__ATOMIC_RELAXED' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:23: error: '__atomic_add_fetch' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::Barrier_AtomicIncrement(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:28: error: '__ATOMIC_SEQ_CST' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:28: error: '__atomic_add_fetch' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::Acquire_CompareAndSwap(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:35: error: '__ATOMIC_ACQUIRE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:35: error: '__atomic_compare_exchange' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::Release_CompareAndSwap(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:43: error: '__ATOMIC_RELEASE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:43: error: '__ATOMIC_ACQUIRE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:43: error: '__atomic_compare_exchange_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'void google::protobuf::internal::NoBarrier_Store(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:48: error: '__ATOMIC_RELAXED' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:48: error: '__atomic_store_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'void google::protobuf::internal::Acquire_Store(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:56: error: '__ATOMIC_ACQUIRE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:56: error: '__atomic_store_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'void google::protobuf::internal::Release_Store(volatile google::protobuf::internal::Atomic32*, google::protobuf::internal::Atomic32)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:60: error: '__ATOMIC_RELEASE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:60: error: '__atomic_store_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::NoBarrier_Load(const volatile google::protobuf::internal::Atomic32*)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:64: error: '__ATOMIC_RELAXED' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:64: error: '__atomic_load_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::Acquire_Load(const volatile google::protobuf::internal::Atomic32*)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:68: error: '__ATOMIC_ACQUIRE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:68: error: '__atomic_load_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic32 google::protobuf::internal::Release_Load(const volatile google::protobuf::internal::Atomic32*)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:72: error: '__ATOMIC_RELEASE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:72: error: '__atomic_load_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'void google::protobuf::internal::Release_Store(volatile google::protobuf::internal::Atomic64*, google::protobuf::internal::Atomic64)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:78: error: '__ATOMIC_RELEASE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:78: error: '__atomic_store_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic64 google::protobuf::internal::Acquire_Load(const volatile google::protobuf::internal::Atomic64*)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:82: error: '__ATOMIC_ACQUIRE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:82: error: '__atomic_load_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic64 google::protobuf::internal::Acquire_CompareAndSwap(volatile google::protobuf::internal::Atomic64*, google::protobuf::internal::Atomic64, google::protobuf::internal::Atomic64)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:89: error: '__ATOMIC_ACQUIRE' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:89: error: '__atomic_compare_exchange_n' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h: In function 'google::protobuf::internal::Atomic64 google::protobuf::internal::NoBarrier_CompareAndSwap(volatile google::protobuf::internal::Atomic64*, google::protobuf::internal::Atomic64, google::protobuf::internal::Atomic64)': ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:97: error: '__ATOMIC_RELAXED' was not declared in this scope ./google/protobuf/stubs/atomicops_internals_generic_gcc.h:97: error: '__atomic_compare_exchange_n' was not declared in this scope
make[2]: *** [atomicops_internals_x86_gcc.lo] Error 1
make[2]: Leaving directory `/home/hadoop/protobuf-2.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hadoop/protobuf-2.5.0'
make: *** [all] Error 2


--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to