[MDBF-348] AIX compile failed Created: 2022-02-21  Updated: 2022-11-29  Resolved: 2022-11-29

Status: Closed
Project: MariaDB Foundation Development
Component/s: None
Affects Version/s: N/A
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Vlad Bogolin Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: buildbot
Remaining Estimate: 0d
Time Spent: 2d 5h
Original Estimate: Not Specified

Issue Links:
PartOf
is part of MDBF-41 Milestone 5: Desirable fixes Open
Relates
relates to MDBF-328 fix AIX build Closed

 Description   

The AIX builder fails with the following error:

[ 25%] Building C object mysys/CMakeFiles/mysys.dir/my_setuser.c.o
In file included from /home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc32_ppc64.c:5:
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h: In function '__crc32_vpmsum':
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:209:42: warning: implicit declaration of function '__builtin_crypto_vpmsumw'; did you mean '__builtin_crypto_vpmsum'? [-Wimplicit-function-declaration]
   vdata0 = (__vector unsigned long long) __builtin_crypto_vpmsumw
                                          ^~~~~~~~~~~~~~~~~~~~~~~~
                                          __builtin_crypto_vpmsum
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:210:5: error: AltiVec argument passed to unprototyped function
     ((__vector unsigned int)vdata0, (__vector unsigned int)vconst1);
     ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:218:5: error: AltiVec argument passed to unprototyped function
     ((__vector unsigned int)vdata0, (__vector unsigned int)vconst1);
     ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:273:10: warning: implicit declaration of function '__builtin_crypto_vpmsumd'; did you mean '__builtin_crypto_vpmsum'? [-Wimplicit-function-declaration]
    va0 = __builtin_crypto_vpmsumd ((__vector unsigned long long)vdata0,
          ^~~~~~~~~~~~~~~~~~~~~~~~
          __builtin_crypto_vpmsum
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:274:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:276:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:278:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:280:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:282:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:284:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:286:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:288:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:333:8: error: AltiVec argument passed to unprototyped function
        long)vdata0, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:340:8: error: AltiVec argument passed to unprototyped function
        long)vdata1, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:347:8: error: AltiVec argument passed to unprototyped function
        long)vdata2, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:354:8: error: AltiVec argument passed to unprototyped function
        long)vdata3, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:363:8: error: AltiVec argument passed to unprototyped function
        long)vdata4, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:370:8: error: AltiVec argument passed to unprototyped function
        long)vdata5, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:377:8: error: AltiVec argument passed to unprototyped function
        long)vdata6, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:384:8: error: AltiVec argument passed to unprototyped function
        long)vdata7, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:397:8: error: AltiVec argument passed to unprototyped function
        long)vdata0, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:402:8: error: AltiVec argument passed to unprototyped function
        long)vdata1, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:407:8: error: AltiVec argument passed to unprototyped function
        long)vdata2, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:412:8: error: AltiVec argument passed to unprototyped function
        long)vdata3, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:417:8: error: AltiVec argument passed to unprototyped function
        long)vdata4, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:422:8: error: AltiVec argument passed to unprototyped function
        long)vdata5, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:427:8: error: AltiVec argument passed to unprototyped function
        long)vdata6, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:432:8: error: AltiVec argument passed to unprototyped function
        long)vdata7, (__vector unsigned long long)vconst1);
        ^~~~
[ 26%] Building C object mysys/CMakeFiles/mysys.dir/my_alarm.c.o
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:543:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata0,(__vector unsigned int)v0);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:545:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata1,(__vector unsigned int)v1);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:547:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata2,(__vector unsigned int)v2);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:549:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata3,(__vector unsigned int)v3);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:551:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata4,(__vector unsigned int)v4);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:553:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata5,(__vector unsigned int)v5);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:555:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata6,(__vector unsigned int)v6);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:557:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata7,(__vector unsigned int)v7);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:565:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata0,(__vector unsigned int)va0);
    ^
