Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MySQL5.7 Native atomics support not found!

Featured Replies

Did someone try to compile latest mysql 5.7 on cubietruck?

I've got this error:

In file included from /mnt/data/tmp/mysql-5.7.10/include/lf.h:20:0,
                 from /mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c:98:
/mnt/data/tmp/mysql-5.7.10/include/my_atomic.h:62:4: error: #error Native atomics support not found!
 #  error Native atomics support not found!
    ^
In file included from /mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c:98:0:
/mnt/data/tmp/mysql-5.7.10/include/lf.h: In function ‘lf_pin’:
/mnt/data/tmp/mysql-5.7.10/include/lf.h:97:3: warning: implicit declaration of function ‘my_atomic_storeptr’ [-Wimplicit-function-declaration]
   my_atomic_storeptr(&pins->pin[pin], addr);
   ^
/mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c: In function ‘lf_pinbox_get_pins’:
/mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c:156:7: warning: implicit declaration of function ‘my_atomic_add32’ [-Wimplicit-function-declaration]
       pins= my_atomic_add32((int32 volatile*) &pinbox->pins_in_array, 1)+1;
       ^
/mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c:170:3: warning: implicit declaration of function ‘my_atomic_cas32’ [-Wimplicit-function-declaration]
   } while (!my_atomic_cas32((int32 volatile*) &pinbox->pinstack_top_ver,
   ^
/mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c: In function ‘alloc_free’:
/mnt/data/tmp/mysql-5.7.10/mysys/lf_alloc-pin.c:359:3: warning: implicit declaration of function ‘my_atomic_casptr’ [-Wimplicit-function-declaration]
   } while (!my_atomic_casptr((void **)(char *)&allocator->top,
   ^
mysys/CMakeFiles/mysys.dir/build.make:1871: 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
CMakeFiles/Makefile2:4300: recipe for target 'mysys/CMakeFiles/mysys.dir/all' failed
make[1]: *** [mysys/CMakeFiles/mysys.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

In the thread on stackoverflow said that I should use gcc >= 4.8 but I've already use 4.9.2.
Could you give me some advice?

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.