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

TokuDB doesn't compile on Debian GNU/kFreeBSD

Details

    Description

      This is similar to MDEV-10983, a compilation fails with:

      /«PKGBUILDDIR»/storage/tokudb/PerconaFT/portability/portability.cc:119:3: error: #error "no implementation of gettid available"
       # error "no implementation of gettid available"
         ^~~~~
      

      A full build log can be found here: https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.1&arch=kfreebsd-amd64&ver=10.1.22-1&stamp=1490002865&raw=0

      Attachments

        Issue Links

          Activity

            JFTR the kFreeBSD has GLIBC (so _GLIBC_ is defined), but it has FreeBSD kernel, so not all syscalls are available.

            The platform can be detected with _FreeBSD_kernel_ macro. Usually you would use:

            #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
             #do FreeBSD stuff
            #endif
            

            oerdnj Ondřej Surý (Inactive) added a comment - JFTR the kFreeBSD has GLIBC (so _ GLIBC _ is defined), but it has FreeBSD kernel, so not all syscalls are available. The platform can be detected with _ FreeBSD_kernel _ macro. Usually you would use: #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #do FreeBSD stuff #endif

            People

              cvicentiu Vicențiu Ciorbaru
              oerdnj Ondřej Surý (Inactive)
              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.