Bug 2101610 - Enable LSan and TSan on s390x
Summary: Enable LSan and TSan on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-27 22:34 UTC by Marek Polacek
Modified: 2022-08-24 20:31 UTC (History)
10 users (show)

Fixed In Version: gcc-12.1.1-3.fc37 gcc-12.2.1-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-08 18:57:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Polacek 2022-06-27 22:34:07 UTC
Since r12-2560, LSan and TSan are enabled on s390x:
libsanitizer/configure.tgt:

  s390*-*-linux*)
        if test x$ac_cv_sizeof_void_p = x8; then
                TSAN_SUPPORTED=yes
                LSAN_SUPPORTED=yes
                TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_s390x.lo
        fi

We should consider building them in Fedora (and DTS):

--- a/gcc.spec
+++ b/gcc.spec
@@ -62,12 +62,12 @@
 %else
 %global build_libasan 0
 %endif
-%ifarch x86_64 ppc64 ppc64le aarch64
+%ifarch x86_64 ppc64 ppc64le aarch64 s390x
 %global build_libtsan 1
 %else
 %global build_libtsan 0
 %endif
-%ifarch x86_64 ppc64 ppc64le aarch64
+%ifarch x86_64 ppc64 ppc64le aarch64 s390x
 %global build_liblsan 1
 %else
 %global build_liblsan 0

Comment 1 Marek Polacek 2022-07-08 18:57:50 UTC
Fixed in gcc-12.1.1-3.fc37.

Comment 2 Fedora Update System 2022-08-22 08:14:51 UTC
FEDORA-2022-deb2092ec6 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-deb2092ec6

Comment 3 Fedora Update System 2022-08-23 01:16:09 UTC
FEDORA-2022-deb2092ec6 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-deb2092ec6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-deb2092ec6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-08-24 20:31:11 UTC
FEDORA-2022-deb2092ec6 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.