ld testsuite on x86_64 with --enable-shared
authorAlan Modra <amodra@gmail.com>
Thu, 4 Feb 2021 12:50:42 +0000 (23:20 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 5 Feb 2021 03:44:17 +0000 (14:14 +1030)
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.

ld/Makefile.am
ld/Makefile.in

index 2c9a487335c6894d12b9df60e60ffa29af242ef7..3f5f270d7165c7844e238904610a4b1b3e0c7e35 100644 (file)
@@ -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; \
index ab8f23a2c0f42731cd5135f79a9bd716d5b3f1a6..e50dffe0891c7795dd285b269d8b09423b57126b 100644 (file)
@@ -2608,6 +2608,7 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS)
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Pc@am__quote@
 
 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; \
This page took 0.029411 seconds and 4 git commands to generate.