Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-514

undefined reference to `bson_atomic_int64_add' (mongo-c-driver-1.1.0) in armv7l

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.5
    • Affects Version/s: None
    • Component/s: Build, libbson
    • Labels:
      None

      (ported from github)

      Compile with:

      Linux 3.4.75+ #6 PREEMPT Wed Mar 19 13:53:29 EET 2014 armv7l GNU/Linux

      $ gcc --versiongcc (Debian 4.6.3-14) 4.6.3
      Copyright (C) 2011 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

      ../mongoDB_C_Driver/mongo-c-driver-1.1.0
      $ ./configure
      This is an unstable version of libmongoc.
      It is for test purposes only.

       Please, DO NOT use it in a production environment.
       It will probably crash and you will lose your data.
      
       Additionally, the API/ABI may change during the course
       of development.
      
       Thanks,
      
         The libmongoc team.
      
       *** END OF WARNING ***
      
      
      libmongoc was configured with the following options:
      
      Build configuration:
        Enable debugging (slow)                          : no
        Compile with debug symbols (slow)                : no
        Enable GCC build optimization                    : yes
        Enable automatic binary hardening                : yes
        Code coverage support                            : no
        Cross Compiling                                  : no
        Fast counters                                    : no
        SASL                                             : no
        SSL                                              : yes
        Libbson                                          : system
      
      Documentation:
        man                                              : no
        HTML                                             : no
      

      $ make

      CC src/mongoc/libmongoc_1_0_la-mongoc-scram.lo
      CC src/mongoc/libmongoc_1_0_la-mongoc-stream-tls.lo
      CC src/mongoc/libmongoc_1_0_la-mongoc-ssl.lo
      CCLD libmongoc-1.0.la
      CC src/tools/mongoc_stat-mongoc-stat.o
      src/tools/mongoc-stat.c: In function âmongoc_counters_print_infoâ:
      src/tools/mongoc-stat.c:184:15: warning: cast increases required alignment of target type [-Wcast-align]
      CCLD mongoc-stat
      CC tests/test_load-test-load.o
      CC tests/test_load-mongoc-tests.o
      CCLD test-load
      ./.libs/libmongoc-priv.so: undefined reference to bson_atomic_int64_add' collect2: ld returned 1 exit status make[1]: *** [test-load] Error 1 make[1]: Leaving directory/home/prjsprod/install/mongoDB_C_Driver/mongo-c-driver-1.1.0'
      make: *** [all-recursive] Error 1
      

      My best regards to all the menbers mongo-c-driver.

            Assignee:
            Unassigned Unassigned
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: