Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-10943

10.2 fails to build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.2.3
    • Component/s: Compiling
    • Labels:
      None

      Description

      cmake -DCMAKE_BUILD_TYPE=Debug  && make -j 7
      ...
       
      [ 73%] Building CXX object client/CMakeFiles/mysqlbinlog.dir/mysqlbinlog.cc.o
      /usr/bin/ld: ../mysys/libmysys.a(stacktrace.c.o): undefined reference to symbol '__bss_start'
      //usr/lib/x86_64-linux-gnu/libgmp.so.10: error adding symbols: DSO missing from command line
      collect2: error: ld returned 1 exit status
      client/CMakeFiles/mysqltest.dir/build.make:109: recipe for target 'client/mysqltest' failed
      make[2]: *** [client/mysqltest] Error 1
      CMakeFiles/Makefile2:11362: recipe for target 'client/CMakeFiles/mysqltest.dir/all' failed
      make[1]: *** [client/CMakeFiles/mysqltest.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

      the same was with innodb (and building with embedded)

      It is the last ubuntu and 10.2.

      cmake -DCMAKE_BUILD_TYPE=Debug -DHAVE_BSS_START=0
      makes building possible.

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            sanja Oleksandr Byelkin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: