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/ga.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-223127-81043/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ga.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/ga-5.8.2-3.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/ga.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-223127-81043/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ga.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.30G3a6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ga-5.8.2 + /usr/bin/mkdir -p ga-5.8.2 + cd ga-5.8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ga-5.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd ga-5.8.2 ~/build/BUILD/ga-5.8.2/ga-5.8.2 ~/build/BUILD/ga-5.8.2 ~/build/BUILD/ga-5.8.2 + popd + for i in mpich openmpi + cp -a ga-5.8.2 ga-5.8.2-mpich + for i in mpich openmpi + cp -a ga-5.8.2 ga-5.8.2-openmpi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bFrpKN + 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 ga-5.8.2 + export MPI_COMPILER_NAME=mpich + MPI_COMPILER_NAME=mpich + export GA_CONFIGURE_OPTIONS= + GA_CONFIGURE_OPTIONS= + . /etc/profile.d/modules.sh ++ . /etc/profile.d/00-modulepath.sh +++ '[' -z /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ']' +++ : ++ '[' -z '' ']' ++ LMOD_ALLOW_ROOT_USE=yes ++ '[' -n '' ']' ++ '[' yes '!=' yes ']' ++ '[' -z /usr/share/modulefiles ']' ++ findExec READLINK_CMD /usr/bin/readlink readlink ++ Nm=READLINK_CMD ++ confPath=/usr/bin/readlink ++ execNm=readlink ++ eval READLINK_CMD=/usr/bin/readlink +++ READLINK_CMD=/usr/bin/readlink ++ '[' '!' -x /usr/bin/readlink ']' ++ unset Nm confPath execNm ++ findExec PS_CMD /usr/bin/ps ps ++ Nm=PS_CMD ++ confPath=/usr/bin/ps ++ execNm=ps ++ eval PS_CMD=/usr/bin/ps +++ PS_CMD=/usr/bin/ps ++ '[' '!' -x /usr/bin/ps ']' ++ unset Nm confPath execNm ++ findExec EXPR_CMD /usr/bin/expr expr ++ Nm=EXPR_CMD ++ confPath=/usr/bin/expr ++ execNm=expr ++ eval EXPR_CMD=/usr/bin/expr +++ EXPR_CMD=/usr/bin/expr ++ '[' '!' -x /usr/bin/expr ']' ++ unset Nm confPath execNm ++ findExec BASENAME_CMD /usr/bin/basename basename ++ Nm=BASENAME_CMD ++ confPath=/usr/bin/basename ++ execNm=basename ++ eval BASENAME_CMD=/usr/bin/basename +++ BASENAME_CMD=/usr/bin/basename ++ '[' '!' -x /usr/bin/basename ']' ++ unset Nm confPath execNm ++ unset -f findExec ++ '[' -f /proc/2723589/exe ']' +++ /usr/bin/readlink /proc/2723589/exe ++ my_shell=/usr/bin/bash +++ /usr/bin/expr /usr/bin/bash : '-*\(.*\)' ++ my_shell=/usr/bin/bash +++ /usr/bin/basename /usr/bin/bash ++ my_shell=bash ++ case ${my_shell} in ++ '[' -f /usr/share/lmod/lmod/init/bash ']' ++ . /usr/share/lmod/lmod/init/bash +++ '[' -z '' ']' +++ case "$-" in +++ __lmod_vx=x +++ '[' -n x ']' +++ set +x Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/share/lmod/lmod/init/bash) Shell debugging restarted +++ unset __lmod_vx ++ unset my_shell PS_CMD EXPR_CMD BASENAME_CMD MODULEPATH_INIT LMOD_ALLOW_ROOT_USE READLINK_CMD + module load mpi/mpich-loongarch64 + '[' -z '' ']' + case "$-" in + __lmod_sh_dbg=x + '[' -n x ']' + set +x Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output Shell debugging restarted + unset __lmod_sh_dbg + return 0 + export '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 -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' + 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 -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 'LIBS=-lscalapack -lopenblas' + LIBS='-lscalapack -lopenblas' + export '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 -O1' + 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 -O1' + export '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 -O1' + 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 -O1' + export '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 -O1' + 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 -O1' + cd ga-5.8.2-mpich + '[' '-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' ./comex/configure + diff -u ./comex/configure.backup ./comex/configure + mv ./comex/configure.backup ./comex/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./comex/configure + diff -u ./comex/configure.backup ./comex/configure + mv ./comex/configure.backup ./comex/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./comex/configure + diff -u ./comex/configure.backup ./comex/configure --- ./comex/configure.backup 2022-11-04 05:47:40.000000000 +0800 +++ ./comex/configure 2025-10-16 17:21:40.288000000 +0800 @@ -2096,7 +2096,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' ./comex/configure + diff -u ./comex/configure.backup ./comex/configure + mv ./comex/configure.backup ./comex/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'\''"#' ./comex/configure + diff -u ./comex/configure.backup ./comex/configure --- ./comex/configure.backup 2025-10-16 17:21:40.288000000 +0800 +++ ./comex/configure 2025-10-16 17:21:40.324000000 +0800 @@ -20913,7 +20913,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'" @@ -27638,7 +27638,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 2022-11-04 05:47:40.000000000 +0800 +++ ./configure 2025-10-16 17:21:40.392000000 +0800 @@ -2624,7 +2624,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-10-16 17:21:40.392000000 +0800 +++ ./configure 2025-10-16 17:21:40.452000000 +0800 @@ -32580,7 +32580,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'" @@ -46553,7 +46553,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' ./armci/configure + diff -u ./armci/configure.backup ./armci/configure + mv ./armci/configure.backup ./armci/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./armci/configure + diff -u ./armci/configure.backup ./armci/configure + mv ./armci/configure.backup ./armci/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./armci/configure + diff -u ./armci/configure.backup ./armci/configure --- ./armci/configure.backup 2022-11-04 05:47:40.000000000 +0800 +++ ./armci/configure 2025-10-16 17:21:40.532000000 +0800 @@ -2488,7 +2488,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' ./armci/configure + diff -u ./armci/configure.backup ./armci/configure + mv ./armci/configure.backup ./armci/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'\''"#' ./armci/configure + diff -u ./armci/configure.backup ./armci/configure --- ./armci/configure.backup 2025-10-16 17:21:40.532000000 +0800 +++ ./armci/configure 2025-10-16 17:21:40.580000000 +0800 @@ -25982,7 +25982,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'" @@ -36784,7 +36784,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 ./comex/build-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./comex/build-aux/config.sub ++ basename ./comex/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./comex/build-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './comex/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./comex/build-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./comex/build-aux/config.guess ++ basename ./comex/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./comex/build-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './comex/build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./armci/build-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./armci/build-aux/config.sub ++ basename ./armci/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./armci/build-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './armci/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./armci/build-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./armci/build-aux/config.guess ++ basename ./armci/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./armci/build-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './armci/build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './build-aux/config.guess' + '[' 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"~' ./comex/build-aux/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"~' ./armci/build-aux/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"~' ./build-aux/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 --bindir=/usr/lib64/mpich/bin --libdir=/usr/lib64/mpich/lib --includedir=/usr/include/mpich-loongarch64 --with-scalapack4=-lscalapack --with-blas4=-lopenblas --enable-shared --enable-static --enable-cxx --enable-f77 checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for TARGET base (64bit-ness checked later)... LINUX checking whether we think this system is what we call SYSV... yes checking whether we are cross compiling... 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 nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: configure: C compiler configure: checking for style of include used by make... GNU checking for loongarch64-opencloudos-linux-gnu-mpicc... no checking for loongarch64-opencloudos-linux-gnu-mpixlc_r... no checking for loongarch64-opencloudos-linux-gnu-mpixlc... configure: WARNING: MPI compilers desired but CC is set while MPICC is unset. configure: WARNING: CC will be ignored during compiler selection, but will be configure: WARNING: tested first during MPI compiler unwrapping. Perhaps you configure: WARNING: meant to set MPICC instead of or in addition to CC? no checking for loongarch64-opencloudos-linux-gnu-hcc... no checking for loongarch64-opencloudos-linux-gnu-mpxlc_r... no checking for loongarch64-opencloudos-linux-gnu-mpxlc... no checking for loongarch64-opencloudos-linux-gnu-sxmpicc... no checking for loongarch64-opencloudos-linux-gnu-mpifcc... no checking for loongarch64-opencloudos-linux-gnu-mpgcc... no checking for loongarch64-opencloudos-linux-gnu-mpcc... no checking for loongarch64-opencloudos-linux-gnu-cmpicc... no checking for loongarch64-opencloudos-linux-gnu-cc... no checking for mpicc... mpicc 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 mpicc accepts -g... yes checking for mpicc option to enable C11 features... none needed checking dependency style of mpicc... none 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 for vfork.h... no checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for C compiler vendor... gnu checking for perl... /usr/bin/perl checking for base mpicc compiler... gcc checking whether a simple C MPI program compiles... yes checking for TARGET 64bit-ness... LINUX64 configure: WARNING: No ARMCI_NETWORK specified, defaulting to MPI_TS checking whether to enable assertions... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for assert.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for ffio.h... no checking for limits.h... yes checking for linux/limits.h... yes checking for malloc.h... yes checking for math.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/file.h... yes checking for sys/fsid.h... no checking for sys/fstyp.h... no checking for sys/ioctl.h... yes checking for sys/iosw.h... no checking for sys/ipc.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/param.h... (cached) yes checking for sys/sem.h... yes checking for sys/shm.h... yes checking for sys/statfs.h... yes checking for sys/stat.h... (cached) yes checking for sys/statvfs.h... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/vfs.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for windows.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict__ checking for working volatile... yes checking for mpicc option to support OpenMP... -fopenmp checking for int64_t... yes checking for long double... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... mpicc -E checking whether mpicc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for preprocessor symbol for function name... __func__ checking for C global variable containing the name of the program... __progname checking whether mpicc supports #pragma weak... yes checking for union semun in sys/sem.h... no checking for -fno-aggressive-loop-optimizations support in C compiler... -fno-aggressive-loop-optimizations checking for -fno-tree-slp-vectorize support in C compiler... -fno-tree-slp-vectorize checking size of void*... 8 checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of float... 4 checking size of double... 8 checking size of long double... 16 checking for smallest C integer matching void*... long checking for fork... yes checking for vfork... yes checking for getpagesize... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working mmap... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for library containing floor... -lm checking for library containing modf... none required checking for library containing pow... none required checking for library containing sqrt... none required checking for library containing hypot... none required checking for bcopy... yes checking for bzero... yes checking for create_shared_region... no checking for ftruncate... yes checking for gethostbyname... yes checking for gethostname... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memalign... yes checking for memcpy... yes checking for memset... yes checking for munmap... yes checking for pause... yes checking for posix_memalign... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for shared_malloc... no checking for shmalloc... no checking for socket... yes checking for srand... yes checking for srandom... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for openpl in -lplot... no checking for specific C optimizations... configure: configure: C++ compiler configure: checking for loongarch64-opencloudos-linux-gnu-mpic++... no checking for loongarch64-opencloudos-linux-gnu-mpicxx... no checking for loongarch64-opencloudos-linux-gnu-mpiCC... no checking for loongarch64-opencloudos-linux-gnu-sxmpic++... no checking for loongarch64-opencloudos-linux-gnu-hcp... no checking for loongarch64-opencloudos-linux-gnu-mpxlC_r... configure: WARNING: MPI compilers desired but CXX is set while MPICXX is unset. configure: WARNING: CXX will be ignored during compiler selection, but will be configure: WARNING: tested first during MPI compiler unwrapping. Perhaps you configure: WARNING: meant to set MPICXX instead of or in addition to CXX? no checking for loongarch64-opencloudos-linux-gnu-mpxlC... no checking for loongarch64-opencloudos-linux-gnu-mpixlcxx_r... no checking for loongarch64-opencloudos-linux-gnu-mpixlcxx... no checking for loongarch64-opencloudos-linux-gnu-mpg++... no checking for loongarch64-opencloudos-linux-gnu-mpc++... no checking for loongarch64-opencloudos-linux-gnu-mpCC... no checking for loongarch64-opencloudos-linux-gnu-cmpic++... no checking for loongarch64-opencloudos-linux-gnu-mpiFCC... no checking for loongarch64-opencloudos-linux-gnu-CC... no checking for mpic++... mpic++ checking whether the compiler supports GNU C++... yes checking whether mpic++ accepts -g... yes checking for mpic++ option to enable C++11 features... none needed checking dependency style of mpic++... none checking for perl... (cached) /usr/bin/perl checking for base mpic++ compiler... g++ checking for C++ compiler vendor... gnu checking whether a simple C++ MPI program works... yes checking for mpic++ option to support OpenMP... -fopenmp checking whether the compiler implements namespaces... yes checking for specific C++ optimizations... configure: configure: Assembler configure: checking dependency style of mpicc... none configure: configure: Fortran compiler configure: checking for loongarch64-opencloudos-linux-gnu-mpif95... no checking for loongarch64-opencloudos-linux-gnu-mpxlf95_r... no checking for loongarch64-opencloudos-linux-gnu-mpxlf95... no checking for loongarch64-opencloudos-linux-gnu-ftn... no checking for loongarch64-opencloudos-linux-gnu-mpif90... no checking for loongarch64-opencloudos-linux-gnu-mpxlf90_r... no checking for loongarch64-opencloudos-linux-gnu-mpxlf90... no checking for loongarch64-opencloudos-linux-gnu-mpf90... no checking for loongarch64-opencloudos-linux-gnu-cmpif90c... no checking for loongarch64-opencloudos-linux-gnu-sxmpif90... no checking for loongarch64-opencloudos-linux-gnu-mpif77... no checking for loongarch64-opencloudos-linux-gnu-hf77... no checking for loongarch64-opencloudos-linux-gnu-mpxlf_r... no checking for loongarch64-opencloudos-linux-gnu-mpxlf... no checking for loongarch64-opencloudos-linux-gnu-mpifrt... no checking for loongarch64-opencloudos-linux-gnu-mpf77... no checking for loongarch64-opencloudos-linux-gnu-cmpifc... no checking for mpif95... no checking for mpxlf95_r... no checking for mpxlf95... no checking for ftn... no checking for mpif90... mpif90 checking whether the compiler supports GNU Fortran 77... yes checking whether mpif90 accepts -g... yes checking for perl... (cached) /usr/bin/perl checking for base mpif90 compiler... gfortran