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 1842079
Summary: | coreboot-utils fails to build on s390x, Fails to install | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Raits <igor.raits> |
Component: | coreboot-utils | Assignee: | Orphan Owner <extras-orphan> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | dan, david.hendricks, hannsj_uhl, lemenkov, lkundrak, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-18 12:18:15 UTC | Type: | --- |
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: | 467765, 1803234, 1803235, 1785415 |
Description
Igor Raits
2020-05-30 17:32:22 UTC
Hello, This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs). If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. Fails to build on s390x. + make -j2 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' -C util/cbfstool make: Entering directory '/builddir/build/BUILD/coreboot-4.11/util/cbfstool' HOSTCC cbfstool/cbfstool.o HOSTCC cbfstool/common.o HOSTCC cbfstool/cbfs_image.o HOSTCC cbfstool/cbfs-mkstage.o HOSTCC cbfstool/cbfs-mkpayload.o HOSTCC cbfstool/elfheaders.o HOSTCC cbfstool/rmodule.o /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c: In function 'elf_writer_serialize': /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:926:3: error: 'phdr.p_align' may be used uninitialized in this function [-Werror=maybe-uninitialized] 926 | ew->xdr->put64(m, phdr->p_align); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_align' was declared here 966 | Elf64_Phdr phdr; | ^~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:925:3: error: 'phdr.p_memsz' may be used uninitialized in this function [-Werror=maybe-uninitialized] 925 | ew->xdr->put64(m, phdr->p_memsz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_memsz' was declared here 966 | Elf64_Phdr phdr; | ^~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:924:3: error: 'phdr.p_filesz' may be used uninitialized in this function [-Werror=maybe-uninitialized] 924 | ew->xdr->put64(m, phdr->p_filesz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_filesz' was declared here 966 | Elf64_Phdr phdr; | ^~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:923:3: error: 'phdr.p_paddr' may be used uninitialized in this function [-Werror=maybe-uninitialized] 923 | ew->xdr->put64(m, phdr->p_paddr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_paddr' was declared here 966 | Elf64_Phdr phdr; | ^~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:922:3: error: 'phdr.p_vaddr' may be used uninitialized in this function [-Werror=maybe-uninitialized] 922 | ew->xdr->put64(m, phdr->p_vaddr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_vaddr' was declared here 966 | Elf64_Phdr phdr; | ^~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:921:3: error: 'phdr.p_offset' may be used uninitialized in this function [-Werror=maybe-uninitialized] 921 | ew->xdr->put64(m, phdr->p_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_offset' was declared here 966 | Elf64_Phdr phdr; | ^~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:920:3: error: 'phdr.p_flags' may be used uninitialized in this function [-Werror=maybe-uninitialized] 920 | ew->xdr->put32(m, phdr->p_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/coreboot-4.11/util/cbfstool/elfheaders.c:966:13: note: 'phdr.p_flags' was declared here 966 | Elf64_Phdr phdr; | ^~~~ cc1: all warnings being treated as errors The problem is in -Werror switch set in the flags for cbfstool and smarter gcc compared to the previously successful build. Likely there is a real problem in upstream code and the warning/error is right. It can be reproduced on non-s390x (ppc64le at least) by adding --param=inline-min-speedup=2 --param=max-inline-insns-auto=80 to the TOOLCFLAGS in coreboot-4.11/util/cbfstool/Makefile.inc. gcc does more aggressive inlining on s390x leading to detection of new potential bugs. Hello, This is the second reminder (step 4 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs). If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. This package has been orphaned. You can pick it up at https://src.fedoraproject.org/rpms/coreboot-utils by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution. This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. According to https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ point 9: > A week before the scheduled beta freeze, any packages which have open FTI bugs in the NEW state for at least 8 weeks with at least 2 reminder comments will be retired from the relevant release and rawhide (in addition to being orphaned). This package was now orphaned (if not already) and is being retired from F33 and rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement If you believe this was done by an accident and would like to talk to me, please note that this comment is mass posted to several bugzillas and I'm not CCed in all of them. Add me to CC or e-mail me directly if you wish need to respond. The releng ticket it https://pagure.io/releng/issue/9693 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |