* alpha-*-vms missing libraries
@ 2023-02-21 5:53 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-02-21 5:53 UTC (permalink / raw)
To: binutils
For this:
./ld-new: cannot find -limagelib: No such file or directory
./ld-new: cannot find -lstarlet: No such file or directory
./ld-new: cannot find -lsys$public_vectors: No such file or directory
the logs showed
creating dummy tmpdir/libimagelib:
creating dummy No
creating dummy such
etc.
So rubbish instead of tmpdir/libimagelib.a and the other required libs.
* testsuite/config/default.exp: Correct regex detecting missing
libraries automatically searched by alpha-dec-vms-ld.
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp
index 257fd4ba985..59a45e34d1d 100644
--- a/ld/testsuite/config/default.exp
+++ b/ld/testsuite/config/default.exp
@@ -471,7 +471,7 @@ if { [istarget alpha*-*-*vms*] } {
close $f
if { [ld_assemble $as $src tmpdir/empty.o]
&& ![ld_link $LD tmpdir/empty tmpdir/empty.o]
- && [regsub -all {[^\n]*: cannot find -l([^\n]*)} $exec_output {tmpdir/lib\1.a } missing_libs] } {
+ && [regsub -all {[^\n]*: cannot find -l([^\n :]*)[^\n]*} $exec_output {tmpdir/lib\1.a } missing_libs] } {
regsub -all {\$} $missing_libs {\\\$} missing_libs
for { set i 0 } { $i < [llength $missing_libs] } { incr i } {
set f [lindex $missing_libs $i]
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-21 5:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 5:53 alpha-*-vms missing libraries Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).