Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1860854
Summary: | gcc segfaults while building dmraid on s390x | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hans de Goede <hdegoede> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | aoliva, dmalcolm, fweimer, jakub, jwakely, law, mcsontos, mpolacek, msebor, nickc, sipoyare |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | gcc-10.2.1-2.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-01-12 12:27:13 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: | 1863432 |
Description
Hans de Goede
2020-07-27 08:59:24 UTC
Does it go away if you disable LTO (-flto -ffat-lto-objects)? No as I already mentioned in the description I've tried both disabling annobin as well as disabling lto. To make sure I have just double checked, here is a s390x scratch-build without lto: https://koji.fedoraproject.org/koji/taskinfo?taskID=47927557 It fails with the same error as with lto, see: https://kojipkgs.fedoraproject.org//work/tasks/7894/47927894/build.log Ah, reproduced now, doesn't seem to be specific to s390x in any way. Testcase for -O2: void bar (int, void *) __attribute__((__access__(__read_only__, 2))); void foo (void *c) { struct S { void (*fn) (); } f = { bar }; f.fn (0, c); } Started with https://gcc.gnu.org/r10-4929-g54aa6b58fe2fe73bbe67e0485777e0c410a18673 *** Bug 1860062 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. This was fixed in gcc-10.2.1-2.fc33; and dmraid has been built succesfully after that, so this bug can be closed now, closing. |