Bug 215820
Summary: | syntax error in prepare target of main Makefile | ||
---|---|---|---|
Product: | Linux | Reporter: | Christian (cparg) |
Component: | Kernel | Assignee: | Virtual assignee user for helpdesk (kernelorg-helpdesk) |
Status: | NEW --- | ||
Severity: | normal | CC: | nicolas |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Christian
2022-04-08 10:44:17 UTC
Hi,
thanks for reporting the issue.
> if [ "gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)" != ""gcc (GCC) 8.5.0
> 20210514 (Red Hat 8.5.0-4)"" ]; then \
> echo >&2 "warning: the compiler differs from the one used to build
> the kernel"; \
> echo >&2 " The kernel was built by: "gcc (GCC) 8.5.0 20210514 (Red
> Hat 8.5.0-4)""; \
> echo >&2 " You are using: gcc (GCC) 8.5.0 20210514 (Red
> Hat 8.5.0-4)"; \
> fi
> /bin/sh: -c: line 0: syntax error near unexpected token `('
> /bin/sh: -c: line 0: `if [ "gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)" !=
> ""gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)"" ]; then \'
> make[2]: *** [Makefile:1717: prepare] Error 1
> make[2]: Leaving directory '/usr/src/kernels/5.17.1-1.el8.elrepo.x86_64'
>
>
> Note the double double-quotes in the GCC Version comparison !
this should not happen (since v5.17-rc2) as commit 129ab0d2d9f3 ("kbuild: do not quote string values in include/config/auto.conf", 2021-12-14) removes double quotes from `include/config/auto.conf`. Do you still hit this issue?
Kind regards,
Nicolas
|