I could not judge whether it was an issue or not, so write
it here.
In Easybuild 3.3.1, when attempting to build GCCcore-4.9.3
which is the core of some applications,
the following error occurs at the stage of configure.
##
----------- ##
##
Core tests. ##
##
----------- ##
configure:2467:
creating cache ./config.cache
configure:2550:
checking for --enable-version-specific-runtime-libs
configure:2565:
result: no
configure:2573:
checking for --enable-generated-files-in-srcdir
configure:2588:
result: no
configure:2645:
checking build system type
configure:2659:
result: aarch64-unknown-linux-gnu
configure:2679:
checking host system type
configure:2692:
result: aarch64-unknown-linux-gnu
configure:2712:
checking target system type
configure:2725:
result: aarch64-unknown-linux-gnu
configure:2782:
checking for a BSD-compatible install
configure:2850:
result: /usr/bin/install -c
configure:2861:
checking whether build environment is sane
configure:2911:
result: yes
configure:3052:
checking for a thread-safe mkdir -p
configure:3091:
result: /usr/bin/mkdir -p
configure:3104:
checking for gawk
configure:3131:
result: gawk
configure:3142:
checking whether make sets $(MAKE)
configure:3164:
result: yes
configure:3328:
checking for aarch64-unknown-linux-gnu-gcc
configure:3355:
result:
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc
-B/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/bin/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/lib/
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/include
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/sys-include
configure:3624:
checking for C compiler version
configure:3633:
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc
-B/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/bin/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/lib/
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/include
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/sys-include
--version >&5
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc:
error while loading shared libraries: libgcc_s.so.1: ELF
load command alignment not page-aligned
configure:3644:
$? = 127
configure:3633:
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc
-B/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/bin/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/lib/
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/include
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/sys-include
-v >&5
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc:
error while loading shared libraries: libgcc_s.so.1: ELF
load command alignment not page-aligned
configure:3644:
$? = 127
configure:3633:
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc
-B/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/bin/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/lib/
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/include
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/sys-include
-V >&5
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc:
error while loading shared libraries: libgcc_s.so.1: ELF
load command alignment not page-aligned
configure:3644:
$? = 127
configure:3633:
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc
-B/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/bin/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/lib/
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/include
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/sys-include
-qversion >&5
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc:
error while loading shared libraries: libgcc_s.so.1: ELF
load command alignment not page-aligned
configure:3644:
$? = 127
configure:3664:
checking for C compiler default output file name
configure:3686:
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc
-B/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/bin/
-B/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/lib/
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/include
-isystem
/home/horigome/easybuild/software/GCCcore/4.9.3/aarch64-unknown-linux-gnu/sys-include
-g -O2 conftest.c >&5
/home/horigome/easybuild/build/GCCcore/4.9.3/dummy-/gcc-4.9.3/obj/./gcc/xgcc:
error while loading shared libraries: libgcc_s.so.1: ELF
load command alignment not page-aligned
configure:3690:
$? = 127
configure:3727:
result:
configure:
failed program was:
https://gist.github.com/kometchtech/d6a1617531248273fb2647b49db8c827
When
building in some aarch64 environments there was never a
problem.
In addition, I set LD_LIBRARY_PATH to /usr/lib and
/usr/lib64 in the problem environment,
but
the situation did not change.
However, when configure is executed in the current
directory, this error did not occur.
If there are problems other than LD_LIBRARY_PATH, which one
should be checked?
Please kindly advise.
Best regards.