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 1886303
Summary: | ICE with segfault when compiling Firefox trunk | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 32 | CC: | aoliva, dmalcolm, fweimer, hannsj_uhl, jakub, jhorak, jwakely, law, mpolacek, msebor, nickc, sipoyare, stransky | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-05-25 16:51: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: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 467765, 1071880 | ||||||
Attachments: |
|
Description
Dan Horák
2020-10-08 07:06:22 UTC
backtrace from /usr/libexec/gcc/ppc64le-redhat-linux/10/cc1plus (no debuginfos installed yet) Program received signal SIGSEGV, Segmentation fault. 0x000000001090b530 in tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*) () (gdb) where #0 0x000000001090b530 in tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*) () #1 0x00000000108f4570 in tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) () #2 0x00000000108ff48c in tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) () #3 0x00000000108ffac8 in tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) () #4 0x00000000108ff574 in tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) () #5 0x00000000108ff528 in tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) () #6 0x000000001090ff88 in instantiate_decl(tree_node*, bool, bool) () #7 0x00000000108dd83c in instantiate_pending_templates(int) () #8 0x000000001087fb98 in c_parse_final_cleanups() () #9 0x00000000111f3bf8 in c_common_parse_file() () #10 0x00000000112e0978 in compile_file() () #11 0x000000001080dc34 in toplev::main(int, char**) () #12 0x00000000108103b4 in main () Martine, Honzo, this one will affect building FF 83+ everywhere. So, as written in the upstream GCC bugreport, this is invalid C++ and should be fixed on the Firefox side (GCC11 has been already changed to reject it rather than to ICE on it). The change should be (pseudo patch): ErrorResult ExtractErrorResult(SpecialValueMappers... aSpecialValueMappers) { return mVariant.match( [](ErrorResult& aException) { return std::move(aException); }, - [aSpecialValueMappers...](const SpecialConstant<S>& aSpecialValue) { + [aSpecialValueMappers](const SpecialConstant<S>& aSpecialValue) { return ErrorResult{aSpecialValueMappers(aSpecialValue)}; }...); } Thanks, I'll use a patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1671345. This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. 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 '32'. 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 32 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 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 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. |