Fabian Ruffy

Results 266 comments of Fabian Ruffy

Correct, the tests are collected here in CMake: https://github.com/p4lang/p4c/blob/main/backends/ebpf/CMakeLists.txt#L178 You can run a test like this: ``` backends/ebpf/run-ebpf-test.py -t kernel -c "build/p4c-ebpf" /mnt/storage/Projekte/gauntlet/modules/p4c "$@" testdata/p4_16_samples/action_call_table_ebpf.p4 ``` under the hood this...

You need a different compiler for this. Likely `p4c-pna-p4tc` instead.

> I started looking at this some time ago in #4297. I was probably too sneaky though. Still not complete, there is quite lot of things that break and I...

There is not much missing for C++20 support. It looks like there is just one small failure left.

> Hmm, the error is in boost, that might be hard to fix unless it is our bad usage of boost of course :-). Seems to be related to a...

> Hmm, the error is in boost, that might be hard to fix unless it is our bad usage of boost of course :-). Seems to be related to a...

> Personally I'm OK with the operator fixes to be there, but the boost should be separate. Yes, the changes were for testing purposes, I will move them into separate...

It looks like there is very little that can be done to fix the compilation issue sans fixing boost. I am not sure why this pops up with clang only...

@asl Any idea how to workaround this Boost C++20 bug? https://stackoverflow.com/a/67702145 It's the only thing blocking compilation for C++20 for our CI. Otherwise, #4663 is required.