[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151123124518.GA22401@wfg-t540p.sh.intel.com>
Date: Mon, 23 Nov 2015 20:45:18 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: Anton Blanchard <anton@...ba.org>, kbuild-all@...org,
linux-kernel@...r.kernel.org
Subject: Re: collect2: error: ld returned 1 exit status
Hi Michael,
On Mon, Nov 23, 2015 at 08:54:53PM +1100, Michael Ellerman wrote:
> 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
I'm using Debian's cross gcc 5.2.1:
gcc-powerpc64le-linux-gnu 5.2.1-14+really5.2.1-13
It may take some time for debian to catchup up with the newer version.
Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists