Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375737 - dev-libs/elfutils: keyword
Summary: dev-libs/elfutils: keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2011-07-20 08:47 UTC by Ryan Hill (RETIRED)
Modified: 2012-10-09 15:48 UTC (History)
0 users

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


Attachments
gcc-4.5.2.ebuild.patch (gcc-4.5.2.ebuild.patch,520 bytes, patch)
2011-07-27 08:46 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2011-07-20 08:47:11 UTC
I masked the lto USE flag for gcc in your profiles since you're both missing keywords on dev-libs/elfutils which is a dependency in 4.5 (4.6 dropped the requirement).  Please keyword it or let me know if it can stay masked.

m68k, I also masked the graphite flag because you don't have dev-libs/ppl (bug #269087) and dev-libs/cloog-ppl (bug #269088).  You also somehow have 4.5 keyworded without dev-libs/mpc which is an hard dependency (bug #279851).
Comment 1 Naohiro Aota gentoo-dev 2011-07-27 08:46:03 UTC
Created attachment 281111 [details, diff]
gcc-4.5.2.ebuild.patch

On FreeBSD, dev-libs/libelf is required from system package and it
collide with dev-libs/elfutils, so it cannot be keyworded.

OTOH as I read GCC Wiki page[1], it seems libelf also work well for
it. I don't know it's really working (optimizing) or not, but this
patch applied gcc-4.5.2 was built well and accept commands like "gcc
-flto -c foo.c" and "gcc -flto -o foo foo.o". Please apply this patch
if you don't see any problem.

Thanks,

[1] http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-08-04 03:38:36 UTC
Thanks, I'll apply that shortly.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2011-08-06 01:04:44 UTC
Done.
Comment 4 SpanKY gentoo-dev 2012-10-09 15:48:43 UTC
done in the tree