From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754569AbbKWJzE (ORCPT ); Mon, 23 Nov 2015 04:55:04 -0500 Received: from ozlabs.org ([103.22.144.67]:39037 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754313AbbKWJzB (ORCPT ); Mon, 23 Nov 2015 04:55:01 -0500 Message-ID: <1448272493.3452.4.camel@ellerman.id.au> Subject: Re: collect2: error: ld returned 1 exit status From: Michael Ellerman To: kbuild test robot , Anton Blanchard Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org Date: Mon, 23 Nov 2015 20:54:53 +1100 In-Reply-To: <201511220951.EHLYd8lw%fengguang.wu@intel.com> References: <201511220951.EHLYd8lw%fengguang.wu@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2015-11-22 at 09:05 +0800, kbuild test robot wrote: > Hi Anton, > > FYI, the error/warning still remains. ... > /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 Hi Fengguang, How new is your GCC? This looks like a bug that was fixed recently (September) in GCC: https://github.com/gcc-mirror/gcc/commit/0012c439035bc1d5843e5c8e72c6c5fad357d389 cheers