View Issue Details

IDProjectCategoryView StatusLast Update
0006707Kali Linux[All Projects] General Bugpublic2020-10-01 16:42
Reportervizt3r Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
Status newResolutionopen 
Product Version2020.3 
Target VersionFixed in Version 
Summary0006707: Error when compiling with `make` command
DescriptionSo i just upgraded the kernel version to 5.7.0 on kali 2020.3. And i wanted to installing wifi driver with rtl8723de chipset on my kali. When i am type "make" command on the terminal.. the error said "gcc: error: unrecognized command-line option `--param=allow-store-data-races=0`; did you mean `--allow-store-data-races`?".

I have opening issue on his github repository and he says don't know how to fix it, so he told me contact to bug report on kali.
Here is the repository of the wifi driver :

Here are some people who have had the same problem :
Steps To ReproduceError when trying to compile with "make" command



2020-09-06 07:09



2020-09-06 18:54

developer   ~0013397

This looks like it's coming from upstream - is the patch to the kernel that added it.

A workaround for the moment is to comment that line out in /usr/src/linux-headers-5.7.0-kali3-common/Makefile - this will allow the rtw88 driver to build, but I don't have the hardware to test that it works, unfortunately.


2020-09-07 01:35

reporter   ~0013398

Yes it works now on my kali machine. Thank you so much!


2020-09-07 15:02

administrator   ~0013399

The linux kernel that we ship is built with gcc 9 and that version still support that option. However the default gcc has changed to gcc 10 and that version has dropped the option, thus leading to this error.

Quoting /usr/share/doc/gcc-10/NEWS.gz:

    * The --param allow-store-data-races internal parameter has been removed in
      favor of a new official option -fallow-store-data-races. While default
      behavior is unchanged and the new option allows to correctly maintain a
      per compilation unit setting across link-time optimization, alteration of
      the default via --param allow-store-data-races will now be diagnosed and
      build systems have to be adjusted accordingly.


2020-09-08 08:06

administrator   ~0013401

It turns out it's really a bug in rtw88 build machinery. The makefile overrides the CC variable with "gcc" instead of letting the kernel build system take care of initializing it to the value that it has been configured with (which in our case is gcc-9).

See (this is a comment of Ben Hutchings, a Debian kernel maintainer).


2020-10-01 16:42

developer   ~0013516

I sent a pull request to rtw88 - which was merged, to remove this. It should work properly now, without editing the Makefile. I would suggest reverting the change to the Makefile, and pulling in the latest rtw88 git and testing it.

Issue History

Date Modified Username Field Change
2020-09-06 07:09 vizt3r New Issue
2020-09-06 07:09 vizt3r File Added: Screenshot_2020-09-03_06-56-50.png
2020-09-06 18:54 steev Note Added: 0013397
2020-09-07 01:35 vizt3r Note Added: 0013398
2020-09-07 15:02 rhertzog Note Added: 0013399
2020-09-08 08:06 rhertzog Note Added: 0013401
2020-10-01 16:42 steev Note Added: 0013516