| Summary: | Does not compile with gcc 8.3 due to fs being experimental | ||
|---|---|---|---|
| Product: | [Unmaintained] ksysguard | Reporter: | Leszek Lesner <leszek.lesner> |
| Component: | libksysguard | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | CC: | plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task. If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks! |
SUMMARY Linking fails when trying to compile with gcc-8.3 as the filesystem extension is experimental. STEPS TO REPRODUCE 1. Try compiling with gcc-8.3 OBSERVED RESULT Linking failure with processcore EXPECTED RESULT Links fine SOFTWARE/OS VERSIONS Linux: Debian GNU/Linux 10 (available in About System) KDE Plasma Version: 5.21.80 KDE Frameworks Version: 5.80 Qt Version: 5.12.2 ADDITIONAL INFORMATION Adding the filesystem target manually to the CMakeLists.txt of processcore like /usr/lib/gcc/x86_64-linux-gnu/8/libstdc++fs.a fixes the issue processcore/CMakeLists.txt looks like this then target_link_libraries(processcore PUBLIC Qt::Core KSysGuard::Formatter PRIVATE KF5::I18n KF5::AuthCore KF5::CoreAddons KF5::Service ${ZLIB_LIBRARIES} + /usr/lib/gcc/x86_64-linux-gnu/8/libstdc++fs.a ) See linking error here: https://pastebin.com/6BZ5vdHv