aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2021-05-23 00:41:53 +0000
committerLinus Torvalds <[email protected]>2021-05-23 01:09:07 +0000
commit4d1cd3b2c5c1c32826454de3a18c6183238d47ed (patch)
tree4d6dfb719e52d8f938803e1ef8954781d6f0c50a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentipc/mqueue, msg, sem: avoid relying on a stack reference past its expiry (diff)
downloadkernel-4d1cd3b2c5c1c32826454de3a18c6183238d47ed.tar.gz
kernel-4d1cd3b2c5c1c32826454de3a18c6183238d47ed.zip
tools/testing/selftests/exec: fix link error
Fix the link error by adding '-static': gcc -Wall -Wl,-z,max-page-size=0x1000 -pie load_address.c -o /home/yang/linux/tools/testing/selftests/exec/load_address_4096 /usr/bin/ld: /tmp/ccopEGun.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `stderr@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /tmp/ccopEGun.o(.text+0x158): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:25: tools/testing/selftests/exec/load_address_4096] Error 1 Link: https://lkml.kernel.org/r/[email protected] Fixes: 206e22f01941 ("tools/testing/selftests: add self-test for verifying load alignment") Signed-off-by: Yang Yingliang <[email protected]> Cc: Chris Kennelly <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions