summaryrefslogtreecommitdiff
path: root/fs/proc/uid.c
diff options
context:
space:
mode:
authorAlistair Strachan <astrachan@google.com>2018-05-22 17:38:34 -0700
committerAlistair Strachan <astrachan@google.com>2018-05-22 18:10:05 -0700
commitc3c51ea38a927e64e9e107d6d794a6e62c3f5731 (patch)
tree43f5a88aab82c5c176d4532635658ad612b27c62 /fs/proc/uid.c
parentecf86ddd92cf4b4b52751838f8a6377071086c1d (diff)
x86: vdso: Fix leaky vdso linker with CC=clang.
The vdso{32,64}.so can fail to build when CC=clang when clang tries to find a suitable GCC toolchain to link these libraries with. /usr/bin/ld: arch/x86/entry/vdso/vclock_gettime.o: access beyond end of merged section (782) This happens because the host environment leaked into the CROSS_COMPILE environment due to the way clang searches for suitable GCC toolchains. Most of the time this goes unnoticed because the host linker is new enough to work anyway, but on this particular machine it was not. Extract the needed --target and --gcc-toolchain flags added in the top level Makefile from KBUILD_CFLAGS. Bug: 63889157 Change-Id: If7d4097d1d2eaf95f18d0295483bde8792a06844 Signed-off-by: Alistair Strachan <astrachan@google.com>
Diffstat (limited to 'fs/proc/uid.c')
0 files changed, 0 insertions, 0 deletions