Linux: Remove linker option "-z common-page-size=4096" for arm32

Created on 16 Apr 2019  路  8Comments  路  Source: ClangBuiltLinux/linux

common-page-size is not supported by LLD and should be removed in similar fashion to #31.

The line in question is:
https://github.com/ClangBuiltLinux/linux/blob/6f0d349d922ba44e4348a17a78ea51b7135965b1/arch/arm/vdso/Makefile#L14

[ARCH] arm32 [BUG] linux [FIXED][LINUX] 5.3 [FIXED][LLVM] 9 [TOOL] lld

Most helpful comment

All 8 comments

That patch will need to be rebased on RMK's latest tree because of http://git.armlinux.org.uk/cgit/linux-arm.git/commit/?id=fe00e50b2db8c60e4ec90befad1f5bab8ca2c800.

FWIW: https://bugs.llvm.org/show_bug.cgi?id=38774 support was added to LLD by @smithp35 in https://reviews.llvm.org/rL360593. Let's keep this bug open until the kernel patch removing the last trace of -z common-page-size= lands.

Was this page helpful?
0 / 5 - 0 ratings