Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740778 - net-misc/oidc-agent-3.3.1 does not respect LDFLAGS for oidc-token and
Summary: net-misc/oidc-agent-3.3.1 does not respect LDFLAGS for oidc-token and liboidc...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2020-09-07 06:05 UTC by Agostino Sarubbo
Modified: 2020-09-07 14:36 UTC (History)
1 user (show)

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

build.log (build.log,16.24 KB, text/plain)
2020-09-07 06:05 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-09-07 06:05:55 UTC

Issue: net-misc/oidc-agent-3.3.1 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: tinderbox)

To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-07 06:05:57 UTC
Created attachment 658868 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-09-07 14:36:20 UTC
The bug has been closed via the following commit(s):

commit 141f1b5254fdbb263ba1d3a5697da791f359ffc7
Author:     Marek Szuba <>
AuthorDate: 2020-09-07 14:30:53 +0000
Commit:     Marek Szuba <>
CommitDate: 2020-09-07 14:36:12 +0000

    net-misc/oidc-agent: fix LDFLAGS propagation
    Upstream uses three different sets of linker flags: one for (declared inline), one for oidc-token (CLIENT_LFLAGS)
    and one for everything else (LFLAGS). The previous version of the
    toolchain patch only injected LDFLAGS into the latter, hence QA warnings
    for the former two.
    Signed-off-by: Marek Szuba <>

 .../oidc-agent-3.3.1_makefile-toolchain-vars.patch     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)