ode may be misoptimized unless '-fno-strict-aliasing' is used ../lib/c_tokenizer.c:17:22: warning: type of 'mysql_thread___query_digests_grouping_limit' does not match original declaration [-Wlto-type-mismatch] 17 | extern __thread bool mysql_thread___query_digests_grouping_limit; | ^ ../include/proxysql_structs.h:797:14: note: type 'int' should match type 'char' 797 | __thread int mysql_thread___query_digests_grouping_limit; | ^ ../include/proxysql_structs.h:797:14: note: 'mysql_thread___query_digests_grouping_limit' was previously declared here ../deps/libhttpserver/libhttpserver/src/httpserver/http_utils.hpp:78:10: warning: type 'httpserver::http::http_utils::start_method_T' violates the C++ One Definition Rule [-Wodr] 78 | enum start_method_T | ^ ../lib/../deps/libhttpserver/libhttpserver/src/httpserver/http_utils.hpp:78:10: note: an enum with different value name is defined in another translation unit 78 | enum start_method_T | ^ ../deps/libhttpserver/libhttpserver/src/httpserver/http_utils.hpp:90:9: note: name 'INTERNAL_SELECT' is defined to 8 while another translation unit defines it as 4616 90 | INTERNAL_SELECT = MHD_USE_SELECT_INTERNALLY, | ^ ../lib/../deps/libhttpserver/libhttpserver/src/httpserver/http_utils.hpp:88:9: note: mismatching definition 88 | INTERNAL_SELECT = MHD_USE_SELECT_INTERNALLY | MHD_USE_EPOLL | MHD_USE_EPOLL_TURBO, | ^ /usr/bin/ld: /tmp/cc2AJwxB.ltrans18.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.3.2/src/../lib/ProxySQL_Admin.cpp:7558: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/cc2AJwxB.ltrans18.ltrans.o:/builddir/build/BUILD/proxysql-2.3.2/src/../lib/ProxySQL_Admin.cpp:7553: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/cc2AJwxB.ltrans18.ltrans.o:/builddir/build/BUILD/proxysql-2.3.2/src/../lib/ProxySQL_Admin.cpp:7358: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/cc2AJwxB.ltrans18.ltrans.o:/builddir/build/BUILD/proxysql-2.3.2/src/../lib/ProxySQL_Admin.cpp:7586: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/cc2AJwxB.ltrans18.ltrans.o:/builddir/build/BUILD/proxysql-2.3.2/src/../lib/ProxySQL_Admin.cpp:7358: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/cc2AJwxB.ltrans18.ltrans.o:/builddir/build/BUILD/proxysql-2.3.2/src/../lib/ProxySQL_Admin.cpp:7631: more undefined references to `__sync_lock_test_and_set_1' follow /usr/bin/ld: /tmp/cc2AJwxB.ltrans39.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.3.2/src/../deps/jemalloc/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h:169: undefined reference to `__atomic_compare_exchange_1' /usr/bin/ld: /tmp/cc2AJwxB.ltrans42.ltrans.o: in function `.LVL709': /builddir/build/BUILD/proxysql-2.3.2/src/../deps/jemalloc/jemalloc/include/jemalloc/internal/mutex.h:161: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:129: proxysql] Error 1 make: *** [Makefile:90: build_src] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Arh5AJ (%build) bogus date in %changelog: Mon Feb 14 2021 Marek Kulik - 2.3.2-4 %changelog not in descending chronological order Bad exit status from /var/tmp/rpm-tmp.Arh5AJ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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