I'm not sure what happened here really, and I can't recreate it locally. It also appears to have built successfully in the archive since this too.
The error is because the wrong path for the GCC headers is passed (GCC_PLUGIN_HEADERS="-I/lib/x86_64-linux-gnu//plugin/include), but this comes directly from this line, and it works ok here:
plugin_dir := $(shell $(CC) -print-file-name= | sed 's,\(/4\.[0-9]\)\.[0-9],\1,')/plugin
I'm not sure what happened here really, and I can't recreate it locally. It also appears to have built successfully in the archive since this too.
The error is because the wrong path for the GCC headers is passed (GCC_PLUGIN_ HEADERS= "-I/lib/ x86_64- linux-gnu/ /plugin/ include) , but this comes directly from this line, and it works ok here:
plugin_dir := $(shell $(CC) -print-file-name= | sed 's,\(/4\ .[0-9]\ )\.[0-9] ,\1,')/ plugin