In file included from /home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc32c_ppc.c:5:
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h: In function '__crc32_vpmsum':
/home/buildbot/aix/build/mariadb-10.6.8//home/bumysys/crildbot/ac32/crc_ix/buildppc64.h:/mariadb209:42: -10.6.8/warning:mysys/cr implicic32/crc_t declarppc64.h:ation of639:4: e functiorror: Aln '__buitiVec arltin_crygument ppto_vpmsassed toumw'; di unprotod you metyped fuan '__bunction
 iltin_cr   (__veypto_vpmctor unssum'? [-igned long long)vconst1)Wimplici;
    ^
t-function-declaration]
   vdata0 = (__vector unsigned long long) __builtin_crypto_vpmsumw
                                          ^~~~~~~~~~~~~~~~~~~~~~~~
                                          __builtin_crypto_vpmsum
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:645:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned long long)vconst2);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:210:5: error: AltiVec argument passed to unprototyped function
     ((__vector unsigned int)vdata0, (__vector unsigned int)vconst1);
     ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:218:5: error: AltiVec argument passed to unprototyped function
     ((__vector unsigned int)vdata0, (__vector unsigned int)vconst1);
     ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:102:71: error: 'vector' undeclared (first use in this function)
 #define __builtin_unpack_vector_0(a) __builtin_unpack_vector_int128 ((vector __int128_t)(a), 0)
                                                                       ^~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:660:11: note: in expansion of macro '__builtin_unpack_vector_0'
  result = __builtin_unpack_vector_0 (v0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:102:71: note: each undeclared identifier is reported only once for each function it appears in
 #define __builtin_unpack_vector_0(a) __builtin_unpack_vector_int128 ((vector __int128_t)(a), 0)
                                                                       ^~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:660:11: note: in expansion of macro '__builtin_unpack_vector_0'
  result = __builtin_unpack_vector_0 (v0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:102:78: error: expected ')' before '__int128_t'
 #define __builtin_unpack_vector_0(a) __builtin_unpack_vector_int128 ((vector __int128_t)(a), 0)
                                                                      ~       ^~~~~~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:660:11: note: in expansion of macro '__builtin_unpack_vector_0'
  result = __builtin_unpack_vector_0 (v0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
[ 26%] Building C object mysys/CMakeFiles/mysys.dir/my_lockmem.c.o
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:273:10: warning: implicit declaration of function '__builtin_crypto_vpmsumd'; did you mean '__builtin_crypto_vpmsum'? [-Wimplicit-function-declaration]
    va0 = __builtin_crypto_vpmsumd ((__vector unsigned long long)vdata0,
          ^~~~~~~~~~~~~~~~~~~~~~~~
          __builtin_crypto_vpmsum
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:274:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:276:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:278:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:280:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:282:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:284:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:286:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:288:7: error: AltiVec argument passed to unprototyped function
       (__vector unsigned long long)vconst1);
       ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:333:8: error: AltiVec argument passed to unprototyped function
        long)vdata0, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:340:8: error: AltiVec argument passed to unprototyped function
        long)vdata1, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:347:8: error: AltiVec argument passed to unprototyped function
        long)vdata2, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:354:8: error: AltiVec argument passed to unprototyped function
        long)vdata3, (__vector unsigned long long)vconst2);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:363:8: error: AltiVec argument passed to unprototyped function
        long)vdata4, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:370:8: error: AltiVec argument passed to unprototyped function
        long)vdata5, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:377:8: error: AltiVec argument passed to unprototyped function
        long)vdata6, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:384:8: error: AltiVec argument passed to unprototyped function
        long)vdata7, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:397:8: error: AltiVec argument passed to unprototyped function
        long)vdata0, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:402:8: error: AltiVec argument passed to unprototyped function
        long)vdata1, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:407:8: error: AltiVec argument passed to unprototyped function
        long)vdata2, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:412:8: error: AltiVec argument passed to unprototyped function
        long)vdata3, (__vector unsigned long long)vconst1);
        ^~~~
make[2]: *** [mysys/CMakeFiles/mysys.dir/build.make:1532: mysys/CMakeFiles/mysys.dir/crc32/crc32_ppc64.c.o] Error 1
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:417:8: error: AltiVec argument passed to unprototyped function
        long)vdata4, (__vector unsigned long long)vconst1);
        ^~~~
