https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121259

            Bug ID: 121259
           Summary: [15/16 regression] <stdint.h> can't be included for
                    bpf-unknown-none
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
                CC: jemarch at gcc dot gnu.org
  Target Milestone: ---

We had a report in Gentoo of bpf-toolchain not working for building DTrace on a
no-multilib system (https://bugs.gentoo.org/959876).

Poking a bit at that, I noticed this:
```
$ echo "#include <stdint.h>" | bpf-unknown-none-gcc -x c -
In file included from <stdin>:1:
/usr/lib/bpf-toolchain/lib/gcc/bpf-unknown-none/15/include/stdint.h:11:16:
fatal error: stdint.h: No such file or directory
   11 | # include_next <stdint.h>
      |                ^~~~~~~~~~
compilation terminated.
```

It works fine with GCC 14. I guess it broke with r15-6514-g995d1c2b7cca9b?

Reply via email to