https://bugs.kde.org/show_bug.cgi?id=398649

            Bug ID: 398649
           Summary: New s390x z13 support doesn't build with older
                    gcc/binutils
           Product: valgrind
           Version: 3.14 SVN
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: m...@klomp.org
  Target Milestone: ---

Fairly old gcc/binutils might not have z13 support. But there are no configure
checks for this.

This impacts the code in s390x_dirtyhelper_vec_binop:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../include
-I../VEX/pub -I../VEX/pub -DVGA_s390x=1 -DVGO_linux=1 -DVGP_s390x_linux=1
-DVGPV_s390x_linux_vanilla=1  -Ipriv  -m64 -O2 -finline-functions -g -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings -Wempty-body
-Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type
-Wlogical-op -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing
-fno-builtin  -fomit-frame-pointer  -Wbad-function-cast -fstrict-aliasing -g
-pipe -Wall --param=ssp-buffer-size=4 -march=z9-109 -mtune=z10 -MT
priv/libvex_s390x_linux_a-guest_s390_helpers.o -MD -MP -MF
priv/.deps/libvex_s390x_linux_a-guest_s390_helpers.Tpo -c -o
priv/libvex_s390x_linux_a-guest_s390_helpers.o `test -f
'priv/guest_s390_helpers.c' || echo './'`priv/guest_s390_helpers.c
priv/guest_s390_helpers.c: In function 's390x_dirtyhelper_vec_binop':
priv/guest_s390_helpers.c:2505: error: unknown register name 'v18' in 'asm'
priv/guest_s390_helpers.c:2505: error: unknown register name 'v17' in 'asm'
priv/guest_s390_helpers.c:2505: error: unknown register name 'v16' in 'asm'

And the new testcases vector, lsc2 and ppno.

When those are behind some configure check (I haven't figured out which one
yet, but just disabled that code) things seem to work fine (for any non z13
code of course, but it is not expected any z13 code runs on such old setups).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to