make[2]: *** Waiting for unfinished jobs....
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:422:8: error: AltiVec argument passed to unprototyped function
        long)vdata5, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:427:8: error: AltiVec argument passed to unprototyped function
        long)vdata6, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:432:8: error: AltiVec argument passed to unprototyped function
        long)vdata7, (__vector unsigned long long)vconst1);
        ^~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:543:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata0,(__vector unsigned int)v0);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:545:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata1,(__vector unsigned int)v1);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:547:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata2,(__vector unsigned int)v2);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:549:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata3,(__vector unsigned int)v3);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:551:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata4,(__vector unsigned int)v4);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:553:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata5,(__vector unsigned int)v5);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:555:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata6,(__vector unsigned int)v6);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:557:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata7,(__vector unsigned int)v7);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:565:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned int)vdata0,(__vector unsigned int)va0);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:639:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned long long)vconst1);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:645:4: error: AltiVec argument passed to unprototyped function
    (__vector unsigned long long)vconst2);
    ^
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:102:71: error: 'vector' undeclared (first use in this function)
 #define __builtin_unpack_vector_0(a) __builtin_unpack_vector_int128 ((vector __int128_t)(a), 0)
                                                                       ^~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:660:11: note: in expansion of macro '__builtin_unpack_vector_0'
  result = __builtin_unpack_vector_0 (v0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:102:71: note: each undeclared identifier is reported only once for each function it appears in
 #define __builtin_unpack_vector_0(a) __builtin_unpack_vector_int128 ((vector __int128_t)(a), 0)
                                                                       ^~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:660:11: note: in expansion of macro '__builtin_unpack_vector_0'
  result = __builtin_unpack_vector_0 (v0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:102:78: error: expected ')' before '__int128_t'
 #define __builtin_unpack_vector_0(a) __builtin_unpack_vector_int128 ((vector __int128_t)(a), 0)
                                                                      ~       ^~~~~~~~~~
/home/buildbot/aix/build/mariadb-10.6.8/mysys/crc32/crc_ppc64.h:660:11: note: in expansion of macro '__builtin_unpack_vector_0'
  result = __builtin_unpack_vector_0 (v0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [mysys/CMakeFiles/mysys.dir/build.make:1545: mysys/CMakeFiles/mysys.dir/crc32/crc32c_ppc.c.o] Error 1
/home/buildbot/aix/build/mariadb-10.6.8/mysys/my_addr_resolve.c: In function 'my_addr_resolve':
/home/buildbot/aix/build/mariadb-10.6.8/mysys/my_addr_resolve.c:327:16: warning: assignment to 'void *' from 'char' makes pointer from integer without a cast [-Wint-conversion]
     addr_offset= info.dli_fbase;
                ^
make[2]: Leaving directory '/home/buildbot/aix/build/build'
[ 26%] Built target libmariadb
make[2]: Entering directory '/home/buildbot/aix/build/build'
make[2]: Entering directory '/home/buildbot/aix/build/build'
Scanning dependencies of target SYM_libmysqlclient.a
make[2]: Leaving directory '/home/buildbot/aix/build/build'
Scanning dependencies of target SYM_libmysqlclient_r.a
make[2]: Leaving directory '/home/buildbot/aix/build/build'
make[2]: Entering directory '/home/buildbot/aix/build/build'
make[2]: Entering directory '/home/buildbot/aix/build/build'
[ 26%] Generating libmysqlclient_r.a
[ 26%] Generating libmysqlclient.a
make[2]: Leaving directory '/home/buildbot/aix/build/build'
[ 26%] Built target SYM_libmysqlclient_r.a
make[2]: Leaving directory '/home/buildbot/aix/build/build'
[ 26%] Built target SYM_libmysqlclient.a
make[2]: Leaving directory '/home/buildbot/aix/build/build'
make[1]: *** [CMakeFiles/Makefile2:4967: mysys/CMakeFiles/mysys.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 26%] [BISON][gen_mariadb_cc_hh] Building parser with bison 3.5.2
[ 26%] Linking CXX static library libwsrep-lib
make[2]: Leaving directory '/home/buildbot/aix/build/build'
[ 26%] Built target wsrep-lib
Scanning dependencies of target gen_lex_token
make[2]: Leaving directory '/home/buildbot/aix/build/build'
make[2]: Entering directory '/home/buildbot/aix/build/build'
[ 26%] Building CXX object sql/CMakeFiles/gen_lex_token.dir/gen_lex_token.cc.o
[ 26%] Linking CXX executable gen_lex_token
make[2]: Leaving directory '/home/buildbot/aix/build/build'
[ 26%] Built target gen_lex_token
make[1]: Leaving directory '/home/buildbot/aix/build/build'
make: *** [Makefile:152: all] Error 2
program finished with exit code 2
elapsedTime=159.970497



 Comments   
Comment by Vlad Bogolin [ 2022-02-21 ]

danblack since I know that you mainly looked on AIX, do you happen to know if the above error is related to any environment issue or it is something that needs to be fixed on the server side?

Comment by Daniel Black [ 2022-02-23 ]

Needs a server side fix:

Sanket Rathi

Thu, Jan 27, 10:47 PM

to me, Michael, Ayappan, ETIENNE, Faustin

Thank you Daniel for update.
Yes I think these builtins are not there in gcc 8.3. One of my team member could find __builtin_crypto_vpmsumw in gcc 8.5 but __builtin_crypto_vpmsumwd is not documented at all.

Please let us know if you need any help in fixing AIX build failures.


faust, is a gcc package upgrade available? Otherwise I'll get Sanket to help with a inline asm wrapper function.

Comment by Faustin Lammler [ 2022-02-23 ]

Hi, yep it seems there is:

root@p8-aix1-mariadb:[/root]yum search gcc
AIX_Toolbox                                                                    | 2.6 kB  00:00:00
AIX_Toolbox_71                                                                 | 2.5 kB  00:00:00
AIX_Toolbox_noarch                                                             | 2.5 kB  00:00:00
========================================== N/S Matched: gcc ==========================================
binutils-gccgov1.ppc : Contains copycsect for GCCGo
gcc-c++.ppc : C++ support for GCC
gcc10-c++.ppc : C++ support for GCC
gcc6-c++.ppc : C++ support for GCC
gcc7-c++.ppc : C++ support for GCC
gcc8-c++.ppc : C++ support for GCC
libgcc.ppc : GCC version 8 shared support library
libgcc10.ppc : GCC version 10.3.0 shared support library
libgcc6.ppc : GCC version 6.3.0 shared support library
libgcc7.ppc : GCC version 7.2.0 shared support library
libgcc8.ppc : GCC version 8.3.0 shared support library
gcc.ppc : GNU Compiler Collection
gcc-cpp.ppc : The C Preprocessor
gcc-gfortran.ppc : Fortran 95 support
gcc10.ppc : GNU Compiler Collection
gcc10-cpp.ppc : The C Preprocessor
gcc10-gfortran.ppc : Fortran 95 support
gcc10-go.ppc : Go support
gcc6.ppc : GNU Compiler Collection
gcc6-cpp.ppc : The C Preprocessor
gcc6-gfortran.ppc : Fortran 95 support
gcc7.ppc : GNU Compiler Collection
gcc7-cpp.ppc : The C Preprocessor
gcc7-gfortran.ppc : Fortran 95 support
gcc8.ppc : GNU Compiler Collection
gcc8-cpp.ppc : The C Preprocessor
gcc8-gfortran.ppc : Fortran 95 support
libgomp.ppc : GCC OpenMP 2.5 shared support library
libgomp10.ppc : GCC OpenMP 2.5 shared support library
libgomp6.ppc : GCC OpenMP 2.5 shared support library
libgomp7.ppc : GCC OpenMP 2.5 shared support library
libgomp8.ppc : GCC OpenMP 2.5 shared support library
 
  Name and summary matches only, use "search all" for everything.
 
root@p8-aix1-mariadb:[/root]gcc --version
gcc (GCC) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
root@p8-aix1-mariadb:[/root]rpm -qa | grep gcc
gcc-cpp-8-1.ppc
gcc-8-1.ppc
gcc8-8.3.0-6.ppc
libgcc-8-1.ppc
gcc-c++-8-1.ppc
libgcc8-8.3.0-6.ppc
gcc8-cpp-8.3.0-6.ppc
gcc8-c++-8.3.0-6.ppc

Should we go for gcc10?

Comment by Daniel Black [ 2022-02-23 ]

Yes!

Looks like concurrent installation may be possible. But later means I assume less work arounds in code so I'm all for that.

Comment by Daniel Black [ 2022-04-01 ]

I installed gcc10-c++ that resolved most compile problems.

Updated bb scripts to use gcc/g++ 10

few AIX fixes:

remaining runtime error due to paths

mdborg@p8-aix1-mariadb:[/home/mdborg/build-mariadb-server-10.7]mysql-test/mtr --parallel=24
Logging: /home/mdborg/mariadb-server-10.7/mysql-test/mariadb-test-run.pl  --parallel=24
VS config: 
vardir: /home/mdborg/build-mariadb-server-10.7/mysql-test/var
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/mdborg/build-mariadb-server-10.7/mysql-test/var'...
Checking supported features...
Could not load program mariadbd:
Symbol resolution failed for /home/mdborg/build-mariadb-server-10.7/sql/libserver.a[libserver.so] because:
        Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC2Ev (number 119) is not exported from dependent
          module /opt/freeware/lib/pthread/ppc64/libstdc++.a[libstdc++.so.6].
        Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev (number 120) is not exported from dependent
          module /opt/freeware/lib/pthread/ppc64/libstdc++.a[libstdc++.so.6].
Examine .loader section symbols with the 'dump -Tv' command.
 
 
mdborg@p8-aix1-mariadb:[/home/mdborg/build-mariadb-server-10.7]find /opt/freeware/ -name libstdc++.a| xargs ls -la
-rwxr-xr-x 1 root system 42038544 Dec 15 10:41 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/10/libstdc++.a
-rwxr-xr-x 1 root system 21686253 Dec 15 10:41 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/10/ppc64/libstdc++.a
-rwxr-xr-x 1 root system 44156412 Dec 15 10:41 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/10/pthread/libstdc++.a
-rwxr-xr-x 1 root system 22761561 Dec 15 10:41 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/10/pthread/ppc64/libstdc++.a
-rwxr-xr-x 1 root system 35071859 Aug 21  2021 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/libstdc++.a
lrwxrwxrwx 1 root system       58 Dec  3 05:52 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/ppc64/libstdc++.a -> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/libstdc++.a
-rwxr-xr-x 1 root system 38944950 Aug 21  2021 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/pthread/libstdc++.a
lrwxrwxrwx 1 root system       66 Dec  3 05:52 /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/pthread/ppc64/libstdc++.a -> /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/pthread/libstdc++.a
lrwxrwxrwx 1 root system       40 Mar 15  2021 /opt/freeware/lib/libstdc++.a -> gcc/powerpc-ibm-aix7.1.0.0/8/libstdc++.a
lrwxrwxrwx 1 root system       51 Mar 15  2021 /opt/freeware/lib/pthread/libstdc++.a -> ../gcc/powerpc-ibm-aix7.1.0.0/8/pthread/libstdc++.a
lrwxrwxrwx 1 root system       60 Mar 15  2021 /opt/freeware/lib/pthread/ppc64/libstdc++.a -> ../../gcc/powerpc-ibm-aix7.1.0.0/8/pthread/ppc64/libstdc++.a
lrwxrwxrwx 1 root system       53 Mar 15  2021 /opt/freeware/lib64/libstdc++.a -> ../lib/gcc/powerpc-ibm-aix7.1.0.0/8/ppc64/libstdc++.a

So linker paths on builder still to be resolved.

Comment by Daniel Black [ 2022-04-05 ]

Building - https://buildbot.mariadb.org/#/builders/aix

Still want to get the unit tests compiling and working.

Generated at Thu Feb 08 03:37:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.