diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2020-03-06 10:44:08 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-03-06 10:45:15 +0800 |
commit | cc60e742db35368698280c897178f3b9342394ac (patch) | |
tree | 914adcf40b32f49ebadc5a3316be1faee93edaeb /recipes-bsp/thermald/thermald_1.9.1.bb | |
parent | bba67420e6ae08e12d486247542a33de25d9ccff (diff) | |
download | meta-intel-cc60e742db35368698280c897178f3b9342394ac.tar.gz |
thermald: fix 32-bit build error with musl v1.2.0
Recent musl upgrades to v1.2.0 causing below error:
Error log:
../git/src/thd_trip_point.cpp: In member function 'bool cthd_trip_point::thd_trip_point_check(int, unsigned int, int, bool*)':
| ../git/src/thd_trip_point.cpp:250:19: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Werror=format=]
| 250 | thd_log_info("Too early to act zone:%d index %d tm %ld\n",
musl 1.2.0 have new feature:
time_t is now 64-bit on all archs (not just 64-bit archs)
Commit id:
https://git.musl-libc.org/cgit/musl/commit/?id=38143339646a4ccce8afe298c34467767c899f51
Release note link for musl 1.2.0:
https://git.musl-libc.org/cgit/musl/diff/
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-bsp/thermald/thermald_1.9.1.bb')
-rw-r--r-- | recipes-bsp/thermald/thermald_1.9.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-bsp/thermald/thermald_1.9.1.bb b/recipes-bsp/thermald/thermald_1.9.1.bb index e38e3f52..be68aa48 100644 --- a/recipes-bsp/thermald/thermald_1.9.1.bb +++ b/recipes-bsp/thermald/thermald_1.9.1.bb | |||
@@ -14,6 +14,7 @@ LICENSE = "GPLv2" | |||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" |
15 | 15 | ||
16 | SRC_URI = "git://github.com/intel/thermal_daemon/ \ | 16 | SRC_URI = "git://github.com/intel/thermal_daemon/ \ |
17 | file://0001-thd_trip_point-fix-32-bit-build-error-with-musl-v1.2.patch \ | ||
17 | " | 18 | " |
18 | SRCREV = "7e23f7cc4611fd7289014c9805749ec75d59bae0" | 19 | SRCREV = "7e23f7cc4611fd7289014c9805749ec75d59bae0" |
19 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |