Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768456 - app-office/libreoffice-7.0.4.2[clang] checking that x86_64-pc-linux-gnu-clang++ supports __attribute__((warn_unused))... configure: error: no
Summary: app-office/libreoffice-7.0.4.2[clang] checking that x86_64-pc-linux-gnu-clang...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 09:15 UTC by Lin Jian
Modified: 2021-05-05 00:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,16.46 KB, text/x-log)
2021-02-03 09:15 UTC, Lin Jian
Details
emerge info (emerge.info,8.35 KB, text/plain)
2021-02-03 09:16 UTC, Lin Jian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lin Jian 2021-02-03 09:15:30 UTC
Created attachment 685602 [details]
build log

I succeeded in building app-office/libreoffice-7.0.4.2[-clang,+vulkan], but got this warning "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."

So I tried to build app-office/libreoffice-7.0.4.2[+clang,+vulkan]. However, it fails at econf.
Comment 1 Lin Jian 2021-02-03 09:16:04 UTC
Created attachment 685605 [details]
emerge info
Comment 2 Ionen Wolkens gentoo-dev 2021-02-03 09:48:54 UTC
This is because bashrc-mv is putting LDFLAGS inside your CXXFLAGS.

fails: CXXFLAGS='-O2 -pipe -pipe -march=native -Wl,-O1 -Wl,--as-needed'
works: CXXFLAGS='-O2 -pipe -march=native'
Comment 3 Andreas Sturmlechner gentoo-dev 2021-05-05 00:54:53 UTC
Not sure what else to do than closing this as invalid.