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 1439647
Summary: | GCC7 fails to compile C++ code: ‘<anonymous>’ is used uninitialized in this function | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Luboš Uhliarik <luhliari> | ||||||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | davejohansen, fweimer, jakub, jwakely, law, mpolacek | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | armv7hl | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | gcc-7.1.1-3.fc26 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2017-06-25 16:20:39 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: | |||||||||||
Attachments: |
|
Description
Luboš Uhliarik
2017-04-06 11:10:44 UTC
Created attachment 1269339 [details]
HttpMsg.ii
Don't use -Werror if you are not prepared to deal with warnings? Some warnings have even false positives, if you use -Werror, you need to be prepared to work around those too. Created attachment 1269341 [details]
HttpReply.ii
Created attachment 1269343 [details]
ProtocolVersion.h
This option is in this project enabled by default and it is NOT recommended to remove this option by upstream. It was working with this options for many years, and with update to GCC7 it stopped. If it is error raised on all arches, It would be weird and I could try to find a workaround, but in this case, this "false-positive" warning is thrown only on arm arch. I'm not sure, if it is correct approach, to disable -Werror only because there is just one weird error on arm arch. Even I tried to look at that warning, but I was not able to find anything, what could cause this warning. If I disable -Werror even for ARM arch, I can overlook some true warnings on this arch. I opened PR80344 which has the reduced testcase. Should be fixed already in gcc-7.1.1-1.fc{26,27}. gcc-7.1.1-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-553e01aac0 gcc-7.1.1-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-553e01aac0 gcc-7.1.1-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |