Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
On lustre-master, building lustre-ppc on ppc64 failed with
steps:
sh autogen.sh ./configure --disable-server make rpms checking for /usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include/generated/autoconf.h... yes checking for /usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include/linux/version.h... no checking for /usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include/generated/uapi/linux/version.h... yes checking for /usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include/linux/kconfig.h... yes checking for external module build target... M checking that modules can be built at all... no configure: error: Kernel modules cannot be built. Consult config.log for details. If you are trying to build with a kernel-source rpm, consult build/README.kernel-source error: Bad exit status from /tmp/rpmbuild-lustre-jenkins-dgtzTq18/TMP/rpm-tmp.noYrbx (%build) RPM build errors: Bad exit status from /tmp/rpmbuild-lustre-jenkins-dgtzTq18/TMP/rpm-tmp.noYrbx (%build) make: *** [rpms] Error 1
config.log
configure:13732: result: M configure:13745: checking that modules can be built at all configure:13768: cp conftest.c build && make -d modules LD=/bin/ld -m elf64ppc CC=gcc -m64 -f /tmp/rpmbuild-lustre-jenkins-kwZS97I2/BUILD/lustre-2.8.52_72_ged30857/b NUX_CONFIG=/usr/src/kernels/3.10.0-327.13.1.el7.ppc64/.config LINUXINCLUDE= -I/usr/src/kernels/3.10.0-327.13.1.el7.ppc64/arch/powerpc/include -Iinclude -Iarch/powerp usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include -Iinclude2 -I/usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include/uapi -Iinclude/generated -I/usr/src/kernels/3.10.0- /powerpc/include/uapi -Iarch/powerpc/include/generated/uapi -I/usr/src/kernels/3.10.0-327.13.1.el7.ppc64/include/uapi -Iinclude/generated/uapi -include /usr/src/kern .ppc64/include/linux/kconfig.h -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/kernels/3.10.0-327.13.1.el7.ppc64 EXTRA_CFLAGS=-Werror-implicit g -I/tmp/rpmbuild-lustre-jenkins-kwZS97I2/BUILD/lustre-2.8.52_72_ged30857/libcfs/include -I/tmp/rpmbuild-lustre-jenkins-kwZS97I2/BUILD/lustre-2.8.52_72_ged30857/lnet d-lustre-jenkins-kwZS97I2/BUILD/lustre-2.8.52_72_ged30857/lustre/include M=/tmp/rpmbuild-lustre-jenkins-kwZS97I2/BUILD/lustre-2.8.52_72_ged30857/build /bin/ld: unrecognized option '-Wl,-z,relro' /bin/ld: use the --help option for usage information make[2]: *** [/tmp/rpmbuild-lustre-jenkins-kwZS97I2/BUILD/lustre-2.8.52_72_ged30857/build/conftest.ko] Error 1 make[1]: *** [modules] Error 2 configure:13771: $? = 2