https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128584
--- Comment #6 from Vineet Gupta <vineetg at gcc dot gnu.org> --- (In reply to Uroš Bizjak from comment #3) > (In reply to Jose E. Marchesi from comment #2) > > > If building BPF with a GCC that supports the __arena address space, just do > > not #define it. > GCC #defines __SEG_GS and __SEG_FS when __seg_gs and __seg_fs address spaces > are supported. Perhaps we shall follow this example and #define __ARENA when > __arena address space is available. I'd prefer __BPF_FEATURE_ARENA as the prefix is used currently by GCC and CLANG to signal feature support (clang exposes __BPF_FEATURE_ADDR_SPACE_CASE, which an't be defined verbatim as it signals support for the attr which GCC is not doing for the time being).
