diff options
| author | Sami Tolvanen <[email protected]> | 2025-02-13 21:16:14 +0000 |
|---|---|---|
| committer | Vasily Gorbik <[email protected]> | 2025-02-18 17:49:24 +0000 |
| commit | 173767c218cc1da74704e7863f165ac8a9796f3e (patch) | |
| tree | f064dddca26239dc36c6669e7c619221ac4b4067 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | s390: Update defconfigs (diff) | |
| download | kernel-173767c218cc1da74704e7863f165ac8a9796f3e.tar.gz kernel-173767c218cc1da74704e7863f165ac8a9796f3e.zip | |
s390/purgatory: Use -D__DISABLE_EXPORTS
The object files in purgatory do not export symbols, so disable exports
for all the object files, not only sha256.o, with -D__DISABLE_EXPORTS.
This fixes a build failure with CONFIG_GENDWARFKSYMS, where we would
otherwise attempt to calculate symbol versions for purgatory objects and
fail because they're not built with debugging information:
error: gendwarfksyms: process_module: dwarf_get_units failed: no debugging information?
make[5]: *** [../scripts/Makefile.build:207: arch/s390/purgatory/string.o] Error 1
make[5]: *** Deleting file 'arch/s390/purgatory/string.o'
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Sami Tolvanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Vasily Gorbik <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
