Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ode.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-179563-80087/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/ode-0.16.5-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ode.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-179563-80087/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LpZHus + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ode-0.16.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ode-0.16.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ode-0.16.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./bootstrap Please make sure that you use automake 1.11 or later Warnings about underquoted definitions are harmless Running aclocal aclocal: overwriting 'm4/libtool.m4' with '/usr/share/aclocal/libtool.m4' aclocal: overwriting 'm4/ltversion.m4' with '/usr/share/aclocal/ltversion.m4' aclocal: overwriting 'm4/pkg.m4' with '/usr/share/aclocal/pkg.m4' Running libtoolize Running autoheader Running automake Running autoconf Running bootstrap in ou directory configure.ac:57: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. configure.ac:57: You should run autoupdate. aclocal.m4:8549: AC_LIBTOOL_WIN32_DLL is expanded from... configure.ac:57: the top level configure.ac:57: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:57: put the 'win32-dll' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8549: AC_LIBTOOL_WIN32_DLL is expanded from... configure.ac:57: the top level configure.ac:58: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:58: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:58: the top level configure.ac:69: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:69: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:69: the top level configure.ac:110: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:110: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:110: the top level configure.ac:120: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:120: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:120: the top level Running bootstrap in libccd directory Now you are ready to run ./configure Patch #1 (ode-0.11.1-multilib.patch): + echo 'Patch #1 (ode-0.11.1-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ode-config.in + sed -i 's/libode_la_LDFLAGS = @EXTRA_LIBTOOL_LDFLAGS@/libode_la_LDFLAGS = $(EXTRA_LIBTOOL_LDFLAGS)/' ode/src/Makefile.in + mv OPCODE/COPYING OPCODE-COPYING + for i in ou/LICENSE*.TXT + sed -i.bak 's/\r//' ou/LICENSE-BSD.TXT + touch -r ou/LICENSE-BSD.TXT.bak ou/LICENSE-BSD.TXT ++ echo ou/LICENSE-BSD.TXT ++ sed 's|ou/LICENSE|OU-LICENSE|' + mv ou/LICENSE-BSD.TXT OU-LICENSE-BSD.TXT + for i in ou/LICENSE*.TXT + sed -i.bak 's/\r//' ou/LICENSE-LESSER.TXT + touch -r ou/LICENSE-LESSER.TXT.bak ou/LICENSE-LESSER.TXT ++ echo ou/LICENSE-LESSER.TXT ++ sed 's|ou/LICENSE|OU-LICENSE|' + mv ou/LICENSE-LESSER.TXT OU-LICENSE-LESSER.TXT + for i in ou/LICENSE*.TXT + sed -i.bak 's/\r//' ou/LICENSE-ZLIB.TXT + touch -r ou/LICENSE-ZLIB.TXT.bak ou/LICENSE-ZLIB.TXT ++ echo ou/LICENSE-ZLIB.TXT ++ sed 's|ou/LICENSE|OU-LICENSE|' + mv ou/LICENSE-ZLIB.TXT OU-LICENSE-ZLIB.TXT + for i in ou/LICENSE*.TXT + sed -i.bak 's/\r//' ou/LICENSE.TXT + touch -r ou/LICENSE.TXT.bak ou/LICENSE.TXT ++ echo ou/LICENSE.TXT ++ sed 's|ou/LICENSE|OU-LICENSE|' + mv ou/LICENSE.TXT OU-LICENSE.TXT + mv libccd/BSD-LICENSE LIBCCD-LICENSE.TXT + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e0Z2L6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ode-0.16.5 + ODE_CONFIGURE_FLAGS='--enable-shared --disable-static --with-libccd=internal --with-cylinder-cylinder=libccd --with-capsule-cylinder=libcdd --with-convex-box=libccd --with-convex-capsule=libccd --with-convex-cylinder=libccd' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libccd/configure + diff -u ./libccd/configure.backup ./libccd/configure + mv ./libccd/configure.backup ./libccd/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libccd/configure + diff -u ./libccd/configure.backup ./libccd/configure + mv ./libccd/configure.backup ./libccd/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libccd/configure + diff -u ./libccd/configure.backup ./libccd/configure --- ./libccd/configure.backup 2025-07-28 16:00:01.410174334 +0800 +++ ./libccd/configure 2025-07-28 16:00:02.190193461 +0800 @@ -1754,7 +1754,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./libccd/configure + diff -u ./libccd/configure.backup ./libccd/configure + mv ./libccd/configure.backup ./libccd/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./libccd/configure + diff -u ./libccd/configure.backup ./libccd/configure --- ./libccd/configure.backup 2025-07-28 16:00:02.190193461 +0800 +++ ./libccd/configure 2025-07-28 16:00:02.222194246 +0800 @@ -7693,7 +7693,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18034,7 +18034,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./ou/configure + diff -u ./ou/configure.backup ./ou/configure + mv ./ou/configure.backup ./ou/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./ou/configure + diff -u ./ou/configure.backup ./ou/configure + mv ./ou/configure.backup ./ou/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./ou/configure + diff -u ./ou/configure.backup ./ou/configure --- ./ou/configure.backup 2025-07-28 15:59:57.714083702 +0800 +++ ./ou/configure 2025-07-28 16:00:02.266195325 +0800 @@ -1805,7 +1805,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2179,7 +2179,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./ou/configure + diff -u ./ou/configure.backup ./ou/configure + mv ./ou/configure.backup ./ou/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./ou/configure + diff -u ./ou/configure.backup ./ou/configure --- ./ou/configure.backup 2025-07-28 16:00:02.266195325 +0800 +++ ./ou/configure 2025-07-28 16:00:02.306196306 +0800 @@ -9520,7 +9520,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -20162,7 +20162,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-07-28 15:59:55.622032402 +0800 +++ ./configure 2025-07-28 16:00:02.354197483 +0800 @@ -1932,7 +1932,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-07-28 16:00:02.354197483 +0800 +++ ./configure 2025-07-28 16:00:02.390198366 +0800 @@ -8225,7 +8225,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -21105,7 +21105,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-static --with-libccd=internal --with-cylinder-cylinder=libccd --with-capsule-cylinder=libcdd --with-convex-box=libccd --with-convex-capsule=libccd --with-convex-cylinder=libccd --enable-double-precision checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for gawk... (cached) gawk checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8231: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for loongarch64-opencloudos-linux-gnu-windres... no checking for windres... no checking whether byte ordering is bigendian... no checking for inline... inline checking for working volatile... yes checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for doxygen... no checking for alloca.h... yes checking for stdio.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for math.h... yes checking for string.h... (cached) yes checking for stdarg.h... yes checking for malloc.h... yes checking for float.h... yes checking for time.h... yes checking for sys/time.h... yes checking for limits.h... yes checking for stddef.h... yes checking if double precision is requested... yes checking which drawstuff lib to build... X11 checking for x11... yes checking for GL/gl.h... yes checking for GL/glu.h... yes checking for GL/glext.h... yes checking for main in -lGL... yes checking for main in -lGLU... yes checking for main in -lopengl32... no checking for main in -lglu32... no checking if demos should be built... yes checking for main in -lstdc++... yes checking for main in -lpthread... yes checking for gprof... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for inline... (cached) inline checking for int32_t... yes checking for obstacks... yes checking for size_t... yes checking for uint32_t... yes checking for main in -lm... yes checking for main in -lsunmath... no checking for main in -lrt... yes checking for atan2f... yes checking for clock_gettime... yes checking for copysign... yes checking for copysignf... yes checking for cosf... yes checking for fabsf... yes checking for floor... yes checking for fmodf... yes checking for gettimeofday... yes checking for isnan... yes checking for _isnan... no checking for __isnan... yes checking for isnanf... yes checking for _isnanf... no checking for __isnanf... yes checking for memmove... yes checking for memset... yes checking for pthread_attr_setstacklazy... no checking for pthread_attr_setinheritsched... yes checking for pthread_condattr_setclock... yes checking for sinf... yes checking for snprintf... yes checking for sqrt... yes checking for sqrtf... yes checking for strchr... yes checking for strstr... yes checking for vsnprintf... yes checking for working alloca.h... yes checking for alloca... yes checking for pthread_condattr_setclock... (cached) yes checking for no_pthread_condattr_setclock... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating drawstuff/Makefile config.status: creating drawstuff/src/Makefile config.status: creating drawstuff/dstest/Makefile config.status: creating include/Makefile config.status: creating include/drawstuff/Makefile config.status: creating include/ode/Makefile config.status: creating include/ode/version.h config.status: creating include/ode/precision.h config.status: creating ode/Makefile config.status: creating ode/doc/Doxyfile config.status: creating ode/doc/Makefile config.status: creating ode/src/Makefile config.status: creating ode/src/joints/Makefile config.status: creating ode/demo/Makefile config.status: creating OPCODE/Makefile config.status: creating OPCODE/Ice/Makefile config.status: creating GIMPACT/Makefile config.status: creating GIMPACT/include/Makefile config.status: creating GIMPACT/include/GIMPACT/Makefile config.status: creating GIMPACT/src/Makefile config.status: creating tests/Makefile config.status: creating tests/joints/Makefile config.status: creating tests/UnitTest++/Makefile config.status: creating tests/UnitTest++/src/Makefile config.status: creating tests/UnitTest++/src/Posix/Makefile config.status: creating tests/UnitTest++/src/Win32/Makefile config.status: creating ode-config config.status: creating ode.pc config.status: creating ode/src/config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in ou (/builddir/build/BUILD/ode-0.16.5/ou) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared' '--disable-static' '--with-libccd=internal' '--with-cylinder-cylinder=libccd' '--with-capsule-cylinder=libcdd' '--with-convex-box=libccd' '--with-convex-capsule=libccd' '--with-convex-cylinder=libccd' '--enable-double-precision' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' 'CXX=g++' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking target OS... unix checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for gawk... (cached) gawk checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 9526: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for main in -lc... yes checking for main in -lpthread... yes checking for egrep... (cached) /usr/bin/grep -E checking for inttypes.h... (cached) yes checking for malloc.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for _Bool... no checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for working volatile... yes checking for ptrdiff_t... yes checking for memset... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/ou/Makefile config.status: creating src/ou/Makefile config.status: creating test/Makefile config.status: executing depfiles commands config.status: executing libtool commands OU namespace: odeou OU feature set: _OU_FEATURE_SET_ATOMICS === configuring in libccd (/builddir/build/BUILD/ode-0.16.5/libccd) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared' '--disable-static' '--with-libccd=internal' '--with-cylinder-cylinder=libccd' '--with-capsule-cylinder=libcdd' '--with-convex-box=libccd' '--with-convex-capsule=libccd' '--with-convex-cylinder=libccd' '--enable-double-precision' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' 'CXX=g++' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7699: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for main in -lm... yes checking for main in -lrt... yes checking for float.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for clock_gettime... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ccd/precision.h config.status: creating src/testsuites/Makefile config.status: creating src/testsuites/cu/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration: Build system type: loongarch64-opencloudos-linux-gnu Host system type: loongarch64-opencloudos-linux-gnu Use double precision: yes Use drawstuff: X11 Demos enabled: yes Use OPCODE: yes Use GIMPACT: no Use libccd: yes libccd source: internal Custom colliders: cylinder-cylinder: libccd box-cylinder: default capsule-cylinder: libcdd convex-box: libccd convex-capsule: libccd convex-cylinder: libccd convex-sphere: default convex-convex: default Is target a Pentium: no Is target x86-64: no Use old opcode trimesh collider: no TLS for global caches: no Threading intf enabled: yes Built-in threading included: yes Enable debug error check: yes Headers will be installed in /usr/include/ode Libraries will be installed in /usr/lib64 Building in directory /builddir/build/BUILD/ode-0.16.5 + make -j32 X_LIBS=-lX11 'EXTRA_LIBTOOL_LDFLAGS=-release double' Making all in include make[1]: Entering directory '/builddir/build/BUILD/ode-0.16.5/include' Making all in ode make[2]: Entering directory '/builddir/build/BUILD/ode-0.16.5/include/ode' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ode-0.16.5/include/ode' Making all in drawstuff make[2]: Entering directory '/builddir/build/BUILD/ode-0.16.5/include/drawstuff' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ode-0.16.5/include/drawstuff' make[2]: Entering directory '/builddir/build/BUILD/ode-0.16.5/include' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/ode-0.16.5/include' make[1]: Leaving directory '/builddir/build/BUILD/ode-0.16.5/include' Making all in drawstuff make[1]: Entering directory '/builddir/build/BUILD/ode-0.16.5/drawstuff' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ode-0.16.5/drawstuff/src' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../ode/src -I../../include -I../../include -I../../ode/src -DDEFAULT_PATH_TO_TEXTURES='"../../drawstuff/textures/"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o drawstuff.lo drawstuff.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../ode/src -I../../include -I../../include -I../../ode/src -DDEFAULT_PATH_TO_TEXTURES='"../../drawstuff/textures/"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c -o x11.lo x11.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../ode/src -I../../include -I../../include -I../../ode/src -DDEFAULT_PATH_TO_TEXTURES=\"../../drawstuff/textures/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c drawstuff.cpp -fPIC -DPIC -o .libs/drawstuff.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../ode/src -I../../include -I../../include -I../../ode/src -DDEFAULT_PATH_TO_TEXTURES=\"../../drawstuff/textures/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c x11.cpp -fPIC -DPIC -o .libs/x11.o In file included from ../../ode/src/typedefs.h:28, from ../../ode/src/config.h:319, from drawstuff.cpp:45: ../../ode/src/typedefs.h:62:25: error: static assertion failed: sizeof(intptr) == sizeof(void *) 62 | dSASSERT(sizeof(intptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:62:25: note: the comparison reduces to '(4 == 8)' 62 | dSASSERT(sizeof(intptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:65:26: error: static assertion failed: sizeof(uintptr) == sizeof(void *) 65 | dSASSERT(sizeof(uintptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:65:26: note: the comparison reduces to '(4 == 8)' 65 | dSASSERT(sizeof(uintptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:68:26: error: static assertion failed: sizeof(diffint) == sizeof(void *) 68 | dSASSERT(sizeof(diffint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:68:26: note: the comparison reduces to '(4 == 8)' 68 | dSASSERT(sizeof(diffint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:71:26: error: static assertion failed: sizeof(sizeint) == sizeof(void *) 71 | dSASSERT(sizeof(sizeint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:71:26: note: the comparison reduces to '(4 == 8)' 71 | dSASSERT(sizeof(sizeint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ In file included from ../../ode/src/typedefs.h:28, from ../../ode/src/config.h:319, from x11.cpp:33: ../../ode/src/typedefs.h:62:25: error: static assertion failed: sizeof(intptr) == sizeof(void *) 62 | dSASSERT(sizeof(intptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:62:25: note: the comparison reduces to '(4 == 8)' 62 | dSASSERT(sizeof(intptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:65:26: error: static assertion failed: sizeof(uintptr) == sizeof(void *) 65 | dSASSERT(sizeof(uintptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:65:26: note: the comparison reduces to '(4 == 8)' 65 | dSASSERT(sizeof(uintptr) == sizeof(void *)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:68:26: error: static assertion failed: sizeof(diffint) == sizeof(void *) 68 | dSASSERT(sizeof(diffint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:68:26: note: the comparison reduces to '(4 == 8)' 68 | dSASSERT(sizeof(diffint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:71:26: error: static assertion failed: sizeof(sizeint) == sizeof(void *) 71 | dSASSERT(sizeof(sizeint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ ../../ode/src/typedefs.h:71:26: note: the comparison reduces to '(4 == 8)' 71 | dSASSERT(sizeof(sizeint) == sizeof(void *)); // So far, we choose to not support systems that have accessible memory segment size smaller than the pointer size | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../../ode/src/error.h:79:36: note: in definition of macro 'dSASSERT' 79 | #define dSASSERT(e) static_assert(e, #e) | ^ In file included from x11.cpp:34: ../../ode/src/common.h: In member function 'void* dxAlignedAllocation::allocAligned(sizeint, unsigned int)': ../../ode/src/common.h:100:51: error: cast from 'void*' to 'uintptr' {aka 'unsigned int'} loses precision [-fpermissive] 100 | #define dALIGN_PTR(buf_ptr, alignment) ((void *)(((uintptr)(buf_ptr) + ((alignment) - 1)) & (int)(~(alignment - 1)))) // Casting the mask to int ensures sign-extension to larger integer sizes | ^~~~~~~~~~~~~~~~~~ ../../ode/src/common.h:139:83: note: in expansion of macro 'dALIGN_PTR' 139 | void *userAreaPointer = bufferPointer != NULL && alignmentRequired != 0 ? dALIGN_PTR(bufferPointer, alignmentRequired) : bufferPointer; | ^~~~~~~~~~ ../../ode/src/common.h:100:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 100 | #define dALIGN_PTR(buf_ptr, alignment) ((void *)(((uintptr)(buf_ptr) + ((alignment) - 1)) & (int)(~(alignment - 1)))) // Casting the mask to int ensures sign-extension to larger integer sizes | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../ode/src/common.h:139:83: note: in expansion of macro 'dALIGN_PTR' 139 | void *userAreaPointer = bufferPointer != NULL && alignmentRequired != 0 ? dALIGN_PTR(bufferPointer, alignmentRequired) : bufferPointer; | ^~~~~~~~~~ make[2]: *** [Makefile:449: x11.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/ode-0.16.5/drawstuff/src' make[2]: *** [Makefile:449: drawstuff.lo] Error 1 make[1]: *** [Makefile:375: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/ode-0.16.5/drawstuff' make: *** [Makefile:520: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.e0Z2L6 (%build) Bad exit status from /var/tmp/rpm-tmp.e0Z2L6 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ode.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ode.spec'