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...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
: 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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

build log and emerge --info
Comment 2 Guilherme Amadio gentoo-dev 2022-09-16 10:03:40 UTC
This bug exists upstream already: https://github.com/namhyung/uftrace/issues/1343, 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. ***