[MDEV-8255] Raspbian compilation failed on atomic ops Created: 2015-06-01 Updated: 2015-07-16 Resolved: 2015-07-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.1.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
ARM Raspbian Linux |
||
| Description |
|
I've try with additional flags -DWITH_ATOMIC_OPS=up
glibc: cpu: version: 10.0 code based does not look affected |
| Comments |
| Comment by Sergei Golubchik [ 2015-06-17 ] |
|
what gcc version was it? |
| Comment by VAROQUI Stephane [ 2015-06-19 ] |
|
gcc (Debian 4.6.3-14+rpi1) 4.6.3 |
| Comment by Sergei Golubchik [ 2015-07-16 ] |
|
It seems that you need at least gcc 4.8 to use atomics (in particular 64-bit compare-and-swap) on ARM. See gcc wiki https://gcc.gnu.org/wiki/Atomic |
| Comment by VAROQUI Stephane [ 2015-07-16 ] |
|
Thanks for the info |