| Summary: | Compiler plugins won't build with Ubuntu 18.04 | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Jan-Marek Glogowski <glogow> |
| Component: | LibreOffice | Assignee: | Stephan Bergmann <sberg.fun> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | l.lunak, sberg.fun, serval2412, vmiklos |
| Priority: | medium | ||
| Version: | 6.2.0.0.alpha1+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:6.2.0 target:6.1.4 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | config | ||
|
Description
Jan-Marek Glogowski
2018-11-02 16:53:29 UTC
So <https://cgit.freedesktop.org/libreoffice/core/commit/?id=ab8bf5533f8de9bb1aa9dc83e650e4eccf0fcac3> "avoid error message from configure about clang's header for compiler plugins" breaks again what had been fixed with <https://cgit.freedesktop.org/libreoffice/core/commit/?id=e754d0931ca75403647cc16100edd98e7e5ceadb> "Remove CXXFLAGS_CXX11 from Clang plugin compilation". My suggestion would be to revert ab8bf5533f8de9bb1aa9dc83e650e4eccf0fcac3 again and have users solve that commit's issue instead by using COMPILER_PLUGINS_CXX (introduced as part of e754d0931ca75403647cc16100edd98e7e5ceadb). Thoughts, Luboš? [setting to NEW, confirmed by Miklos on IRC] (In reply to Stephan Bergmann from comment #1) > My suggestion would be to revert > ab8bf5533f8de9bb1aa9dc83e650e4eccf0fcac3 again and have users solve that > commit's issue instead by using COMPILER_PLUGINS_CXX (introduced as part of > e754d0931ca75403647cc16100edd98e7e5ceadb). <https://gerrit.libreoffice.org/#/c/62997/> "tdf#121131: Revert 'avoid error message from configure about clang's header..." Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/4613e105f98af6e3b65ce87432b1a2db45e71ae2%5E%21 tdf#121131: Default COMPILER_PLUGINS_CXX to g++ -std=c++11 It will be available in 6.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-6-1": https://git.libreoffice.org/core/+/b73450caef299d38350f446d914f45b7c23a25b7%5E%21 tdf#121131: Default COMPILER_PLUGINS_CXX to g++ -std=c++11 It will be available in 6.1.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Still have this message CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US Calc: threaded clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin what to do ? Régis (In reply to Regis Perdreau from comment #5) > Still have this message > > CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; > Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US > Calc: threaded > > clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) > Target: x86_64-pc-linux-gnu > Thread model: posix > InstalledDir: /usr/bin What version of LO, what configure switches, what does the relevant part of config.log look like (if you can't identify it, just attach the full config.log)? Created attachment 158213 [details]
config
Sorry to add some comment on a FIXED bug but on pc Debian x86-64 with master sources updated today, I tried to build with clang and enable clang plugins.
I installed "clang" + libclang-9-dev
I attached a zip which contains autogen.input + config.log
(In reply to Julien Nabet from comment #7) > Created attachment 158213 [details] > config > > Sorry to add some comment on a FIXED bug but on pc Debian x86-64 with master > sources updated today, I tried to build with clang and enable clang plugins. > > I installed "clang" + libclang-9-dev > I attached a zip which contains autogen.input + config.log Found it, I had just to install "llvm" package. Sorry for the noise. |