Summary: | app-office/libreoffice-7.1.4.2 claims clang++ doesn't support C++17 and fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Althorion <althorion> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | althorion, floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
full build log |
Description
Althorion
2021-07-03 18:27:40 UTC
Created attachment 721294 [details]
config.log
Created attachment 721297 [details]
full build log
From the build log;
> configure:18961: checking whether x86_64-pc-linux-gnu-clang++ supports C++17
> configure:19023: x86_64-pc-linux-gnu-clang++ -c -march=native -pipe -Wl,-O1 -Wl,--as-needed -O2 -std=c++17 -Werror -DSYSTEM_LIBCMIS -I/usr/include/libcmis-0.5 -I/usr/include/libxml2 conftest.cpp >&5
> clang-12: error: -Wl,-O1: 'linker' input unused [-Werror,-Wunused-command-line-argument]
> clang-12: error: -Wl,--as-needed: 'linker' input unused [-Werror,-Wunused-command-line-argument]
You should remove "-Wl,-O1 -Wl,--as-needed" from your CFLAGS and CXXFLAGS; these options only belong in LDFLAGS.
|