Update find_ld.m4 for more robust lld detection

26 jobs for !7238 with trac-jberryman-master-patch-53017 in 143 minutes and 14 seconds (queued for 5 seconds)
latest merge request
Name Stage Failure
failed
perf-nofib Testing
Failed making all in real: 1
mk/ghc-recurse.mk:65: recipe for target 'all' failed
make: *** [all] Error 1
Uploading artifacts for failed job
Uploading artifacts...
nofib/nofib.log: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=891808 responseStatus=201 Created token=xshyk1yt
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
validate-x86_64-linux-alpine-hadrian Full Build
Uploading artifacts...
WARNING: ghc-x86_64-alpine-linux.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1