public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] alpha-*-vms missing libraries
@ 2023-02-21  5:54 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-02-21  5:54 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=294540ac96418b437f529107b33394bf4bf39311

commit 294540ac96418b437f529107b33394bf4bf39311
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Feb 21 09:57:49 2023 +1030

    alpha-*-vms missing libraries
    
    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:
---
 ld/testsuite/config/default.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-21  5:54 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:54 [binutils-gdb] 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).