Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.3
    • Compiling
    • 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

          Assigned to wlad because he's already been involved on Slack.

          elenst Elena Stepanova added a comment - Assigned to wlad because he's already been involved on Slack.

          This has been reported for 10.1.37 in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920855
          Should this commit maybe be backported to 10.1 as well? Now it only seems to be on 10.2 and newer.

          This patch by cvicentiu also seems to tackle a similar build issue, are they different fixes for the same problem?
          https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/stretch/debian/patches/mips-compilation-failure-__bss_start-symbol-miss.patch

          otto Otto Kekäläinen added a comment - This has been reported for 10.1.37 in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920855 Should this commit maybe be backported to 10.1 as well? Now it only seems to be on 10.2 and newer. This patch by cvicentiu also seems to tackle a similar build issue, are they different fixes for the same problem? https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/stretch/debian/patches/mips-compilation-failure-__bss_start-symbol-miss.patch
          wlad Vladislav Vaintroub added a comment - - edited

          it is not fixed in 10.1 , but from 10.2 on. I suggest to downport my fix.
          That __bss_start exists, but not when linked with systemd, is puzzling . Next time it might cease to exist when linked with openssl, zlib, or whatever

          wlad Vladislav Vaintroub added a comment - - edited it is not fixed in 10.1 , but from 10.2 on. I suggest to downport my fix. That __bss_start exists, but not when linked with systemd, is puzzling . Next time it might cease to exist when linked with openssl, zlib, or whatever

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.