-
Hi,
When we use `p4c-bm2-ss` to compile the attached program, sometime we get the following error depend on the Clang/gcc versions.
```
test_128.p4(43): [--Werror=invalid] error: &&&: invalid mask …
-
Right now p4c supports `type bit mytypename;`, but not this:
```
enum bit myenum1_t {
A = 1,
B = 2
}
type myenum1_t mytypename;
```
It supports the enum definition, but not the `type` …
-
The comments in the attached program give references to places in the latest P4_16 language specification that seem to indicate that the program is trying to do something declared illegal in the speci…
-
We are seeing terrible elevated memory usage in def-use.
We start like this:
```
PassRepeated invoking DoSimplifyDefUse
ProcessDefUse invoking P4::ComputeWriteSet
heap after P4:…
-
When compiling a .p4 file as described in the readme, clang cannot find the `ebpf_xdp.h` header:
```
/tmp/xdp1.h:6:10: fatal error: 'ebpf_xdp.h' file not found
```
The header file is included in…
-
Some passes in p4c frontend will automatically merge 2 parser node into one. However, this could not be taken for granted if we consider the hardware constraints of the backend. For instance, there co…
-
This is something that always throws of first-time users of the compiler. In particular when they run `ctest` they see a bunch of failing tests because runtime dependencies of these tests are missing.…
-
cstrings are commonly used as "the string type" in p4c. However, they should be used with more care. The reason is that they are internalized, so each new string is stored forever in some global map.
…
-
See this PR: https://github.com/p4lang/p4c/pull/1736
This issue is filed to complete the work so that p4c generates type_info for table MatchField and Action param in p4info. This work needs more …
-
This was discussed in https://github.com/p4lang/p4c/pull/4347#issuecomment-2207101317.
Summary is that boost is problematic by itself and replacing boost::format is one of the critical steps to get…