From patchwork Fri Feb 5 03:42:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: ld testsuite on x86_64 with --enable-shared X-Patchwork-Submitter: Andreas Krebbel via Binutils X-Patchwork-Id: 48595 Message-Id: <20210205034251.GK5348@bubble.grove.modra.org> To: binutils@sourceware.org Date: Fri, 5 Feb 2021 14:12:51 +1030 From: Alan Modra via Binutils List-Id: Binutils mailing list These tests fail since 1c9c9b9b5552, due to not being able to access some scripts: FAIL: Absolute non-overflowing relocs FAIL: ld-i386/iamcu-1 FAIL: ld-i386/iamcu-2 The problem is that when built with --enable-shared the ld-new executable sits in a .libs/ directory. * Makefile.am (check-DEJAGNU): Set up ldscripts link in .libs. * Makefile.in: Regenerate. -- Alan Modra Australia Development Lab, IBM diff --git a/ld/Makefile.am b/ld/Makefile.am index 2c9a487335c..9cbeb46dbf6 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -968,6 +968,7 @@ TESTBFDLIB = @TESTBFDLIB@ TESTCTFLIB = @TESTCTFLIB@ check-DEJAGNU: site.exp + (cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .) srcroot=`cd $(srcdir) && pwd`; export srcroot; \ r=`pwd`; export r; \ LC_ALL=C; export LC_ALL; \