Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726892 - dev-lang/nim-1.4.8 does not respect CFLAGS/LDFLAGS
Summary: dev-lang/nim-1.4.8 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: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-06-03 10:53 UTC by Agostino Sarubbo
Modified: 2021-12-25 20:31 UTC (History)
1 user (show)

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

build.log (build.log,113.82 KB, text/plain)
2020-06-03 10:53 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-06-03 10:53:31 UTC
This is an auto-filed bug because dev-lang/nim does not respect CFLAGS/LDFLAGS.
The issue was originally discovered on amd64, 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 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-06-03 10:53:37 UTC
Created attachment 643208 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-01 07:32:17 UTC
tinderbox has reproduced this issue with version 1.4.8 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2021-12-25 20:31:24 UTC
The bug has been closed via the following commit(s):

commit ee1bf9dd180dc9e1e6a859a1137d29304fee0ab4
Author:     Maciej Barć <>
AuthorDate: 2021-12-25 20:30:35 +0000
Commit:     Maciej Barć <>
CommitDate: 2021-12-25 20:30:35 +0000

    dev-lang/nim: ignore *FLAGS of binaries generated by nim
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Maciej Barć <>

 dev-lang/nim/nim-1.4.8.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)