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

[FreeBSD] Link failure in libmariadb / OpenSSL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.3
    • 10.2.6
    • None
    • FreeBSD build.brnrd.eu 11.0-RELEASE-p3 FreeBSD 11.0-RELEASE-p3 #0 r308890: Sun Nov 20 20:27:48 CET 2016 build@build.brnrd.eu:/usr/obj/usr/src/sys/BEASTIE110 amd64

    Description

      Linking fails due to fast mutexes having been removed?

      [ 73%] Linking C executable t_conc173
      cd /usr/ports/databases/mariadb102-client/work/mariadb-10.2.3/libmariadb/unittest/libmariadb && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/t_conc173.dir/link.txt --verbose=1
      /usr/bin/cc  -O2 -fno-strict-aliasing -pipe -march=native  -fstack-protector -O2 -fno-strict-aliasing -pipe -march=native  -fstack-protector -DDBUG_OFF -DDBUG_OFF    -fstack-protector CMakeFiles/t_conc173.dir/t_conc173.c.o  -o t_conc173  -pthread ../mytap/libcctap.a libma_getopt.a ../../libmariadb/libmariadbclient.a -pthread -lz -lpthread -lm /usr/local/lib/libiconv.a -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic
      ../../libmariadb/libmariadbclient.a(openssl.c.o): In function `ma_tls_start':
      /usr/ports/databases/mariadb102-client/work/mariadb-10.2.3/libmariadb/libmariadb/secure/openssl.c:(.text+0x32): undefined reference to `my_fast_mutexattr'
      cc: error: linker command failed with exit code 1 (use -v to see invocation)
      *** Error code 1
       
      Stop.
      make[4]: stopped in /usr/ports/databases/mariadb102-client/work/mariadb-10.2.3
      *** Error code 1
       
      Stop.
      make[3]: stopped in /usr/ports/databases/mariadb102-client/work/mariadb-10.2.3
      *** Error code 1
       
      Stop.
      make[2]: stopped in /usr/ports/databases/mariadb102-client/work/mariadb-10.2.3
      *** Error code 1
       
      Stop.
      make[1]: stopped in /usr/ports/databases/mariadb102-client
      *** Error code 1
       
      Stop.
      

      I've not been able to come up with a fix yet.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              spil Bernard Spil
              Votes:
              1 Vote for this issue
              Watchers:
              3 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.