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

GCC 6.3 compiling issues

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      I'm trying to compile mongodb 3.4.2 with GCC 6.3 for ARM 64bit.
      Linux jessie64 3.14.79+ #1 SMP PREEMPT Tue Feb 7 10:57:43 UTC 2017 aarch64 GNU/Linux

      Compiling build/opt/mongo/base/parse_number_test.o
      In file included from src/mongo/base/parse_number_test.cpp:37:0:
      src/mongo/base/parse_number_test.cpp:295:49: error: exponent has no digits
           ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10);
                                                       ^
      src/mongo/unittest/unittest.h:106:93: note: in definition of macro '_ASSERT_COMPARISON'
           ::mongo::unittest::ComparisonAssertion_##COMPARISON(__FILE__, __LINE__, #a, #b, a, b)) \
                                                                                           ^
      src/mongo/unittest/unittest.h:85:29: note: in expansion of macro 'ASSERT_EQ'
       #define ASSERT_EQUALS(a, b) ASSERT_EQ(a, b)
                                   ^~~~~~~~~
      src/mongo/base/parse_number_test.cpp:44:9: note: in expansion of macro 'ASSERT_EQUALS'
               ASSERT_EQUALS(static_cast<TYPE>(EXPECTED_VALUE), v); \
               ^~~~~~~~~~~~~
      src/mongo/base/parse_number_test.cpp:295:5: note: in expansion of macro 'ASSERT_PARSES'
           ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10);
           ^~~~~~~~~~~~~
      scons: *** [build/opt/mongo/base/parse_number_test.o] Error 1
      scons: building terminated because of errors.
      build/opt/mongo/base/parse_number_test.o failed: Error 1

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            deff0 Victor Lav
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: