Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858503 - dev-util/uftrace-0.12 fails to compile (lto): plthook.c:92:1: error: function uftrace___cyg_profile_func_exit redeclared as variable
Summary: dev-util/uftrace-0.12 fails to compile (lto): plthook.c:92:1: error: function...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
: 897694 (view as bug list)
Depends on:
Blocks: lto
  Show dependency tree
Reported: 2022-07-17 07:59 UTC by Agostino Sarubbo
Modified: 2023-02-26 22:09 UTC (History)
1 user (show)

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

build.log (build.log,156.68 KB, text/plain)
2022-07-17 07:59 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-17 07:59:02 UTC

Issue: dev-util/uftrace-0.11 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-17 07:59:04 UTC
Created attachment 791843 [details]

build log and emerge --info
Comment 2 Guilherme Amadio gentoo-dev 2022-09-16 10:03:40 UTC
This bug exists upstream already:, but the latest version (0.12) is still affected by this bug. When a patch becomes available I will apply in Gentoo. For now, please disable lto as a workaround.
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-26 08:48:50 UTC
lto_tinderbox has reproduced this issue with version 0.12 - Updating summary.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-26 22:09:05 UTC
*** Bug 897694 has been marked as a duplicate of this bug. ***