Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14619

Cannot build on armv6l architecture (raspberry pi)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Try to build v2.7.3 from the sources

      Show
      Try to build v2.7.3 from the sources

      Description

      It seems that v8, that is shipped with mongodb cannot be build on arm architecture. Here is the output of "scons core" command:

      scons: Reading SConscript files ...
      Mkdir(".scons/Linux/nohost")
      scons version: 2.1.0
      python version: 2 7 3 'final' 0
      Checking whether the C++ compiler worksyes
      Checking whether the C compiler worksyes
      Checking if C++ compiler "g++" is GCC... yes
      Checking if C compiler "gcc" is GCC... yes
      Checking if target architecture is 32-bit x86...no
      Checking if C compiler supports -Wno-unused-local-typedefs... no
      Checking if C compiler supports -Wno-unused-function... yes
      Checking if C compiler supports -Wno-unused-private-field... no
      Checking if C compiler supports -Wno-deprecated-declarations... yes
      Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
      Checking if C compiler supports -Wno-unused-const-variable... no
      Checking if we are using libstdc++... yes
      Checking for libstdc++ 4.6.0 or better... yes
      Checking if C++ compiler supports -std=c++11... no
      Checking if C++ compiler supports -std=c++0x... yes
      Checking if __cplusplus >= 201103L to auto-enable C++11... no
      Checking if we are on a POSIX system... yes
      Checking if the POSIX monotonic clock is supported... yes
      Checking if C compiler supports -fno-builtin-memcmp... yes
      Checking for __thread... yes
      Checking for gcc __atomic builtins... no
      Checking for useable __sync builtins... yes
      Checking for C library rt... yes
      Checking for C library dl... yes
      Checking for C++ header file execinfo.h... yes
      Checking whether backtrace is declared... yes
      Checking whether backtrace_symbols is declared... yes
      Checking whether backtrace_symbols_fd is declared... yes
      Checking for C library pcap... no
      Checking for C library wpcap... no
      AssertionError: Unsupported architecture: armv6l:
        File "/home/webadmin/mongo/mongo-r2.7.3/SConstruct", line 1989:
          env.SConscript('src/SConscript', variant_dir='$BUILD_DIR', duplicate=False)
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
          exec _file_ in call_stack[-1].globals
        File "/home/webadmin/mongo/mongo-r2.7.3/src/SConscript", line 10:
          module_sconscripts)
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
          return method(*args, **kw)
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
          exec _file_ in call_stack[-1].globals
        File "/home/webadmin/mongo/mongo-r2.7.3/src/third_party/SConscript", line 61:
          env.SConscript('v8' + v8suffix + '/SConscript')
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
          exec _file_ in call_stack[-1].globals
        File "/home/webadmin/mongo/mongo-r2.7.3/src/third_party/v8/SConscript", line 344:
          options = get_options()
        File "/home/webadmin/mongo/mongo-r2.7.3/src/third_party/v8/SConscript", line 296:
          assert False, "Unsupported architecture: " + processor

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: