Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721594 - sys-cluster/sanlock does not respect LDFLAGS
Summary: sys-cluster/sanlock does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2020-05-08 07:31 UTC by Agostino Sarubbo
Modified: 2020-08-21 18:06 UTC (History)
2 users (show)

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

build.log (build.log,35.49 KB, text/plain)
2020-05-08 07:31 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-05-08 07:31:28 UTC
This is an auto-filled bug because sys-cluster/sanlock does not respect LDFLAGS.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0".
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-08 07:31:38 UTC
Created attachment 636800 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-08-21 18:06:10 UTC
The bug has been closed via the following commit(s):

commit 05b4374649b60e5aed18180481f35c7b2095aeca
Author:     Marc Schiffbauer <>
AuthorDate: 2020-08-21 17:57:36 +0000
Commit:     Marc Schiffbauer <>
CommitDate: 2020-08-21 18:05:51 +0000

    sys-cluster/sanlock: add new version
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Marc Schiffbauer <>

 sys-cluster/sanlock/Manifest                       |  1 +
 .../files/sanlock-fence_sanlock-LDFLAGS.patch      | 12 +++
 sys-cluster/sanlock/sanlock-3.8.2.ebuild           | 85 ++++++++++++++++++++++
 3 files changed, 98 insertions(+)