Sorry for the late reply, I was out for a few days. Seems like the issue has been identified. PPC is only supported in the google stream as of V8 4.3 and later. And to echo earlier comments we are interested in hearing about issues in that version and later.
There is also our incubator repo from which you can build 3.28 and 3.14 for PPC https://github.com/andrewlow/v8ppc branches 3.14-ppc and 3.28-ppc If you have issues with those you can raise issues in the issue tracker for the v8ppc repo. On Monday, May 18, 2015 at 1:59:21 AM UTC-4, [email protected] wrote: > > Status: Untriaged > Owner: ---- > > New issue 4123 by [email protected]: MongoDB version 3.0 build on > RHEL > PPC64LE results in errors shown by V8 > https://code.google.com/p/v8/issues/detail?id=4123 > > Version: 3.12.19.11 > OS: Red Hat Enterprise Linux > Architecture: PPC64LE > > What steps will reproduce the problem? > 1. Git clone MongoDB version 3.0 source from github > 2. Download dependencies SCONS, V8-DEVEL, etc > 3. Execute the following on command line (scons mongod --allocator=system) > > What is the expected output? > MongoDB version 3.0 should build successfully on ppc64le > > What do you see instead? > > g++ -o > build/PowerPC/allocator_system/third_party/snappy-1.1.2/snappy-sinksource.o > > -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC > -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare > -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs > > -Wno-unused-function -Wno-deprecated-declarations > -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp > -Wno-sign-compare -Wno-unused-function -DPCRE_STATIC > -Isrc/third_party/snappy-1.1.2 -Ibuild/PowerPC/allocator_system -Isrc > src/third_party/snappy-1.1.2/snappy-sinksource.cc > Generating placeholder library > build/PowerPC/allocator_system/third_party/snappy-1.1.2/libsnappy.a > Skipping ranlib for > build/PowerPC/allocator_system/third_party/snappy-1.1.2/libsnappy.a > g++ -o > build/PowerPC/allocator_system/third_party/v8/src/x64/assembler-x64.o -c > -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC > -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas > -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function > -Wno-deprecated-declarations -Wno-unused-but-set-variable > -Wno-missing-braces -fno-builtin-memcmp -ansi -pedantic > -Wno-unused-parameter -DPCRE_STATIC -DV8_TARGET_ARCH_X64 > -DENABLE_DEBUGGER_SUPPORT -Isrc/third_party/v8/src > src/third_party/v8/src/x64/assembler-x64.cc > In file included from src/third_party/v8/src/v8globals.h:31:0, > from src/third_party/v8/src/v8.h:53, > from src/third_party/v8/src/x64/assembler-x64.cc:28: > src/third_party/v8/src/globals.h:90:2: error: #error Host architecture was > > not detected as supported by v8 > #error Host architecture was not detected as supported by v8 > ^ > src/third_party/v8/src/globals.h:116:2: error: #error Target architecture > > x64 is only supported on x64 host > #error Target architecture x64 is only supported on x64 host > ^ > In file included from src/third_party/v8/src/platform.h:81:0, > from src/third_party/v8/src/v8utils.h:32, > from src/third_party/v8/src/v8.h:56, > from src/third_party/v8/src/x64/assembler-x64.cc:28: > src/third_party/v8/src/atomicops.h:164:2: error: #error "Atomic operations > > are not supported on your platform" > #error "Atomic operations are not supported on your platform" > ^ > In file included from src/third_party/v8/src/lazy-instance.h:94:0, > from src/third_party/v8/src/platform.h:82, > from src/third_party/v8/src/v8utils.h:32, > from src/third_party/v8/src/v8.h:56, > from src/third_party/v8/src/x64/assembler-x64.cc:28: > src/third_party/v8/src/once.h: In function 'void > v8::internal::CallOnce(v8::internal::OnceType*, > v8::internal::NoArgFunction)': > src/third_party/v8/src/once.h:106:24: error: cannot > convert 'v8::internal::OnceType* > {aka long int*}' to 'const volatile Atomic32* {aka const volatile int*}' > for argument '1' to 'v8::internal::Atomic32 > v8::internal::Acquire_Load(const volatile Atomic32*)' > if (Acquire_Load(once) != ONCE_STATE_DONE) { > ^ > src/third_party/v8/src/once.h: In function 'void > v8::internal::CallOnce(v8::internal::OnceType*, typename > v8::internal::OneArgFunction<Arg*>::type, Arg*)': > src/third_party/v8/src/once.h:115:24: error: cannot > convert 'v8::internal::OnceType* {aka long int*} > > ' to 'const volatile Atomic32* > {aka const volatile int*} > > ' for argument '1' to 'v8::internal::Atomic32 > v8::internal::Acquire_Load(const volatile Atomic32*)' > if (Acquire_Load(once) != ONCE_STATE_DONE) { > ^ > In file included from src/third_party/v8/src/incremental-marking.h:32:0, > from src/third_party/v8/src/heap.h:35, > from src/third_party/v8/src/elements.h:33, > from src/third_party/v8/src/objects-inl.h:38, > from src/third_party/v8/src/v8.h:60, > from src/third_party/v8/src/x64/assembler-x64.cc:28: > src/third_party/v8/src/execution.h: At global scope: > src/third_party/v8/src/execution.h:262:74: error: a function call cannot > appear in a constant-expression > static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe); > ^ > src/third_party/v8/src/execution.h:263:72: error: a function call cannot > appear in a constant-expression > static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8); > ^ > In file included from src/third_party/v8/src/isolate.h:44:0, > from src/third_party/v8/src/elements.h:34, > from src/third_party/v8/src/objects-inl.h:38, > from src/third_party/v8/src/v8.h:60, > from src/third_party/v8/src/x64/assembler-x64.cc:28: > src/third_party/v8/src/optimizing-compiler-thread.h: In > constructor > 'v8::internal::OptimizingCompilerThread::OptimizingCompilerThread(v8::internal::Isolate*)': > > > src/third_party/v8/src/optimizing-compiler-thread.h:51:66: error: cannot > convert 'volatile AtomicWord* > {aka volatile long int*} > > ' to 'volatile Atomic32* > {aka volatile int*} > > ' for argument '1' to 'void v8::internal::NoBarrier_Store(volatile > Atomic32*, v8::internal::Atomic32)' > NoBarrier_Store(&stop_thread_, static_cast<AtomicWord>(false)); > ^ > In file included from src/third_party/v8/src/macro-assembler.h:50:0, > from src/third_party/v8/src/x64/assembler-x64.cc:32: > src/third_party/v8/src/x64/assembler-x64.h: In function 'bool > v8::internal::is_uint32(int64_t)': > src/third_party/v8/src/x64/assembler-x64.h:49:60: error: 'V8_UINT64_C' was > > not declared in this scope > static const uint64_t kMaxUInt32 = V8_UINT64_C(0xffffffff); > ^ > src/third_party/v8/src/x64/assembler-x64.h: In function 'bool > v8::internal::is_int32(int64_t)': > src/third_party/v8/src/x64/assembler-x64.h:54:58: error: 'V8_INT64_C' was > > not declared in this scope > static const int64_t kMinInt32 = -V8_INT64_C(0x80000000); > ^ > src/third_party/v8/src/x64/assembler-x64.h: In function 'bool > v8::internal::uint_is_int32(uint64_t)': > src/third_party/v8/src/x64/assembler-x64.h:59:59: error: 'V8_UINT64_C' was > > not declared in this scope > static const uint64_t kMaxInt32 = V8_UINT64_C(0x7fffffff); > ^ > src/third_party/v8/src/x64/assembler-x64.h: In function 'bool > v8::internal::is_uint32(uint64_t)': > src/third_party/v8/src/x64/assembler-x64.h:64:60: error: 'V8_UINT64_C' was > > not declared in this scope > static const uint64_t kMaxUInt32 = V8_UINT64_C(0xffffffff); > ^ > src/third_party/v8/src/x64/assembler-x64.h: In static member > function 'static bool > v8::internal::CpuFeatures::IsSupported(v8::internal::CpuFeature)': > src/third_party/v8/src/x64/assembler-x64.h:462:40: error: 'V8_UINT64_C' > was > not declared in this scope > return (supported_ & (V8_UINT64_C(1) << f)) != 0; > ^ > scons: *** > [build/PowerPC/allocator_system/third_party/v8/src/x64/assembler-x64.o] > Error 1 > scons: building terminated because of errors. > > > > Please use labels and text to provide additional information. > > I am building MongoDB ver 3.0 on PPC64LE/RHEL. I have installed all > dependencies. When I build, most errors are related to V8 and hence I have > > posted my query here. > > > -- > 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 > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
