Hide Forgot
Description of problem: The current gcc.spec in Fedora 15 and beyond need a couple patches to correctly build the armv7hl-redhat-linux-gnueabi gcc package. Version-Release number of selected component (if applicable): This is applicable to gcc 4.6.1. The patch is vs the spec file in koji's gcc-4.6.1-10.fc16.src.rpm Additional info: This patch does 2 things: 1. Adds the -gnueabi string to the target triplet for arm targets. 2. Adds the specific configuration options for armv7hl hosts. This is different from any previous Fedora arm gcc because F15/gcc 4.6 is the firs release to use the new hard float ABI.
Created attachment 528841 [details] Adds armv7hl configurey to gcc.spec Adds armv7hl configurey to gcc.spec
It's been pointed out to me that the first part of the patch might be unnecessary as _gnu doesn't appear to be used at this time. Perhaps just the second half of the patch will be sufficient.
The line --build=armv7hl-redhat-linux-gnueabi --host=armv7hl-redhat-linux-gnueabi --target=armv7hl-redhat-linux-gnueabi is redundant and not needed. Redefiniiton of _gnu to -gnueabi is missing. Default is just -gnu
Created attachment 528906 [details] Updated armv7hl configure flags Updated gcc.spec patch. and turns out _gnu is in fact defined properly by rpm. No need to redefine for arm.
gcc-4.6.2-1.fc16,libtool-2.4-7.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gcc-4.6.2-1.fc16,libtool-2.4-7.fc16
Package gcc-4.6.2-1.fc16, libtool-2.4-7.fc16, gcc-python-plugin-0.6-4.2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gcc-4.6.2-1.fc16 libtool-2.4-7.fc16 gcc-python-plugin-0.6-4.2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15040 then log in and leave karma (feedback).
gcc-4.6.2-1.fc16, libtool-2.4-7.fc16, gcc-python-plugin-0.6-4.2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.