| Summary: | ICE (internal compiler error - segmentation fault) "during GIMPLE pass: dom" when compiling ffmpeg | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Christian Lohmaier <lohmaier+mageia> |
| Component: | RPM Packages | Assignee: | Base system maintainers <basesystem> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11, tmb |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | gcc-8.3.1-0.20190503.1.mga7.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | testcase, from ffmpeg | ||
Created attachment 10987 [details]
testcase, from ffmpeg
Marja Van Waes
2019-05-09 09:28:25 CEST
Assignee:
bugsquad =>
basesystem Please try again with gcc-8.3.1-0.20190510.1.mga7 CC:
(none) =>
tmb works for me with gcc-8.3.1-0.20190510.1.mga7, no ICE anymore with the testcase/ building ffmpeg build as part of building mpv works fine again. I guess this was FIXED then. Status:
NEW =>
RESOLVED |
Description of problem: trying to compile ffpmeg with gcc 8.3.1 as of cauldron results in a segfault of the compiler when the default optimization level is used (-O3) reducing to -O2 works as a workaround and doesn't trigger the bug. Version-Release number of selected component (if applicable): gcc (Mageia 8.3.1-0.20190503.1.mga7) 8.3.1 20190503 How reproducible: 100% Steps to Reproduce: 1. extract the attached reduced testcase and cd to it $ tar -xf repro.tar.bz2 $ cd repro 2. try to compile using -O3 using: $ LC_MESSAGES=C gcc -I. -O3 -c -o /tmp/rle.o rle.c during GIMPLE pass: dom rle.c: In function ‘ff_rle_count_pixels’: rle.c:26:5: internal compiler error: Segmentation fault int ff_rle_count_pixels(const uint8_t *start, int len, int bpp, int same) ^~~~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.mageia.org/> for instructions. 3. try the same thing using just -O2 → works $ LC_MESSAGES=C gcc -I. -O2 -c -o /tmp/rle.o rle.c $ echo $? 0