Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766851 - dev-util/roctracer-5.0.2 does not respect LDFLAGS
Summary: dev-util/roctracer-5.0.2 does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2021-01-24 11:54 UTC by Agostino Sarubbo
Modified: 2022-06-22 18:35 UTC (History)
3 users (show)

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

build.log (build.log,29.20 KB, text/plain)
2021-01-24 11:54 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 2021-01-24 11:54:39 UTC

Issue: dev-util/roctracer-4.0.0-r1 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: ci)

To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-24 11:54:41 UTC
Created attachment 684390 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-30 06:55:16 UTC
tinderbox has reproduced this issue with version 4.3.0 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2022-01-30 11:10:34 UTC
ci has reproduced this issue with version 4.3.0-r1 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-05-19 07:11:20 UTC
Cflags issue is gone for me.
Comment 5 Agostino Sarubbo gentoo-dev 2022-05-19 07:11:27 UTC
tinderbox has reproduced this issue with version 5.0.2 - Updating summary.
Comment 6 Larry the Git Cow gentoo-dev 2022-06-22 18:35:11 UTC
The bug has been closed via the following commit(s):

commit e8114ae86f9257cfcb4fd37a0ea228e6bdf6bae9
Author:     Yiyang Wu <>
AuthorDate: 2022-06-22 13:49:13 +0000
Commit:     Andrew Ammerlaan <>
CommitDate: 2022-06-22 18:35:04 +0000

    dev-util/roctracer: patch to respect LDFLAG
    Signed-off-by: Yiyang Wu <>
    Signed-off-by: Andrew Ammerlaan <>

 dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch | 13 +++++++++++++
 dev-util/roctracer/roctracer-4.3.0-r2.ebuild          |  1 +
 dev-util/roctracer/roctracer-5.0.2.ebuild             |  1 +
 3 files changed, 15 insertions(+)