Skip to content

'make headers' does not create all required compiler-gcc headers #804

@manuel-pietsch

Description

@manuel-pietsch

When running the regression tests with ./scripts/update_suite.rb on my system, multiple tests complain that the file linux-headers/include/linux/compiler-gcc12.h is missing. This persists even after running make header.

I am using zsh, gcc version 12 and a manjaro linux distribution (which is based on arch).
The first problem seems to be that compgen -c gcc- in zsh does not filter for gcc- and outputs all possible commands.
If I am running bash -c "compgen -c gcc-", the output looks like this:

gcc-ar
gcc-nm
gcc-ranlib
gcc-ar
gcc-nm
gcc-ranlib

This does, besides including everything twice, not contain the version numbers at the end like expected.
As a workaround I have copied linux-headers/include/linux/compiler-gcc5.h manually and everything seems to be working now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions