Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 725552

Summary: sci-libs/mkl-rt does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: lumin
Severity: normal CC: esigra, sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-26 21:00:34 UTC
This is an auto-filed bug because sci-libs/mkl-rt 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 set CFLAGS="${CFLAGS} -frecord-gcc-switches" and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-26 21:00:39 UTC
Created attachment 641970 [details]

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

commit 94b1a98a4d9480266163c56c84990d042a5b98e7
Author:     Aisha Tammy <>
AuthorDate: 2020-11-05 13:49:33 +0000
Commit:     Benda Xu <>
CommitDate: 2020-11-09 07:38:14 +0000

    profiles/package.mask: mask sci-libs/mkl-rt, provided by mkl
    Signed-off-by: Aisha Tammy <>
    Signed-off-by: Benda Xu <>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)