Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Ubuntu220.4 #331

Open
djinnnn opened this issue Mar 15, 2024 · 3 comments
Open

Build fails on Ubuntu220.4 #331

djinnnn opened this issue Mar 15, 2024 · 3 comments

Comments

@djinnnn
Copy link

djinnnn commented Mar 15, 2024

I follow the building steps in README.md, but got this Error and build failed.
Error message:
mvfst/quic/state/test/AckHandlersTest.cpp:7779:1: internal compiler error: in invert, at value-range.cc:1811
7779 | } // namespace quic
| ^

@junkai0531
Copy link

edit quic/state/test/CMakeLists.txt and delete this:

quic_add_test(TARGET AckHandlersTest
SOURCES
AckEventTestUtil.cpp
AckHandlersTest.cpp
DEPENDS
mvfst_server
mvfst_state_machine
mvfst_state_ack_handler
mvfst_test_utils
)

@lnicco
Copy link
Contributor

lnicco commented Mar 18, 2024

ugh, yeah unfortunately the workaround recommended by @junkai0531 is the fastest way forward, as this seems to be a compiler issue.
Do you mind pasting here your compiler version, so that we can try to reproduce?

@djinnnn
Copy link
Author

djinnnn commented Mar 20, 2024

Thx, I solved the problem by editing the CMakeLists.txt file.
And my compiler version is
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0

facebook-github-bot pushed a commit that referenced this issue May 17, 2024
Summary:
This fixes a compiler bug that is hit when building AckHandlersTest.cpp using gcc11.

This was reported in #331 and started happening consistently when the Github CI build was updated to use Ubuntu 22.04.

Reviewed By: chadaustin, sharmafb

Differential Revision: D57506683

fbshipit-source-id: a156a9ba7641f395ea9da01ec084fdccb3d6a88b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants