| Summary: | Compile error during Wine 1.9.3 build | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Cronenworth <mike> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 23 | CC: | caleb, davejohansen, jactry92, jakub, jwakely, law, mpolacek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gcc-5.3.1-6.fc23 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-04-13 23:23:04 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1305195 | ||||||
| Attachments: |
|
||||||
|
Description
Michael Cronenworth
2016-02-08 19:20:22 UTC
I noticed that the preprocessed file compiles without error. The bug is only reproduced when compiling from source. If I compile the preprocessed file Wine is able to finish compiling without error. Is there any additional information required? Fedora's default CFLAGS are being used so -O2 is being used. The code compiles from source with -O1 set. However, "dlls/crypt32/chain.c" fails to compile with -01 and must be compiled with -O0. I can complete a full Wine compile with -O0. (In reply to Michael Cronenworth from comment #1) > I noticed that the preprocessed file compiles without error. My mistake in not using optimizations in my test. Reproducible: gcc -O2 -x c -c wine-gcc-error.pp -o wine.o Compiles: gcc -O1 -x c -c wine-gcc-error.pp -o wine.o This was fixed in GCC6 with r232111. Uros backported this patch to gcc5 branch as well, so this ought to be fixed in the next Fedora gcc5 build. It's been a few weeks and there has not been a new gcc 5 build. Is there an ETA? Thanks. The latest gcc package fixes this. Thanks. |