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

Raspbian compilation failed on atomic ops

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 10.1.4
    • N/A
    • Compiling
    • None
    • ARM Raspbian Linux

    Description

      I've try with additional flags

      -DWITH_ATOMIC_OPS=up
      -DWITH_ATOMIC_OPS=smp

      In file included from /root/mariadb-10.1.4/include/lf.h:19:0,
                       from /root/mariadb-10.1.4/mysys/lf_alloc-pin.c:104:
      /root/mariadb-10.1.4/include/my_atomic.h:121:2: error: #error atomic ops for this platform are not implemented
      /root/mariadb-10.1.4/include/my_atomic.h: In function ‘my_atomic_casptr’:
      /root/mariadb-10.1.4/include/my_atomic.h:250:1: error: ‘ptr’ undeclared (first use in this function)
      /root/mariadb-10.1.4/include/my_atomic.h:250:1: note: each undeclared identifier is reported only once for each function it appears in
      mysys/CMakeFiles/mysys.dir/build.make:2101: recipe for target 'mysys/CMakeFiles/mysys.dir/lf_alloc-pin.c.o' failed

      glibc:
      (Debian EGLIBC 2.13-38+rpi2+deb7u7) 2.13

      cpu:
      model name : ARMv7 Processor rev 5 (v7l)

      version:
      Linux version 3.18.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015

      10.0 code based does not look affected

      Attachments

        Activity

          People

            serg Sergei Golubchik
            stephane@skysql.com VAROQUI Stephane
            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.