"/usr/include/alloca.h", line 34.9: 1540-1401 (I) An unknown "pragma __alloca" is specified.
[ 43%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o
"/usr/local/src/mariadb-10.0.21/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
gmake[2]: *** [storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o] Error 1
CMakeFiles/Makefile2:5184: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/all' failed
gmake[1]: *** [storage/xtradb/CMakeFiles/xtradb.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
gmake: *** [all] Error 2
used CFLAGS/LDFLAGS/cmake options
export CFLAGS="-q64 -qsmp -qmaxmem=-1 -qlanglvl=extended:extc89:extc99 -DNDEBUG -DSYSV -D_AIX -D_AIX64 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 \
-I$APPATH/include -I/opt/freeware/include -L$APPATH/lib -L/opt/freeware/lib64 -L/opt/freeware/lib -bmaxdata:0x80000000 -b64 -blibpath:$APPATH/lib:/usr/lib:/lib -bnoipath -bexpall -lxlsmp"
export CXX="xlC_r"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-L$APPATH/lib -L/opt/freeware/lib64 -L/opt/freeware/lib \
-Wl,-blibpath:$APPATH/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b64 -Wl,-bexpall -Wl,-bnoipath -Wl,-lxlsmp"
cmake . -DCMAKE_INSTALL_PREFIX=$APPATH -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CFLAGS" -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS"
is duplicated by
MDEV-8516
AIX xtradb -> log -> log0log.cc.o
Closed
Chris
created issue -
2015-09-01 17:01
Elena Stepanova
made changes -
2015-09-01 17:05
Field
Original Value
New Value
Fix Version/s
10.0
[ 16000
]
Assignee
Alexander Barkov
[ bar
]
Description
{code}
"/usr/include/alloca.h", line 34.9: 1540-1401 (I) An unknown "pragma __alloca" is specified.
[ 43%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o
"/usr/local/src/mariadb-10.0.21/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
gmake[2]: *** [storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o] Error 1
CMakeFiles/Makefile2:5184: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/all' failed
gmake[1]: *** [storage/xtradb/CMakeFiles/xtradb.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
gmake: *** [all] Error 2
{code}
used CFLAGS/LDFLAGS/cmake options
{code}
export CFLAGS="-q64 -qsmp -qmaxmem=-1 -qlanglvl=extended:extc89:extc99 -DNDEBUG -DSYSV -D_AIX -D_AIX64 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 \
-I$APPATH/include -I/opt/freeware/include -L$APPATH/lib -L/opt/freeware/lib64 -L/opt/freeware/lib -bmaxdata:0x80000000 -b64 -blibpath:$APPATH/lib:/usr/lib:/lib -bnoipath -bexpall -lxlsmp"
export CXX="xlC_r"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-L$APPATH/lib -L/opt/freeware/lib64 -L/opt/freeware/lib \
-Wl,-blibpath:$APPATH/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b64 -Wl,-bexpall -Wl,-bnoipath -Wl,-lxlsmp"
cmake . -DCMAKE_INSTALL_PREFIX=$APPATH -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CFLAGS" -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS"
{code}
{code}
"/usr/include/alloca.h", line 34.9: 1540-1401 (I) An unknown "pragma __alloca" is specified.
[ 43%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o
"/usr/local/src/mariadb-10.0.21/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
gmake[2]: *** [storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o] Error 1
CMakeFiles/Makefile2:5184: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/all' failed
gmake[1]: *** [storage/xtradb/CMakeFiles/xtradb.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
gmake: *** [all] Error 2
{code}
used CFLAGS/LDFLAGS/cmake options
{code}
export CFLAGS="-q64 -qsmp -qmaxmem=-1 -qlanglvl=extended:extc89:extc99 -DNDEBUG -DSYSV -D_AIX -D_AIX64 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 \
-I$APPATH/include -I/opt/freeware/include -L$APPATH/lib -L/opt/freeware/lib64 -L/opt/freeware/lib -bmaxdata:0x80000000 -b64 -blibpath:$APPATH/lib:/usr/lib:/lib -bnoipath -bexpall -lxlsmp"
export CXX="xlC_r"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-L$APPATH/lib -L/opt/freeware/lib64 -L/opt/freeware/lib \
-Wl,-blibpath:$APPATH/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -Wl,-b64 -Wl,-bexpall -Wl,-bnoipath -Wl,-lxlsmp"
cmake . -DCMAKE_INSTALL_PREFIX=$APPATH -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CFLAGS" -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS"
{code}
Alexander Barkov
made changes -
2015-12-15 10:03
Status
Open
[ 1
]
In Progress
[ 3
]
Alexander Barkov
made changes -
2015-12-15 10:03
Fix Version/s
10.0.23
[ 20401
]
Fix Version/s
10.0
[ 16000
]
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:41
Workflow
MariaDB v3
[ 71321
]
MariaDB v4
[ 149545
]
{"report":{"fcp":1659.7999997138977,"ttfb":387.09999990463257,"pageVisibility":"visible","entityId":52921,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"9e706c6d-c1c1-4849-922a-8b27f091f4b4","navigationType":0,"readyForUser":1737.2999997138977,"redirectCount":0,"resourceLoadedEnd":1884.4000000953674,"resourceLoadedStart":393.59999990463257,"resourceTiming":[{"duration":642.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":393.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":393.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1036.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":642.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":393.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":393.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1036.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":657.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":394.09999990463257,"connectEnd":394.09999990463257,"connectStart":394.09999990463257,"domainLookupEnd":394.09999990463257,"domainLookupStart":394.09999990463257,"fetchStart":394.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":394.09999990463257,"responseEnd":1051.2999997138977,"responseStart":1051.2999997138977,"secureConnectionStart":394.09999990463257},{"duration":748.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":394.19999980926514,"connectEnd":394.19999980926514,"connectStart":394.19999980926514,"domainLookupEnd":394.19999980926514,"domainLookupStart":394.19999980926514,"fetchStart":394.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":394.19999980926514,"responseEnd":1142.9000000953674,"responseStart":1142.9000000953674,"secureConnectionStart":394.19999980926514},{"duration":759,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":394.5,"connectEnd":394.5,"connectStart":394.5,"domainLookupEnd":394.5,"domainLookupStart":394.5,"fetchStart":394.5,"redirectEnd":0,"redirectStart":0,"requestStart":394.5,"responseEnd":1153.5,"responseStart":1153.5,"secureConnectionStart":394.5},{"duration":759.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":394.69999980926514,"connectEnd":394.69999980926514,"connectStart":394.69999980926514,"domainLookupEnd":394.69999980926514,"domainLookupStart":394.69999980926514,"fetchStart":394.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":394.69999980926514,"responseEnd":1154.0999999046326,"responseStart":1154.0999999046326,"secureConnectionStart":394.69999980926514},{"duration":760,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":394.7999997138977,"connectEnd":394.7999997138977,"connectStart":394.7999997138977,"domainLookupEnd":394.7999997138977,"domainLookupStart":394.7999997138977,"fetchStart":394.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":394.7999997138977,"responseEnd":1154.7999997138977,"responseStart":1154.7999997138977,"secureConnectionStart":394.7999997138977},{"duration":803.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":395.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":395.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1198.5,"responseStart":0,"secureConnectionStart":0},{"duration":760.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":395.19999980926514,"connectEnd":395.19999980926514,"connectStart":395.19999980926514,"domainLookupEnd":395.19999980926514,"domainLookupStart":395.19999980926514,"fetchStart":395.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":395.19999980926514,"responseEnd":1155.5,"responseStart":1155.5,"secureConnectionStart":395.19999980926514},{"duration":803.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":395.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":395.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1198.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":761,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":395.5,"connectEnd":395.5,"connectStart":395.5,"domainLookupEnd":395.5,"domainLookupStart":395.5,"fetchStart":395.5,"redirectEnd":0,"redirectStart":0,"requestStart":395.5,"responseEnd":1156.5,"responseStart":1156.5,"secureConnectionStart":395.5},{"duration":1486.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":396.40000009536743,"connectEnd":396.40000009536743,"connectStart":396.40000009536743,"domainLookupEnd":396.40000009536743,"domainLookupStart":396.40000009536743,"fetchStart":396.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":396.40000009536743,"responseEnd":1883.0999999046326,"responseStart":1883.0999999046326,"secureConnectionStart":396.40000009536743},{"duration":1487.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":396.5,"connectEnd":396.5,"connectStart":396.5,"domainLookupEnd":396.5,"domainLookupStart":396.5,"fetchStart":396.5,"redirectEnd":0,"redirectStart":0,"requestStart":396.5,"responseEnd":1883.6999998092651,"responseStart":1883.6999998092651,"secureConnectionStart":396.5},{"duration":184.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1220.2999997138977,"connectEnd":1220.2999997138977,"connectStart":1220.2999997138977,"domainLookupEnd":1220.2999997138977,"domainLookupStart":1220.2999997138977,"fetchStart":1220.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1220.2999997138977,"responseEnd":1404.6999998092651,"responseStart":1404.6999998092651,"secureConnectionStart":1220.2999997138977},{"duration":354.6000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1529.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1529.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1884.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":169,"responseStart":387,"responseEnd":390,"domLoading":390,"domInteractive":1919,"domContentLoadedEventStart":1919,"domContentLoadedEventEnd":1970,"domComplete":2919,"loadEventStart":2919,"loadEventEnd":2920,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1889.7999997138977},{"name":"bigPipe.sidebar-id.end","time":1890.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1890.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1894.5},{"name":"activityTabFullyLoaded","time":1989.2999997138977}],"measures":[],"correlationId":"2c4b7781204186","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":159,"dbReadsTimeInMs":19,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
bar, you fixed AIX compilation failures some time ago, maybe you could give it another run.