[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200902141431.GV28786@gate.crashing.org>
Date: Wed, 2 Sep 2020 09:14:31 -0500
From: Segher Boessenkool <segher@...nel.crashing.org>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>,
Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@....fr>,
Joe Lawrence <joe.lawrence@...hat.com>,
Kees Cook <keescook@...omium.org>,
Fangrui Song <maskray@...gle.com>,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 2/2] powerpc/vdso32: link vdso64 with linker
Hi!
On Wed, Sep 02, 2020 at 06:46:45AM +0000, Christophe Leroy wrote:
> ld crashes:
>
> LD arch/powerpc/kernel/vdso32/vdso32.so.dbg
> /bin/sh: line 1: 23780 Segmentation fault (core dumped)
> ppc-linux-ld -EB -m elf32ppc -shared -soname linux-vdso32.so.1
> --eh-frame-hdr --orphan-handling=warn -T
> arch/powerpc/kernel/vdso32/vdso32.lds
> arch/powerpc/kernel/vdso32/sigtramp.o
> arch/powerpc/kernel/vdso32/gettimeofday.o
> arch/powerpc/kernel/vdso32/datapage.o
> arch/powerpc/kernel/vdso32/cacheflush.o
> arch/powerpc/kernel/vdso32/note.o arch/powerpc/kernel/vdso32/getcpu.o -o
> arch/powerpc/kernel/vdso32/vdso32.so.dbg
> make[4]: *** [arch/powerpc/kernel/vdso32/vdso32.so.dbg] Error 139
>
>
> [root@...alhost linux-powerpc]# ppc-linux-ld --version
> GNU ld (GNU Binutils) 2.26.20160125
[ Don't build as root :-P ]
Try with a newer ld? If it still happens with current versions, please
open a bug report? https://sourceware.org/bugzilla
Segher
Powered by blists - more mailing lists