Closed martenrichter closed 6 months ago
Thanks for reporting this, Marten! We just noticed the issue internally as well. We're working on a fix, we should have that landed later this week.
For what it's worth, our current theory is that this was caused by e521a00feb2fbad4d81662b44fd8f6642013709c, not https://github.com/google/quiche/commit/f0aac12c3d3b0b6b965cca434666e911bc888550.
e521a00feb2fbad4d81662b44fd8f6642013709c changed Iterator::iterator_category
to mark the iterator as random access. This means lookups are O(1)
, not O(n)
. std::lower_bound()
would benefit from it. However, std::lower_bound()
uses std::advance()
, which requires a different set of methods to be implemented on the iterator on different platforms. Envoy builds with gcc
also failed. d3bc5ffc929b0895ae9e16774069a04ae6fe3c58 just landed and should fix it. Please let me know if it still doesn't compile with the exact error message. Thanks.
For what it's worth, our current theory is that this was caused by e521a00, not f0aac12.
Interesting, that was also my theory, but I went through all commits through the history and this was the position where it failed,but it may be the temporal ordering was not the ordering inside the branch.
e521a00 changed
Iterator::iterator_category
to mark the iterator as random access. This means lookups areO(1)
, notO(n)
.std::lower_bound()
would benefit from it. However,std::lower_bound()
usesstd::advance()
, which requires a different set of methods to be implemented on the iterator on different platforms. Envoy builds withgcc
also failed. d3bc5ff just landed and should fix it. Please let me know if it still doesn't compile with the exact error message. Thanks.
I can confirm that my CI/CD jobs have now succeeded in Linux, so I guess it is fixed. Thank you very much!
Thank you for confirming.
I run a weekly update on my plugin regarding libquiche. This week, it fails (only for Linux, not for Windows or Mac) with the following message:
I can not make sense of the message. It is caused by the following commit: https://github.com/google/quiche/commit/f0aac12c3d3b0b6b965cca434666e911bc888550 it worked with 85ccecd18c57a81b22b8bc38bbe1455ad83c7229 . Given the content of the commit, I can not understand why the problem occurs. It may be that the headers' order was changed.
Compiler should be