[PATCH 2/2] powerpc/vdso32: link vdso64 with linker
Christophe Leroy
christophe.leroy at csgroup.eu
Thu Sep 3 01:43:03 AEST 2020
Hi,
Le 02/09/2020 à 16:14, Segher Boessenkool a écrit :
> 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 at localhost 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
Yes it works with 2.30 and 2.34
But minimum for building kernel is supposed to be 2.23
Christophe
More information about the Linuxppc-dev
mailing list