Bug 1988718 - clang: FTBFS on s390x due to exact match on zlib compressed output
Summary: clang: FTBFS on s390x due to exact match on zlib compressed output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: clang
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Tom Stellard
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-31 13:27 UTC by Florian Weimer
Modified: 2021-12-07 21:35 UTC (History)
5 users (show)

Fixed In Version: clang-12.0.1-4.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:33:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log.xz (129.60 KB, application/x-xz)
2021-07-31 13:27 UTC, Florian Weimer
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1972057 1 None None None 2023-05-29 08:26:42 UTC
Red Hat Bugzilla 1988288 1 unspecified CLOSED llvm: FTBFS on s390x due to exact match on zlib compressed output 2023-06-27 09:12:48 UTC
Red Hat Issue Tracker RHELPLAN-91776 0 None None None 2021-07-31 13:27:57 UTC

Internal Links: 1988288

Description Florian Weimer 2021-07-31 13:27:39 UTC
Created attachment 1809690 [details]
build.log.xz

This is the clang variant of bug 1988288. Different tests fail in recent builds on s390x:

FAIL: Clang :: Modules/embed-files-compressed.cpp (8052 of 29120)

FAIL: Clang :: Modules/stress1.cpp (8330 of 29120)

Setting SOURCE_DATE_EPOCH in the environment is supposed to turn of s390x hardware acceleration, and RPM should do that during the %check phase, too. It's not clear to me why this is not effective.

Comment 3 Tom Stellard 2021-08-13 05:41:28 UTC
I'm closing this bug as WONTFIX.  The test that is failing is producing correct output even though it is not identical to the expected output.  I don't think it's worth doing a whole new build just to fix a test case.  We will 'fix' this the next time we do a build for some other bug, but since there is nothing for QE to test here I don't think it is worth tracking this in a bug any more.

Comment 4 Florian Weimer 2021-08-13 06:21:36 UTC
A rebuild of clang is required to transition to the correct compiler flags and produce IMA signatures.

Comment 9 Miloš Prchlík 2021-08-26 14:08:09 UTC
Verified with clang-12.0.1-5.el9.


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