Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 748435 - dev-lang/rust-bin-1.47.0-r1 does not respect CFLAGS/LDFLAGS
Summary: dev-lang/rust-bin-1.47.0-r1 does not respect CFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-10-13 10:45 UTC by Agostino Sarubbo
Modified: 2020-10-13 15:16 UTC (History)
0 users

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

build.log (build.log,7.84 KB, text/plain)
2020-10-13 10:45 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 2020-10-13 10:45:26 UTC

Issue: dev-lang/rust-bin-1.47.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 2020-10-13 10:45:28 UTC
Created attachment 665017 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-10-13 15:16:35 UTC
The bug has been closed via the following commit(s):

commit 3dc34b2dd0881fb15fb52477fd11e23c51943eb5
Author:     Georgy Yakovlev <>
AuthorDate: 2020-10-13 15:15:58 +0000
Commit:     Georgy Yakovlev <>
CommitDate: 2020-10-13 15:16:19 +0000

    dev-lang/rust-bin: adjust QA_PREBUILT
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Georgy Yakovlev <>

 dev-lang/rust-bin/rust-bin-1.47.0-r1.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)