Summary: | media-video/vlc-3.0.11.1 missing <limits> fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Geoff Leach <gl> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=760117 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to #include <limits> |
re g++11, please file https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide in a separate bug and we can speak to the toolchain folks. With the gcc-11 ICE resolved, same missing <limits> issue (naturally) then arises. I've opened bug 767769. This one can be closed (which I'll do if I can). *** This bug has been marked as a duplicate of bug 767769 *** *** This bug has been marked as a duplicate of bug 767796 *** (In reply to Geoff Leach from comment #3) > > *** This bug has been marked as a duplicate of bug 767769 *** sorry, wrong bug number, is dupe of 767796 |
Created attachment 678415 [details, diff] patch to #include <limits> Two files need #include <limits> otherwise with clang++-10 get e.g. demux/adaptive/playlist/SegmentInformation.cpp:397:23: error: no member named 'numeric_limits' in namespace 'std' if(number == std::numeric_limits<uint64_t>::max()) Also (separate issue) with g++-11 I'm getting internal compiler errors, but don't have g++-10 installed to test patch with it video_chroma/copy.c: In function ‘CopyFromUswc’: video_chroma/copy.c:141:13: internal compiler error: Segmentation fault 141 | static void CopyFromUswc(uint8_t *dst, size_t dst_pitch, | ^~~~~~~~~~~~