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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
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: ---


Attachments
build.log (build.log,29.20 KB, text/plain)
2021-01-24 11:54 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 2021-01-24 11:54:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8114ae86f9257cfcb4fd37a0ea228e6bdf6bae9

commit e8114ae86f9257cfcb4fd37a0ea228e6bdf6bae9
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2022-06-22 13:49:13 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-06-22 18:35:04 +0000

    dev-util/roctracer: patch to respect LDFLAG
    
    Closes: https://bugs.gentoo.org/766851
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/25891
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 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(+)