Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902197 - sys-devel/dwz-0.15 calls readelf directly
Summary: sys-devel/dwz-0.15 calls readelf directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2023-03-19 21:25 UTC by Agostino Sarubbo
Modified: 2023-03-19 21:25 UTC (History)
1 user (show)

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

build.log (build.log,43.66 KB, text/plain)
2023-03-19 21:25 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 2023-03-19 21:25:30 UTC

Issue: sys-devel/dwz-0.15 calls readelf directly.
Discovered on: amd64 (internal ref: ci)

As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different READELF implementation (like llvm-readelf). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-19 21:25:33 UTC
Created attachment 858413 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-19 21:25:34 UTC
Error(s) that match a know pattern:

/bin/sh: line 1: readelf: command not found
dwz.c:42:10: fatal error: xxhash.h: No such file or directory
dwz.c:42:10: fatal error: xxhash.h: No such file or directory