Bug 909298 - gcc emits invalid assembler code during compilation of coreutils src/factor.c
Summary: gcc emits invalid assembler code during compilation of coreutils src/factor.c
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: powerpc
OS: Linux
high
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 15:00 UTC by Karsten Hopp
Modified: 2013-02-08 16:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-08 16:18:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gcc -S output (749.00 KB, text/plain)
2013-02-08 15:00 UTC, Karsten Hopp
no flags Details
gcc -E output (412.70 KB, text/plain)
2013-02-08 15:01 UTC, Karsten Hopp
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 56256 0 None None None Never

Description Karsten Hopp 2013-02-08 15:00:24 UTC
Created attachment 695123 [details]
gcc -S output

Description of problem:
gcc-4.8.0-0.9.fc19 fails to build coreutils-8.20-7.fc19:
{standard input}: Assembler messages:
{standard input}:825: Error: junk at end of line, first unrecognized character is `{'
{standard input}:826: Error: junk at end of line, first unrecognized character is `{'
{standard input}:868: Error: junk at end of line, first unrecognized character is `{'
{standard input}:869: Error: junk at end of line, first unrecognized character is `{'
...
...
...
{standard input}:8406: Error: junk at end of line, first unrecognized character is `{'
make[2]: *** [src/factor.o] Error 1

Version-Release number of selected component (if applicable):
gcc-4.8.0-0.9.fc19

How reproducible:
always

Steps to Reproduce:
1. try to compile on PPC64 coreutils-8.20-7.fc19 with the latest rawhide gcc
2. 
3. 
  
Actual results:
http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/5679/895679/build.log

Expected results:


Additional info:
output of 
gcc -E -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -D_GNU_SOURCE=1 -fno-strict-aliasing -fpic -c -o /tmp/factor.pre src/factor.c

and

gcc -S -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -D_GNU_SOURCE=1 -fno-strict-aliasing -fpic -c -o /tmp/factor.asm src/factor.c

attached

Comment 1 Karsten Hopp 2013-02-08 15:01:14 UTC
Created attachment 695124 [details]
gcc -E output

Comment 2 Marek Polacek 2013-02-08 16:04:15 UTC
Now tracked upstream:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56256


Note You need to log in before you can comment on or make changes to this bug.