mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fwd: Incorrect thinlto cache directory path in Makefile
@ 2024-05-11 11:18 Bagas Sanjaya
  2024-05-12 13:04 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2024-05-11 11:18 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Kernel Build System
  Cc: Sami Tolvanen, Kees Cook, Masahiro Yamada, Xu Zhen

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

Hi,

Xu Zhen <xuzhen@fastmail.com> reported on Bugzilla (https://bugzilla.kernel.org/show_bug.cgi?id=218825) thinlto build directory problem (especially on
DKMS modules). He wrote:

> In Makefile, the ld flag `--thinlto-cache-dir' is set to
> `$(extmod_prefix).thinlto-cache'. But at that time, the variable extmod_prefix
> had not been assigned yet. Therefore, the thinlto cache dir is always created
> in the current directory.
> 
> Even worse, the cache dir cannot be deleted when executing `make clean'. This
> is because its path was written as `$(KBUILD_EXTMOD)/.thinlto-cache' in the
> clean: target.
> 
> Some users have been troubled by it: https://github.com/dell/dkms/issues/292
> 
> This bug was introduced by commit dc5723b02e523b2c4a68667f7e28c65018f7202f

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-12 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-11 11:18 Fwd: Incorrect thinlto cache directory path in Makefile Bagas Sanjaya
2024-05-12 13:04 ` Masahiro Yamada
2024-05-12 13:14   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®