Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] Workaround for compiler bug

Subject: Rare project developers

List archive

Re: [rare-dev] Workaround for compiler bug


Chronological Thread 
  • From: mc36 <>
  • To: , Alexander Gall <>, Frédéric LOUI <>
  • Subject: Re: [rare-dev] Workaround for compiler bug
  • Date: Thu, 15 Dec 2022 13:56:37 +0100

just one thing, also add the knob to the
https://bitbucket.software.geant.org/projects/RARE/repos/rare/browse/profiles/optimizer2.txt
just in case... :)

On 12/15/22 13:55, mc36 wrote:
hi,
well, so i don't have a tofino2 at hand so all i can tell you is that
the "no dead code elimination" was tested on the modem... according
to your finding, that is you had a model-only workaround, i'm afraid
to say a thing but worth a try... in the model, all the tests passed
after adding this hack to my tofino2 vm...
br,
cs

On 12/15/22 13:25, Alexander Gall wrote:
Hi Fr d ric

Thanks for helping to debug the issue with the dropped packets on
Tofino2. Do I understand correctly that disabling dead-code
eliminiation when compiling for Tofino2 is a workaround for this
problem until Intel fixes the bug (P4C-5045) in the compiler?

If so, I will add the --no-dead-code-elimination flag to the build
procedure for Tofino2-based platforms in the rare-nix repo.

My previous workaround (commit 09e14ee4 in the rare repo) only worked
on the model but not on the ASIC. I notice that it has already been
removed by the combination of commits 5b0e759 and 3d6d736. That's fine
but I'm not sure if it was intentional (I'm still unhappy with these
automated commits...).




Archive powered by MHonArc 2.6.19.

Top of Page