Summary: | dev-qt/qtpositioning-5.15.2-r1 fails to compile: x86_64-pc-linux-gnu-g++: error: unrecognized command-line option ‘-Winconsistent-missing-override | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=910483 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 760183 [details]
build.log
build log and emerge --info
It seems that the build system still invokes x86_64-pc-linux-gnu-g++ but with the clang mkspec, thus passing clang-specific flags that cause the error. How are you specifying the compiler? The build.log says that CXX is unset. Did you build dev-qt/qtcore with clang? *** Bug 830498 has been marked as a duplicate of this bug. *** *** Bug 830494 has been marked as a duplicate of this bug. *** *** Bug 829941 has been marked as a duplicate of this bug. *** (In reply to Davide Pesavento from comment #2) > It seems that the build system still invokes x86_64-pc-linux-gnu-g++ but > with the clang mkspec, thus passing clang-specific flags that cause the > error. > > How are you specifying the compiler? The build.log says that CXX is unset. > > Did you build dev-qt/qtcore with clang? CXX is specified per package. I don't know if qtcore was built with clang or not. I had the same problem with dev-qt/qtwebsockets:5.
> Did you build dev-qt/qtcore with clang?
Rebuilding dev-qt/qtcore with GCC and then trying qtwebsockets again solved this issue for me.
|