]> git.ipfire.org Git - thirdparty/kmod.git/commit
scripts/sanitizer-env.sh: remove incorrect $CC quotes
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 23 May 2025 11:01:29 +0000 (12:01 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 5 Jun 2025 06:38:02 +0000 (01:38 -0500)
commitdbc686e8b337bc93679b2b57c32f7cd22e935915
tree04c1af12dfba674907a7d7477ad771e2cdbdc2e9
parentb1e6f11f36b56f754f4a9e1f2f1a0061f5ffe8e6
scripts/sanitizer-env.sh: remove incorrect $CC quotes

On Arch (at least) the shell chokes when the CC variable contains space,
for the given construct - $("$CC" foobar).

Since we variable is likely to contain the executable and arguments, the
quotation is wrong. Drop it and ultimately resolve the LD_PRELOAD
issues... That said, the tests still fail over here, segfault-ing in (or
due to) the LD_PRELOAD library init-modules.so.

Fixes: f5b4ff82 ("Add support for clang sanitizers")
Fixes: c7686797 ("scripts/sanitizer-env.sh: support new clang 19 DSO")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/365
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
scripts/sanitizer-env.sh