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 910926

Summary: GCC plugin can't be built for arm, missing arm-cores.def file
Product: [Fedora] Fedora Reporter: William Cohen <wcohen>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dmalcolm, jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: arm7   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 19:09:09 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: 245418    

Description William Cohen 2013-02-13 21:38:09 UTC
Description of problem:

Cannot build gcc plugin on arm machine.  When attempting to build the gcc-python-plugin-0.11-fc17.src.rpm on arm get the following error:


make: *** Waiting for unfinished jobs....
In file included from /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/options.h:8:0,
                 from /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/flags.h:27,
                 from /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/tree.h:35,
                 from gcc-python.h:25,
                 from gcc-python-attribute.c:21:
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/config/arm/arm-opts.h:30:25: fatal error: arm-cores.def: No such file or directory
compilation terminated.


Version-Release number of selected component (if applicable):

gcc-plugin-devel-4.7.2-8.fc18.armv7hl
libgcc-4.7.2-8.fc18.armv7hl
gcc-4.7.2-8.fc18.armv7hl

How reproducible:


Steps to Reproduce:
1.  Get access to a arm system running f18
2.  wget http://people.redhat.com/wcohen/chromebook/gcc-python-plugin-0.11-1.fc17.src.rpm
    yum-builddep ./gcc-python-plugin-0.11-1.fc17.src.rpm

3.  cd rpmbuild/SPECS
    rpmbuild -ba gcc-python-plugin
  
Actual results:

rpmbuild build fails for srpm with:

In file included from /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/options.h:8:0,
                 from /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/flags.h:27,
                 from /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/tree.h:35,
                 from gcc-python.h:25,
                 from gcc-python-attribute.c:21:
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include/config/arm/arm-opts.h:30:25: fatal error: arm-cores.def: No such file or directory
compilation terminated.


Expected results:

The srpm should build like it did on x86_64


Additional info:


Looks like need copy over files over to satisfy the following includes:

#include "config/vxworks-dummy.h"
#include "arm-cores.def"

I manually copied those files into /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/plugin/include  and the plugin build got much farther in
the rpmbuild.

Comment 1 Fedora End Of Life 2013-12-21 11:23:00 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. 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 WONTFIX if it remains open with a Fedora 
'version' of '18'.

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 prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 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 to Fedora 18's end of life.

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.

Comment 2 Fedora End Of Life 2014-02-05 19:09:09 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 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.