note: code may be misoptimized unless '-fno-strict-aliasing' is used /builddir/build/BUILD/proxysql-2.0.13/deps/mariadb-client-library/mariadb_client/libmariadb/ma_client_plugin.c:84:39: warning: type of 'mysql_native_password_client_plugin' does not match original declaration [-Wlto-type-mismatch] 84 | extern struct st_mysql_client_plugin mysql_native_password_client_plugin; | ^ /builddir/build/BUILD/proxysql-2.0.13/deps/mariadb-client-library/mariadb_client/plugins/auth/my_auth.c:39:15: note: type 'struct auth_plugin_t' should match type 'struct st_mysql_client_plugin' 39 | auth_plugin_t mysql_native_password_client_plugin= | ^ /builddir/build/BUILD/proxysql-2.0.13/deps/mariadb-client-library/mariadb_client/plugins/auth/my_auth.c:39:15: note: 'mysql_native_password_client_plugin' was previously declared here /builddir/build/BUILD/proxysql-2.0.13/deps/mariadb-client-library/mariadb_client/plugins/auth/my_auth.c:39:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used In function 'strncpy', inlined from 'lookup_sub_value.part.0' at digestauth.c:483:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ digestauth.c: In function 'lookup_sub_value.part.0': digestauth.c:479:15: note: length computed here In function 'strncpy', inlined from 'query_parser_first_comment' at Query_Processor.cpp:2471:13: /usr/include/bits/string_fortified.h:106:34: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ Query_Processor.cpp: In member function 'query_parser_first_comment': Query_Processor.cpp:2468:22: note: length computed here /usr/bin/ld: /tmp/proxysql.4sUp76.ltrans14.ltrans.o: in function `.L0 ': /usr/include/stdlib.h:363: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.4sUp76.ltrans14.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.0.13/src/ProxySQL_Admin.cpp:6921: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.4sUp76.ltrans14.ltrans.o:/builddir/build/BUILD/proxysql-2.0.13/src/ProxySQL_Admin.cpp:6941: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.4sUp76.ltrans14.ltrans.o:/builddir/build/BUILD/proxysql-2.0.13/src/ProxySQL_Admin.cpp:6961: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.4sUp76.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.0.13/src/include/jemalloc/internal/mutex_pool.h:23: undefined reference to `__atomic_compare_exchange_1' /usr/bin/ld: /tmp/proxysql.4sUp76.ltrans36.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.0.13/src/include/jemalloc/internal/mutex.h:171: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:104: proxysql] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/proxysql-2.0.13/src' make: *** [Makefile:80: build_src] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.6D67i2 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6D67i2 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/proxysql.spec