Open jiriks74 opened 2 hours ago
I'm building the rosemary-t-oss
branch
The rosemary-t-oss2
branch fails too:
../../../../../../kernel/xiaomi/mt6785/drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:543:7: warning: variable 'shader_block' set b
ut not used [-Wunused-but-set-variable]
int shader_block, block_type, i, j, name_offset, data_offset, cnt, nr_hwc_blocks;
^
../../../../../../kernel/xiaomi/mt6785/drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:629:35: warning: variable 'data_offset' set b
ut not used [-Wunused-but-set-variable]
int nr_hwc_blocks, name_offset, data_offset;
^
../../../../../../kernel/xiaomi/mt6785/drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:772:23: error: a function declaration without
a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
int gator_gpu_pmu_init()
^
void
../../../../../../kernel/xiaomi/mt6785/drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/gpu/arm/midgard/platform/mtk_platform_common/mtk_mfg_counter.c:776:6: warning: variable 'nr_hwc_blocks' set
but not used [-Wunused-but-set-variable]
int nr_hwc_blocks, name_offset, data_offset;
^
3 warnings and 1 error generated.
While building this kernel for the EvolutionX ceustom ROM I got into several issues:
These two I bodged by using an if statement but the one below is harder one to fix:
Would you please help me in building this? I've already built both EvolutionX's and LineageOS's kernel and they both have issues with
trusty
dereferencing a null pointer and therefore crashing the kernel before the boot even properly starts.