From build.log: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --> checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... no configure: error: in `/var/tmp/portage/app-misc/jq-1.7/work/jq-jq-1.7': configure: error: C compiler cannot create executables See `config.log' for more details
Created attachment 874300 [details] emerge_info.txt emerge --info
Created attachment 874301 [details] build.log build.log
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-misc/jq-1.7/work/jq-jq-1.7/config.log
Created attachment 874302 [details] config.log /var/tmp/portage/app-misc/jq-1.7/work/jq-jq-1.7/config.log 🤦
configure:3315: checking whether the C compiler works configure:3337: clang -O2 -pipe -march=znver3 -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed conftest.c >&5 clang-16: error: invalid linker name in argument '-fuse-ld=lld' configure:3341: $? = 1 Do you have lld installed?
> Do you have lld installed? I don't! as discussed in chat I probably depcleaned this away recently. I'll remerge it and then retry jq. I'll close the bug if all goes well.
confirmed that installing lld resolves this, closing bug.