|
Bugzilla – Full Text Bug Listing |
| Summary: | GCC 11: libmfx package fails | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Martin Liška <martin.liska> |
| Component: | Basesystem | Assignee: | Gfx Bugs <gfx-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | martin.liska |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1181859 | ||
|
Description
Martin Liška
2021-02-06 11:11:57 UTC
Hmm. No idea. I can only guess. Is there missing a/some include lines maybe like #include <limits> #include <iostream> #include <functional> #include <string> before? How can I testbuild this myself? I guess I'm not the only victim here. Generic instructions for these kind of errors would be useful to save a lot of developer time I believe. The issues is mentioned here: http://www.gnu.org/software/gcc/gcc-11/porting_to.html#header-dep-changes The following headers are used less widely in libstdc++ and may need to be included explicitly when compiled with GCC 11: <limits> (for std::numeric_limits) <memory> (for std::unique_ptr, std::shared_ptr etc.) <utility> (for std::pair, std::tuple_size, std::index_sequence etc.) You can test it with: $ osc co openSUSE:Factory/libmfx $ cd ... $ osc build --alternative-project openSUSE:Factory:Staging:Gcc7 Thanks! Adding #include <limits> fixed build with osc build --alternative-project openSUSE:Factory:Staging:Gcc7 standard Submitted. Closing. This is an autogenerated message for OBS integration: This bug (1181871) was mentioned in https://build.opensuse.org/request/show/870902 Factory / libmfx |