Upgrading from Ubuntu 14.04.1 to 18.04.1#72
Conversation
| /* 10xxxxxx */ | ||
| *--ptr2 = ((uc | 0x80) & 0xBF); | ||
| uc >>= 6; | ||
| break; |
There was a problem hiding this comment.
This technically changes the behavior, instead of falling through all the cases it only does the one.
Although I'm not sure what the expected behavior is anyway. Should we just get a new cJSON version?
There was a problem hiding this comment.
edit: added comments to let the statement fallthrough without triggering the compiler warning. i will look into new cJSON versions.
|
@onvm whats so different about the public repo |
CI MessageYour results will arrive shortly |
CI MessageError: ERROR: Failed to fetch and checkout pull request Linter Passed |
|
@onvm public repo = no pexpect pwd. @AaronCoplan 👍 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@onvm one more time with the right response message? |
CI MessageYour results will arrive shortly |
|
@onvm show people what happens when you're busy working |
CI MessageAnother CI run in progress, please try again in 15 minutes |
CI MessageRun successful see results: Linter Failedexamples/aes_decrypt/aes.c:523: If an else has a brace on one side, it should have it on both [readability/braces] [5] |
|
@dennisafa were you able to get mTCP running with this? |
i haven't had a chance to try out mTCP quite yet. i'll get that done by the end of the day. |
|
As discussed in the meeting, mTCP might have some code not compatible with ubuntu 18.04.1. This pr should still be good to merge as long as Pktgen & onvm works. Will setup the ubuntu 18.04.1 cloudlab experiment and merge if everything functions as expected. |
mTCP compatibility could be made into a separate PR. |
|
Yeah, and it would be in the mtcp repo anyway. |
Modifies necessary files to make ONVM compatible with Ubuntu 18.04.1 LTS
Summary:
With the new Ubuntu version comes an upgraded version of gcc, which has stricter checks in place with regards to strict aliasing, formatting, etc. This pull request modifies code where these errors occured.
Usage:
Merging notes:
TODO before merging :
Test Plan:
Testing was done on a bare-metal cloudlab node running 18.04.1. Speed tester was run with the following results:
Update: testing with pktgen resulted in a peak of 7 million pps.
Review:
Sanity checks, assigned to @koolzz
Code style, assigned to @koolzz
Code design, assigned to @koolzz
Performance, assigned to @koolzz
Documentation, assigned to @koolzz