Hi Anton, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 691429e13dfaf5b0994b07cc166db41bd608ee3d commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang date: 9 months ago config: powerpc-ppc64e_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 # save the attached .config to linux build tree make.cross ARCH=powerpc All errors (new ones prefixed by >>): /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000009f8 overlaps table[1] FDE at 0000000000000a54. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000a54 overlaps table[2] FDE at 0000000000000ac8. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000ac8 overlaps table[3] FDE at 0000000000000adc. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000adc overlaps table[4] FDE at 00000000000004c4. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000a10 overlaps table[6] FDE at 0000000000000a68. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[6] FDE at 0000000000000a68 overlaps table[7] FDE at 0000000000000a80. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000a80 overlaps table[8] FDE at 0000000000000a98. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000a98 overlaps table[9] FDE at 0000000000000ab0. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000ab0 overlaps table[10] FDE at 0000000000000754. /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000a28 overlaps table[12] FDE at 0000000000000a3c. >> collect2: error: ld returned 1 exit status -- /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32 /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format >> collect2: error: ld returned 1 exit status --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation