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

Undefined symbol "__rdseed64_step" while building 10.6 on macOS

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6.8
    • 10.6
    • Compiling, SSL
    • None
    • macOS 10.13.6 (High Sierra) with Xcode 9.4.1

    Description

      I get the following linking error while trying to build current MariaDB Server 10.6 from GitHub on macOS High Sierra:

      Yuliyas-MacBook-Air:buildtmp Valerii$ cmake .. -DCMAKE_INSTALL_PREFIX=/Users/Valerii/dbs/maria10.6 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_DTRACE=1
      ...
      Yuliyas-MacBook-Air:buildtmp Valerii$ time make
      ...
      [ 15%] Linking CXX static library libmysys_ssl.a
      [ 15%] Built target mysys_ssl
      [ 15%] Building C object unittest/mysys/CMakeFiles/aes-t.dir/aes-t.c.o
      [ 15%] Linking CXX executable aes-t
      Undefined symbols for architecture x86_64:
        "__rdseed64_step", referenced from:
            _IntelRDseed64 in libwolfcrypt.a(random.c.o)
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[2]: *** [unittest/mysys/aes-t] Error 1
      make[1]: *** [unittest/mysys/CMakeFiles/aes-t.dir/all] Error 2
      make: *** [all] Error 2
       
      real	2m13.229s
      user	1m41.005s
      sys	0m21.225s
      

      Attachments

        Activity

          People

            shulga Dmitry Shulga
            valerii Valerii Kravchuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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