facebook / mvfst

An implementation of the QUIC transport protocol.
MIT License
1.5k stars 242 forks source link

Build fails on Ubuntu220.4 #331

Open djinnnn opened 8 months ago

djinnnn commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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