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

link failure extra/mariabackup/mbstream

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.2.9
    • N/A
    • Backup, Compiling
    • None
    • FreeBSD 11.1-RELEASE-p1 amd64
      cmake version 3.9.2
      FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)

    Description

      If I enable all storage engines, I get a linker failure when linking `extra/mariabackup/mbstream`.
      Output attached.

      Linking succeeds when I add `mysys/CMakeFiles/mysys.dir/my_rdtsc.c.o` to the linker command

      "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o extra/mariabackup/mbstream /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib extra/mariabackup/CMakeFiles/mbstream.dir/ds_buffer.c.o extra/mariabackup/CMakeFiles/mbstream.dir/ds_local.c.o extra/mariabackup/CMakeFiles/mbstream.dir/ds_stdout.c.o extra/mariabackup/CMakeFiles/mbstream.dir/datasink.c.o extra/mariabackup/CMakeFiles/mbstream.dir/xbstream.c.o extra/mariabackup/CMakeFiles/mbstream.dir/xbstream_read.c.o extra/mariabackup/CMakeFiles/mbstream.dir/xbstream_write.c.o -rpath :::::::::::::: storage/innobase/libinnobase.a mysys/libmysys.a extra/mariabackup/crc/libcrc.a dbug/libdbug.a mysys_ssl/libmysys_ssl.a mysys/libmysys.a mysys/CMakeFiles/mysys.dir/my_rdtsc.c.o dbug/libdbug.a mysys_ssl/libmysys_ssl.a -lm -lexecinfo strings/libstrings.a -lssl -lcrypto  -lz /usr/local/lib/liblz4.so /usr/local/lib/liblzo2.so -llzma -lbz2 /usr/local/lib/libsnappy.so -lc++ -lm -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed
      

      Attachments

        Activity

          People

            anikitin Andrii Nikitin (Inactive)
            spil Bernard Spil
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.