Re: [tip:x86/x32] x32: Drop non-__vdso weak symbols from the x32VDSO

From: H. Peter Anvin
Date: Thu Feb 23 2012 - 09:37:16 EST


On 02/23/2012 02:55 AM, Ingo Molnar wrote:
>
> * tip-bot for H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
>> Commit-ID: 862ae3132dc393ab6ea750b9ee9e0e1c276b9abb
>> Gitweb: http://git.kernel.org/tip/862ae3132dc393ab6ea750b9ee9e0e1c276b9abb
>> Author: H. Peter Anvin <hpa@xxxxxxxxx>
>> AuthorDate: Wed, 22 Feb 2012 20:37:10 -0800
>> Committer: H. Peter Anvin <hpa@xxxxxxxxx>
>> CommitDate: Wed, 22 Feb 2012 20:40:07 -0800
>>
>> x32: Drop non-__vdso weak symbols from the x32 VDSO
>
> One of the recent x32 commit broke the build on some configs:
>
> VDSO arch/x86/vdso/vdsox32.so.dbg
> /usr/bin/ld: arch/x86/vdso/vgetcpu-x32.o: relocation R_X86_64_64
> against symbol `.rodata' isn't supported in x32 mode
> arch/x86/vdso/vgetcpu-x32.o: could not read symbols: Bad value
> collect2: error: ld returned 1 exit status
>
> config attached.
>
> binutils-2.21.51, gcc-4.7.0.
>
> Thanks,
>
> Ingo

Yes, this is known: binutils-2.21.51 has some x32 support, but that
version of the ABI is too old for what the kernel needs; in other words
it's not functional.

-hpa

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