Bug 1718513
| Summary: | Internal compiler error when compiling TecioSZL.ccp of SU2 suite | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lazlo <lazlo> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 30 | CC: | davejohansen, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-05-26 15:40:03 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
lazlo
2019-06-08 07:16:26 UTC
Edit 1: Copy/Paste error Version-Release number of selected component (if applicable): gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Can't reproduce, with gcc 9.1.1-1.fc30.x86_64 /usr/libexec/gcc/x86_64-redhat-linux/9/cc1plus -quiet -I . -D_GNU_SOURCE -D PACKAGE_NAME="SU2" -D PACKAGE_TARNAME="SU2" -D PACKAGE_VERSION="6.2.0" -D PACKAGE_STRING="SU2 6.2.0" -D PACKAGE_BUGREPORT="su2code-dev.edu" -D PACKAGE_URL="https://su2code.github.io" -D PACKAGE="SU2" -D VERSION="6.2.0" -D STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D HAVE_UNISTD_H=1 -D SIZEOF_SHORT_INT=2 -D SIZEOF_INT=4 -D SIZEOF_UNSIGNED_INT=4 -D SIZEOF_LONG_INT=8 -D SIZEOF_FLOAT=4 -D SIZEOF_DOUBLE=8 -D SIZEOF_VOID_P=8 -D SIZEOF_VOID_P=8 -D HAVE_TECPLOT_API=1 -D HAVE_TECPLOT_API_112=1 -D HAVE_CGNS=1 -D LINUX64 -D LINUX -D USEENUM -D THREED -D MAKEARCHIVE -D NO_ASSERTS -D NO_THIRD_PARTY_LIBS ccL4xfgC.out -quiet -mtune=generic -march=x86-64 -g -O2 -fPIC -frandom-seed=0 -fdump-noaddr compiles just fine. Thanks. Using the same options and still the same situation here. I'm not a developer, just a user and have no idea how I can do differently. Do you mean you can reproduce it by running the #c2 command on the *.out file you've attached? Or just on the original source file, not the preprocessed one? If the latter, can you try to preprocess it with -E -fdirectives-only and see if you can reproduce it on that (the ICE mentioned above is the token handling, so it is possible it could be only reproduceable with exact macro information which is lost during normal preprocessing). OK, I did it wrong, I used /usr/bin/g++. I'll try to make it clear: With /usr/bin/g++ on source file: internal error With /usr/bin/g++ on preprocessed file: file format not recognized With /usr/libexec/gcc/x86_64-redhat-linux/9/cc1plus on source file: internal error. With /usr/libexec/gcc/x86_64-redhat-linux/9/cc1plus on initial preprocessed file: OK. Then see above, can you try g++ -I . -D_GNU_SOURCE -D PACKAGE_NAME="SU2" -D PACKAGE_TARNAME="SU2" -D PACKAGE_VERSION="6.2.0" -D PACKAGE_STRING="SU2 6.2.0" -D PACKAGE_BUGREPORT="su2code-dev.edu" -D PACKAGE_URL="https://su2code.github.io" -D PACKAGE="SU2" -D VERSION="6.2.0" -D STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D HAVE_UNISTD_H=1 -D SIZEOF_SHORT_INT=2 -D SIZEOF_INT=4 -D SIZEOF_UNSIGNED_INT=4 -D SIZEOF_LONG_INT=8 -D SIZEOF_FLOAT=4 -D SIZEOF_DOUBLE=8 -D SIZEOF_VOID_P=8 -D SIZEOF_VOID_P=8 -D HAVE_TECPLOT_API=1 -D HAVE_TECPLOT_API_112=1 -D HAVE_CGNS=1 -D LINUX64 -D LINUX -D USEENUM -D THREED -D MAKEARCHIVE -D NO_ASSERTS -D NO_THIRD_PARTY_LIBS -mtune=generic -march=x86-64 -g -O2 -fPIC -frandom-seed=0 -E -fdirectives-only -o TecioSZL.ii teciosrc/TecioSZL.cpp g++ -g -O2 -fPIC -S TecioSZL.ii and see if the second command ICEs too? First command OK if run in teciosrc directory. Then it seems that the second command doesn't know how to interpret TecioSZL.ii, lot of errors on lines beginning with # for example. Maybe it's something obvious, I would not want to make you lose your time Either use -xc++ before TecioSZL.ii, or say rename TecioSZL.ii to TecioSZL-X.C and use that instead on the command line. OK this time, a .s is created with only a couple of intern warnings concerning redefined STDC. This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |