Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.1.6
-
None
-
oslevel -s 7100-03-05-1524
xlc version 12.1.0.3
PATH /usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/buildsw/bin:/usr/bin/X11:/sbin:.:/usr/vac/bin:/usr/vacpp/bin
Environment Vars
OBJECT_MODE 64
CC xlc
CFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I/usr/local/include
LDFLAGS -L/usr/local/lib64 -L/usr/local/lib -bmaxdata:0x80000000 -brtl
CXX xlc++_r
CXXFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O5 -I/usr/local/include
oslevel -s 7100-03-05-1524 xlc version 12.1.0.3 PATH /usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/buildsw/bin:/usr/bin/X11:/sbin:.:/usr/vac/bin:/usr/vacpp/bin Environment Vars OBJECT_MODE 64 CC xlc CFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I/usr/local/include LDFLAGS -L/usr/local/lib64 -L/usr/local/lib -bmaxdata:0x80000000 -brtl CXX xlc++_r CXXFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O5 -I/usr/local/include
Description
Change optimization from O5 to O2 to see if could get past some errors but got this one
[ 16%] Building C object mysys/CMakeFiles/mysys.dir/lf_alloc-pin.c.o
|
"/home/buildsw/packages/mariadb-server-10.1.6/include/my_atomic.h", line 121.2: 1506-205 (S) #error atomic ops for this platform are not implemented
|
"/home/buildsw/packages/mariadb-server-10.1.6/include/my_atomic.h", line 250.17: 1506-045 (S) Undeclared identifier ptr.
|
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
|
Found this in the cmake
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS
|
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS - Success
|
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS_BYTE
|
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS_BYTE - Failed
|
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS_64
|
-- Performing Test HAVE_IB_GCC_ATOMIC_BUILTINS_64 - Success
|
-- Performing Test HAVE_IB_GCC_SYNC_SYNCHRONISE
|
-- Performing Test HAVE_IB_GCC_SYNC_SYNCHRONISE - Success
|
-- Performing Test HAVE_IB_GCC_ATOMIC_THREAD_FENCE
|
-- Performing Test HAVE_IB_GCC_ATOMIC_THREAD_FENCE - Failed
|
-- Performing Test HAVE_IB_ATOMIC_PTHREAD_T_GCC
|
-- Performing Test HAVE_IB_ATOMIC_PTHREAD_T_GCC - Success
|
-- Performing Test HAVE_C99_INITIALIZERS
|
-- Performing Test HAVE_C99_INITIALIZERS - Success
|
-- Looking for asprintf
|
It looks like the tests for gcc are wrong, should not even be trying gcc since the compiler is xlc_r
I have attached the output of the cmake pass
Attachments
Issue Links
- relates to
-
MDEV-7437 remove suport for "atomics" with rwlocks
- Closed
-
MDEV-11212 Clean-up MariaDB atomic operations
- Closed