]> sourceware.org Git - systemtap.git/commitdiff
Remove the "-m64" option forr arm64 sdt_misc.exp tests
authorWilliam Cohen <wcohen@redhat.com>
Thu, 29 Jan 2015 17:56:45 +0000 (12:56 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Thu, 29 Jan 2015 17:56:45 +0000 (12:56 -0500)
The arm64 code is always 64-bit, never 32-bit. Tthe gcc compiler does
not have a "-m64" option to force 64-bit code generation for arm64 and
the builds will fail with "-m64" on the command line.  Eliminated the
unwanted option from the sdt_misc.exp tests when running on arm64.

testsuite/systemtap.base/sdt_misc.exp

index 0c30351381bd62b3d72819b0e8513416c4f1b0f4..d07963dd6538739e4e03029273c3039eccaa23d6 100644 (file)
@@ -272,7 +272,7 @@ for {set i 0} {$i < [llength $pbtype_flags]} {incr i} {
            set type_flags "[sdt_includes] additional_flags=-Wall additional_flags=-Werror"
            set type_flags "$type_flags additional_flags=-I. $pbtype_flag"
            set type_flags "$type_flags [lindex $extra_type_flags $j] [lindex $type_pedantics $p] [lindex $has_long_long $j]"
-           if {![istarget "i*86-*-*"] && ![istarget "arm-*-*"]} {
+           if {![istarget "i*86-*-*"] && ![istarget "arm-*-*"] && ![istarget "aarch64-*-*"]} {
                set type_flags "$type_flags additional_flags=-m64"
            }
            set test_suffix "$pbtype_mssg $extra_type_mssg $type_pedantic_mssg"
This page took 0.028208 seconds and 5 git commands to generate.