ld: Remove x86 ISA level run-time tests
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 7 Feb 2021 21:11:16 +0000 (13:11 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 7 Feb 2021 21:12:42 +0000 (13:12 -0800)
Remove x86 ISA level run-time tests since with glibc 2.33, they will fail
to run on machines with lesser x86 ISA level:

tmpdir/property-5-pie: CPU ISA level is lower than required

PR ld/27358
* testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
tests.
* testsuite/ld-x86-64/x86-64.exp: Likewise.

ld/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-x86-64/x86-64.exp

index 40b6e076edcae755177300615cc082da748746ce..798b8fd19b2a9d989118a27d948f9c19dea1a42e 100644 (file)
@@ -1,3 +1,10 @@
+2021-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27358
+       * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
+       tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+
 2021-01-26  Nick Alcock  <nick.alcock@oracle.com>
 
        * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
index 0be6b861daba79092e12e4f60af643f01ff5c1c3..d9075bf27b56b48886f25a0289814f3c31968f69 100644 (file)
@@ -1106,69 +1106,6 @@ if { [isnative]
            {pass.c property-stack.S} \
            "property-3-static" "pass.out" \
        ] \
-       [list \
-           "Run property 3" \
-           "" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-stack.S property-x86-1.S} \
-           "property-3" "pass.out" \
-       ] \
-       [list \
-           "Run property 3 (PIE)" \
-           "-pie" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-x86-1.S property-stack.S} \
-           "property-3-pie" "pass.out" "-fPIE" \
-       ] \
-       [list \
-           "Run property 3 (static)" \
-           "-static" \
-           "-Wa,-mx86-used-note=yes" \
-           {property-x86-1.S pass.c property-stack.S} \
-           "property-3-static" "pass.out" \
-       ] \
-       [list \
-           "Run property 4" \
-           "" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-stack.S property-x86-1.S property-x86-2.S} \
-           "property-4" "pass.out" \
-       ] \
-       [list \
-           "Run property 4 (PIE)" \
-           "-pie" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-x86-2.S property-x86-1.S property-stack.S} \
-           "property-4-pie" "pass.out" "-fPIE" \
-       ] \
-       [list \
-           "Run property 4 (static)" \
-           "-static" \
-           "-Wa,-mx86-used-note=yes" \
-           {property-x86-2.S property-x86-1.S pass.c property-stack.S} \
-           "property-4-static" "pass.out" \
-       ] \
-       [list \
-           "Run property 5" \
-           "-Wl,-z,stack-size=0x900000" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-stack.S property-x86-1.S property-x86-2.S} \
-           "property-5" "pass.out" \
-       ] \
-       [list \
-           "Run property 5 (PIE)" \
-           "-pie -Wl,-z,stack-size=0x900000" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-x86-2.S property-x86-1.S property-stack.S} \
-           "property-5-pie" "pass.out" "-fPIE" \
-       ] \
-       [list \
-           "Run property 5 (static)" \
-           "-static -Wl,-z,stack-size=0x900000" \
-           "-Wa,-mx86-used-note=yes" \
-           {property-x86-2.S property-x86-1.S pass.c property-stack.S} \
-           "property-5-static" "pass.out" \
-       ] \
     ]
 
     undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
index 662d349d824e645068091438ed872b4b782d778f..232c9dfa3a2dbc56bbdd6a55a23a69ccd651ffd0 100644 (file)
@@ -1584,69 +1584,6 @@ if { [isnative] && [check_compiler_available] } {
            {pass.c property-stack.S} \
            "property-3-static" "pass.out" \
        ] \
-       [list \
-           "Run property 3" \
-           "" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-stack.S property-x86-1.S} \
-           "property-3" "pass.out" \
-       ] \
-       [list \
-           "Run property 3 (PIE)" \
-           "-pie" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-x86-1.S property-stack.S} \
-           "property-3-pie" "pass.out" "-fPIE" \
-       ] \
-       [list \
-           "Run property 3 (static)" \
-           "-static" \
-           "-Wa,-mx86-used-note=yes" \
-           {property-x86-1.S pass.c property-stack.S} \
-           "property-3-static" "pass.out" \
-       ] \
-       [list \
-           "Run property 4" \
-           "" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-stack.S property-x86-1.S property-x86-2.S} \
-           "property-4" "pass.out" \
-       ] \
-       [list \
-           "Run property 4 (PIE)" \
-           "-pie" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-x86-2.S property-x86-1.S property-stack.S} \
-           "property-4-pie" "pass.out" "-fPIE" \
-       ] \
-       [list \
-           "Run property 4 (static)" \
-           "-static" \
-           "-Wa,-mx86-used-note=yes" \
-           {property-x86-2.S property-x86-1.S pass.c property-stack.S} \
-           "property-4-static" "pass.out" \
-       ] \
-       [list \
-           "Run property 5" \
-           "-Wl,-z,stack-size=0x900000" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-stack.S property-x86-1.S property-x86-2.S} \
-           "property-5" "pass.out" \
-       ] \
-       [list \
-           "Run property 5 (PIE)" \
-           "-pie -Wl,-z,stack-size=0x900000" \
-           "-Wa,-mx86-used-note=yes" \
-           {pass.c property-x86-2.S property-x86-1.S property-stack.S} \
-           "property-5-pie" "pass.out" "-fPIE" \
-       ] \
-       [list \
-           "Run property 5 (static)" \
-           "-static -Wl,-z,stack-size=0x900000" \
-           "-Wa,-mx86-used-note=yes" \
-           {property-x86-2.S property-x86-1.S pass.c property-stack.S} \
-           "property-5-static" "pass.out" \
-       ] \
        [list \
            "Run pr22001-1a (PIC 1)" \
            "$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed tmpdir/pr22001-1.so" \