linux-next: build failure after merge of the thermal tree
Mark Brown
maintainerHi all,
After merging the thermal tree, today's linux-next build (arm_multi_v7 defconfig) failed like this:
arm-linux-gnueabihf-ld: drivers/thermal/amlogic_thermal.o: in function `amlogic_thermal_probe_sm':
/tmp/next/build/drivers/thermal/amlogic_thermal.c:196:(.text+0x2f4): undefined reference to `meson_sm_get'
arm-linux-gnueabihf-ld: /tmp/next/build/drivers/thermal/amlogic_thermal.c:205:(.text+0x320): undefined reference to `meson_sm_get_thermal_calib'
Caused by commit
b21d88de69184 (thermal/drivers/amlogic: Add support for secure monitor calibration readout)
I have used the tree from next-20260526 instead.
Quoted 9 lines · Mark Brown
Hi all,
After merging the thermal tree, today's linux-next build (
arm_multi_v7defconfig) failed like this:arm-linux-gnueabihf-ld:
drivers/thermal/amlogic_thermal.o: in function `amlogic_thermal_probe_sm':
/tmp/next/build/drivers/thermal/amlogic_thermal.c:196:(.text+0x2f4): undefined reference to `meson_sm_get'
arm-linux-gnueabihf-ld: /tmp/next/build/drivers/thermal/amlogic_thermal.c:205:(.text+0x320): undefined reference to `meson_sm_get_thermal_calib'
Quoted 5 lines
Caused by commit
b21d88de69184(thermal/drivers/amlogic: Add support for secure monitor calibration readout)I have used the tree from next-20260526 instead.
Hi Mark,
Sorry for the noise on this one.
I can reproduce it on this commit, it seems it would need to add a #ifdef CONFIG_MESON_SM and a else stub for those references.
What is the path to solve this issue ?
Signature · 2 lines
Best regards, Ronald
Mark Brown
maintainerQuoted 9 lines · Ronald Claveau
Quoted 1 line · Mark Brown
/tmp/next/build/drivers/thermal/amlogic_thermal.c:196:(.text+0x2f4): undefined reference to `meson_sm_get'
Sorry for the noise on this one.
I can reproduce it on this commit, it seems it would need to add a#ifdef CONFIG_MESON_SMand a else stub for those references.What is the path to solve this issue ?
That sounds like a perfectly reasonable fix, or a dependency. I'd send a patch fixing the issue given that the code is still in the tree, usually it's either an incremental fix or the original commit will be dropped and a whole new version sent.