Bug 2026858
Summary: | Systemtap probe asm causes GCC to crash on armv7 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> |
Component: | systemtap | Assignee: | Stan Cox <scox> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 35 | CC: | ahughes, amerey, dsmith, fche, mcermak, mjw, pbrobinson, rjones, scox, sgehwolf, wcohen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | armv7hl | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | systemtap-4.7-1.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-06-21 18:21:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Daniel Berrangé
2021-11-26 09:34:08 UTC
I'm leaning toward changing the default operand constraint string on arm7 only, so we work around gcc's problem there, without affecting other platforms. We've also hit this with OpenJDK: https://kojipkgs.fedoraproject.org//work/tasks/286/79390286/build.log Same workaround seems to have fixed F35: https://src.fedoraproject.org/rpms/java-latest-openjdk/pull-request/89 upstream commit 34facf7ee6b4 should show up in a respin soon systemtap-4.7-1.fc35 has the following patch in it so the qemu workaround for armv7 shouldn't be required now: commit 34facf7ee6b43dae66cc109973a4eda42e439163 Author: Frank Ch. Eigler <fche> Date: Wed Dec 1 10:59:27 2021 -0500 RHBZ2026858: on __arm__ (arm32), use STAP_SDT_ARG_CONSTRAINT = g diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h index 9ecb1cb6f..28d236d91 100644 --- a/includes/sys/sdt.h +++ b/includes/sys/sdt.h @@ -106,6 +106,8 @@ # define STAP_SDT_ARG_CONSTRAINT norw # elif defined __s390__ || defined __s390x__ # define STAP_SDT_ARG_CONSTRAINT norf +# elif defined __arm__ +# define STAP_SDT_ARG_CONSTRAINT g # else # define STAP_SDT_ARG_CONSTRAINT nor # endif |