Bug 212848
Summary: | Error: bad register name `%r' | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | sean <seandarcy> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 4.1.1-32 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-11-05 13:00:33 UTC | Type: | --- | ||||
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
sean
2006-10-29 17:26:44 UTC
Sorry, cut and paste error: .............. gcc -I/usr/src/redhat/BUILD/ffmpeg/libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I/usr/src/redhat/BUILD/ffmpeg -I/usr/src/redhat/BUILD/ffmpeg -I/usr/src/redhat/BUILD/ffmpeg/libavutil -fPIC -march=k8 -funswitch-loops -ftree-vectorize -pipe -frename-registers -mfpmath=sse -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Winline -O3 -c -o cavs.o cavs.c {standard input}: Assembler messages: {standard input}:11102: Warning: end of file not at end of a line; newline inserted {standard input}:11968: Error: bad register name `%r' gcc: Internal error: Killed (program cc1) Please submit a full bug report. ........... Please preprocess the source (assuming it the problem reproduceable; replace -c with -E and cavs.o with cavs.i on the command line) and attach here. Killed (program cc1) means that either some other process or kernel killed cc1, so it might very well not be a gcc bug at all, it would be a bug only if gcc needed excessively much memory compared to how big the source is. Created attachment 139673 [details]
preprocessed source
cavs.i from:
gcc -I/usr/src/redhat/BUILD/ffmpeg/libswscale -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
-I/usr/src/redhat/BUILD/ffmpeg -I/usr/src/redhat/BUILD/ffmpeg
-I/usr/src/redhat/BUILD/ffmpeg/libavutil -fPIC -march=k8 -funswitch-loops
-ftree-vectorize -pipe -frename-registers -mfpmath=sse -fomit-frame-pointer
-pthread -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Winline -O3 -E -o
cavs.i cavs.c
You're correct about the memory. I ran it again watching top. I have 1 gig of ram and 4 gig swap. cc1 kept going until it had 3950m of virtual ram. Is this a gcc bug, or should I report it to ffmpeg list? And if it is gcc bug, is there a workaround while it's being looked at? Fixed in gcc-4.1.1-32 in rawhide. |