Summary: | New s390x z13 support doesn't build with older gcc/binutils | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
Component: | general | Assignee: | Vadim Barkov <vbrkov> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | arnez, jseward, vbrkov |
Priority: | NOR | ||
Version: | 3.14 SVN | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Fixup for old bunutils |
Description
Mark Wielaard
2018-09-15 01:56:58 UTC
I see a similar issue with binutils 2.31 and gcc 8.2.1, is this the same cause? (error is from compiling 3.14.0): [ 106s] priv/guest_s390_helpers.c: In function 's390x_dirtyhelper_vec_op': [ 106s] priv/guest_s390_helpers.c:2587:4: error: unknown register name 'v19' in 'asm' [ 106s] __asm__ volatile ( [ 106s] ^ [ 106s] priv/guest_s390_helpers.c:2587:4: error: unknown register name 'v18' in 'asm' [ 106s] priv/guest_s390_helpers.c:2587:4: error: unknown register name 'v17' in 'asm' [ 106s] priv/guest_s390_helpers.c:2587:4: error: unknown register name 'v16' in 'asm' [ 106s] Makefile:1536: recipe for target 'priv/libvex_s390x_linux_a-guest_s390_helpers.o' failed [ 106s] make[3]: *** [priv/libvex_s390x_linux_a-guest_s390_helpers.o] Error 1 It looks the same, but binutils 2.31 certainly should be new enough, it was released this year. Are you sure you are using 2.31? No, I wasn't. ok, nevermind. Created attachment 117918 [details]
Fixup for old bunutils
The problem affects gcc-4 only. This is one of the possible fixes.
What's the situation here? Do we want/need to fix this? (In reply to Julian Seward from comment #5) > What's the situation here? Do we want/need to fix this? Current distros do support z13 just fine. This was an issue with rhel/centos6 and older rhel/centos7 (which is about to be deprecated too). I don't think we want to workaround this anymore but will just tell people they need a more modern toolchain if they are building valgrind for s390x. |