Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1275188 > unrolled thread

Re: collect2: error: ld returned 1 exit status

Started byMichael Ellerman <mpe@ellerman.id.au>
First post2015-11-23 11:00 +0100
Last post2015-11-24 21:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: collect2: error: ld returned 1 exit status Michael Ellerman <mpe@ellerman.id.au> - 2015-11-23 11:00 +0100
    Re: collect2: error: ld returned 1 exit status Fengguang Wu <fengguang.wu@intel.com> - 2015-11-23 13:50 +0100
      Re: Re: collect2: error: ld returned 1 exit status Breno Leitao <brenohl@br.ibm.com> - 2015-11-24 21:10 +0100

#1275188 — Re: collect2: error: ld returned 1 exit status

FromMichael Ellerman <mpe@ellerman.id.au>
Date2015-11-23 11:00 +0100
SubjectRe: collect2: error: ld returned 1 exit status
Message-ID<qxW4H-8tT-9@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1275291

FromFengguang Wu <fengguang.wu@intel.com>
Date2015-11-23 13:50 +0100
Message-ID<qxYJc-1N0-11@gated-at.bofh.it>
In reply to#1275188
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1276736

FromBreno Leitao <brenohl@br.ibm.com>
Date2015-11-24 21:10 +0100
Message-ID<qys4y-4mv-13@gated-at.bofh.it>
In reply to#1275291
Hi Fengguang,

On 11/23/2015 10:45 AM, Fengguang Wu wrote:
> 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.
I already opened a Debian bug to track the backport of this fix into
Debian's GCC 5.2.1.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806160

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web