Summary: | app-text/openjade-1.3.2-r6 - x86_64-pc-linux-gnu-clang-3.9: error: unknown argument: '-fno-lifetime-dse' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aleksander <spider.ch> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | phceac, spider.ch |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: | Patch to check if -fno-lifetime-dso is supported, before adding to cxxflags |
Description
Aleksander
2016-10-08 06:52:56 UTC
(In reply to Aleksander from comment #0) > emerge --info: https://paste.pound-python.org/show/uNgqWnyfssvN1BUncdlJ/ > build.log: https://paste.pound-python.org/show/AY42qptSNoUkpmPFrJAz/ Please attach those. Created attachment 450376 [details, diff] Patch to check if -fno-lifetime-dso is supported, before adding to cxxflags The cause of this bug is a flag added in the ebuild: append-cxxflags -fno-lifetime-dse. This flag was added because of bug #592590. To fix this change the line to: append-cxxflags $(test-flags-CXX -fno-lifetime-dse). Attached patch fixes the ebuild. Without wanting to spam, this error also arose for me with an older in-tree version of gcc. I have not tested the patch. Workround for gcc users: use gcc-config to move to latest gcc (if possible!). commit 6a0f2eed4c8fceed1d56ec0fcf113dfee996634e Author: Felix Janda <felix.janda@posteo.de> Date: Sat Nov 26 14:01:52 2016 -0500 app-text/openjade: fix build with clang and older gcc Gentoo-Bug: https://bugs.gentoo.org/596506 |