Issue: sci-libs/cdf-3.8.0 calls ar directly.
Discovered on: amd64 (internal ref: ci)
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 712494 [details]
build log and emerge --info
Possible context of error(s):
make: ar: No such file or directory
make: gcc: No such file or directory
The bug has been closed via the following commit(s):
Author: Sam James <firstname.lastname@example.org>
AuthorDate: 2021-07-29 02:13:01 +0000
Commit: Sam James <email@example.com>
CommitDate: 2021-07-29 02:13:25 +0000
sci-libs/cdf: fully respect AR, CC
We were calling AR directly but also 'gcc'
as LD. Let's just use $(tc-getCC) as LD
given that's now the recommended way to
call the linker, and indeed, we use
incompatible arguments for ld anyway.
Signed-off-by: Sam James <firstname.lastname@example.org>
sci-libs/cdf/cdf-3.8.0-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)