lkml.org 
[lkml]   [2015]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: collect2: error: ld returned 1 exit status
From
Date
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



\
 
 \ /
  Last update: 2015-11-23 11:21    [W:0.057 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site