New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/pull/25702#issuecomment-711208613 Comment: FYI: build for `aarch64` fails w/ `gcc10` because of the `-mgeneral-regs-only` compiler flag: ```cc In file included from ./include/linux/printk.h:405, from ./include/linux/kernel.h:15, from ./include/linux/list.h:9, from ./include/linux/smp.h:12, from ./include/linux/tracepoint.h:15, from ./drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:32, from ./drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:34, from drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_rq_dlg_helpers.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_rq_dlg_helpers.c:26: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_rq_dlg_helpers.c: In function 'print__dlg_sys_params_st': ./include/linux/dynamic_debug.h:157:26: error: '-mgeneral-regs-only' is incompatible with the use of floating-point types 157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^ ./include/linux/dynamic_debug.h:129:3: note: in definition of macro '__dynamic_func_call' 129 | func(&id, ##__VA_ARGS__); \ | ^~~~ ./include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' 157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/printk.h:420:2: note: in expansion of macro 'dynamic_pr_debug' 420 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ ./drivers/gpu/drm/amd/amdgpu/../display/include/logger_types.h:57:25: note: in expansion of macro 'pr_debug' 57 | #define DC_LOG_DML(...) pr_debug("[DML]:"__VA_ARGS__) | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dml_logger.h:33:30: note: in expansion of macro 'DC_LOG_DML' 33 | #define dml_print(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_rq_dlg_helpers.c:140:2: note: in expansion of macro 'dml_print' 140 | dml_print("DML_RQ_DLG_CALC: t_mclk_wm_us = %3.2f\n", dlg_sys_param.t_mclk_wm_us); | ^~~~~~~~~ ./include/linux/dynamic_debug.h:157:26: error: '-mgeneral-regs-only' is incompatible with the use of floating-point types 157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^ ./include/linux/dynamic_debug.h:129:3: note: in definition of macro '__dynamic_func_call' 129 | func(&id, ##__VA_ARGS__); \ | ^~~~ ./include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' 157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/printk.h:420:2: note: in expansion of macro 'dynamic_pr_debug' 420 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ ./drivers/gpu/drm/amd/amdgpu/../display/include/logger_types.h:57:25: note: in expansion of macro 'pr_debug' 57 | #define DC_LOG_DML(...) pr_debug("[DML]:"__VA_ARGS__) | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dml_logger.h:33:30: note: in expansion of macro 'DC_LOG_DML' 33 | #define dml_print(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_rq_dlg_helpers.c:140:2: note: in expansion of macro 'dml_print' 140 | dml_print("DML_RQ_DLG_CALC: t_mclk_wm_us = %3.2f\n", dlg_sys_param.t_mclk_wm_us); | ^~~~~~~~~ ```