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

Marc Poulhiès <dkm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jemarch at gcc dot 
gnu.org

--- Comment #2 from Marc Poulhiès <dkm at gcc dot gnu.org> ---
After discussing on IRC, C++ (or anything != C) is not supported by BPF.
The fix is probably to display an error when using anything else than the C FE.

The Rust FE gives another error:
https://c.godbolt.org/z/TeWa3cshd

bpf-unknown-gcc: warning: <source>: linker input file unused because linking
not done

Not sure why it does not even use crab1 in this case.

Reply via email to