Skip to content

nvidia_linux: Ignore CC mismatch #1509

Closed
pmenzel opened this issue Dec 2, 2019 · 1 comment
Closed

nvidia_linux: Ignore CC mismatch #1509

pmenzel opened this issue Dec 2, 2019 · 1 comment

Comments

@pmenzel
Copy link
Collaborator

pmenzel commented Dec 2, 2019

To help the bee queen, set

IGNORE_CC_MISMATCH=1

in future bee files files for nvidia_linux.

wwwutz added a commit that referenced this issue Dec 5, 2019
rebuilding the drivers resulted in

```
[BEE] make SYSSRC=/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/tmp/linux-4.14.87-236.x86_64/source module
make[1]: Entering directory '/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/tmp/linux-4.14.87-236.x86_64/source'

Compiler version check failed:

The major and minor number of the compiler used to
compile the kernel:

gcc version 7.3.0 (GCC)

does not match the compiler used here:

cc (GCC) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


It is recommended to set the CC environment variable
to the compiler that was used to compile the kernel.

The compiler version check can be disabled by setting
the IGNORE_CC_MISMATCH environment variable to "1".
However, mixing compiler versions between the kernel
and kernel modules can result in subtle bugs that are
difficult to diagnose.

*** Failed CC version check. Bailing out! ***
```

fixed by feeding `IGNORE_CC_MISMATCH=1`.

refs: #1505 / #1509
@pmenzel
Copy link
Collaborator Author

pmenzel commented Dec 19, 2019

The merge/pull #1526 did not use the tag Fixes, so this issue was not closed automatically.

@pmenzel pmenzel closed this as completed Dec 19, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant