[MDEV-8400] Build on AIX w/IBMs C compiler xtradb c++ build issues Created: 2015-06-30  Updated: 2015-07-22  Resolved: 2015-07-22

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - XtraDB
Affects Version/s: 10.0.17-galera
Fix Version/s: 10.0.20

Type: Bug Priority: Minor
Reporter: Pete Lancashire Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

OS AIX 7100-03-05-1524
xlc 12.1.03
OBJECT MODE 64
CC xlc
CFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O5 -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


Attachments: File set.out    

 Description   

[ 40%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/dict/dict0mem.cc.o
"/home/buildsw/packages/mariadb/storage/xtradb/dict/dict0mem.cc", line 747.53: 1540-0294 (S) An object or reference of type "std::set<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *> >::iterator" cannot be initialized with an rvalue of type "std::_Tree<std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,0> >::const_iterator".
storage/xtradb/CMakeFiles/xtradb.dir/build.make:542: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/dict/dict0mem.cc.o' failed



 Comments   
Comment by Jan Lindström (Inactive) [ 2015-07-21 ]

Does this happen also with more recent version of MariaDB e.g. 10.0.20 ?

Comment by Pete Lancashire [ 2015-07-21 ]

This one seems to fixed, xtradb now fails at

[ 43%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o
"/home/buildsw/packages/MARIADB/mariadb-10.0.20/storage/xtradb/log/log0log.cc", line 259.53: 1540-0216 (S) An expression of type "char *" cannot be converted to type "unsigned char *".
storage/xtradb/CMakeFiles/xtradb.dir/build.make:1262: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o' failed

I'll open a new ticket

Comment by Jan Lindström (Inactive) [ 2015-07-21 ]

In /home/buildsw/packages/MARIADB/mariadb-10.0.20/storage/xtradb/log/log0log.cc", line 259.53: 1540-0216 (S) An expression of type "char " cannot be converted to type "unsigned char *"., problem is that on that line I see byte tmp_buf = static_cast<byte *>(alloca(OS_FILE_LOG_BLOCK_SIZE)); that looks correct. Can you provide me what is at the line where you get the error and all other errors.

Comment by Jan Lindström (Inactive) [ 2015-07-22 ]

Original issue already fixed and new MDEV opened for new one.

Generated at Thu Feb 08 07:26:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.