| Summary: | dev-util/perf-4.14.33 - linking failures when Python is compiled with LTO | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | WGH <wgh> |
| Component: | Current packages | Assignee: | Naohiro Aota <naota> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | dlan |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
build.log environment environment |
||
|
Description
WGH
2018-11-13 22:09:18 UTC
Created attachment 555064 [details]
build.log
There're too many errors, so I skipped some of them to make file <1000 KB.
Created attachment 555066 [details]
build.log
There're too many errors, so I skipped some of them to make file <1000 KB.
Created attachment 555068 [details]
environment
Created attachment 555070 [details]
environment
This was caused by the fact I have Python 3 compiled with -flto. This is fixed in newer perf versions. https://lore.kernel.org/patchwork/patch/962160/ Minor self-correction: in my case, both Python 2 and Python 3 are compiled with LTO, and perf seems to try to link to Python 2. Building perf with -python works in this circumstances. Since the problematic dev-util/perf versions are long gone from the portage tree, this problem is solved in a way. |