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

MariaDB 10.1.19 fails to build at lf_alloc-pin.c.i on powerpc

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.1.19
    • N/A
    • Compiling
    • Linux 4.8.0-1-powerpc (Debian stretch/sid)
      Mac G4

    Description

      # # cmake . -DBUILD_CONFIG=mysql_release
      # make
       
      [ 10%] Building C object mysys/CMakeFiles/mysys.dir/lf_alloc-pin.c.o
      cd /home/mariadb-10.1.19/mysys && /usr/bin/cc  -DHAVE_CONFIG_H -I/home/mariadb-10.1.19/include -I/home/mariadb-10.1.19/mysys  -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing  -Wno-uninitialized -D_FORTIFY_SOURCE=2 -DDBUG_OFF   -fPIC -o CMakeFiles/mysys.dir/lf_alloc-pin.c.o   -c /home/mariadb-10.1.19/mysys/lf_alloc-pin.c
      In file included from /home/mariadb-10.1.19/include/lf.h:19:0,
                       from /home/mariadb-10.1.19/mysys/lf_alloc-pin.c:104:
      /home/mariadb-10.1.19/include/my_atomic.h:121:2: error: #error atomic ops for this platform are not implemented
       #error atomic ops for this platform are not implemented
        ^~~~~
      /home/mariadb-10.1.19/include/my_atomic.h: In function ‘my_atomic_cas32’:
      /home/mariadb-10.1.19/include/my_atomic.h:209:3: warning: implicit declaration of function ‘make_atomic_cas_body’ [-Wimplicit-function-declaration]
         make_atomic_cas_body(S);                                      \
         ^
      /home/mariadb-10.1.19/include/my_atomic.h:248:1: note: in expansion of macro ‘make_atomic_cas’
       make_atomic_cas(32)
       ^~~~~~~~~~~~~~~
      /home/mariadb-10.1.19/include/my_atomic.h: In function ‘my_atomic_casptr’:
      /home/mariadb-10.1.19/include/my_atomic.h:250:17: error: ‘ptr’ undeclared (first use in this function)
       make_atomic_cas(ptr)
                       ^
      /home/mariadb-10.1.19/include/my_atomic.h:209:24: note: in definition of macro ‘make_atomic_cas’
         make_atomic_cas_body(S);                                      \
                              ^
      /home/mariadb-10.1.19/include/my_atomic.h:250:17: note: each undeclared identifier is reported only once for each function it appears in
       make_atomic_cas(ptr)
                       ^
      /home/mariadb-10.1.19/include/my_atomic.h:209:24: note: in definition of macro ‘make_atomic_cas’
         make_atomic_cas_body(S);                                      \
                              ^
      mysys/CMakeFiles/mysys.dir/build.make:2198: recipe for target 'mysys/CMakeFiles/mysys.dir/lf_alloc-pin.c.o' failed
      make[2]: *** [mysys/CMakeFiles/mysys.dir/lf_alloc-pin.c.o] Error 1
      make[2]: Leaving directory '/home/mariadb-10.1.19'
      CMakeFiles/Makefile2:7447: recipe for target 'mysys/CMakeFiles/mysys.dir/all' failed
      make[1]: *** [mysys/CMakeFiles/mysys.dir/all] Error 2
      make[1]: Leaving directory '/home/mariadb-10.1.19'
      Makefile:160: recipe for target 'all' failed
      make: *** [all] Error 2
      

      Attachments

        Issue Links

          Activity

            People

              svoj Sergey Vojtovich
              schojo schojo
              Votes:
              0 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.