Description of problem: When trying to build R on fedora ia64 we ran into a configure error: configure: error: C compiler cannot create executables full log can be found at http://ia64.koji.fedoraproject.org/koji/getfile?taskID=69114&name=build.log By looking at config.log I found the point is passing "-m32" to gcc: cc1: error: unrecognized command line option "-m32" The root cause is in R.spec, it passes "-m64" to "x86_64|mips64|ppc64|powerpc64|sparc64|s390x" and "-m32" to other arches. Unlike other arches, ia64 is a 64 bit only arch, so ia64-gcc does not support either "-m32" or "-m64" option. To fix this on ia64 we need to modify the spec file to just use "gcc", without "-mXX" options. Patch attached. I have done a scratch build with the patch at http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=71024. If needed, scratch build on ia64 can be done by below command: koji -c ~/.koji/ia64-config build --scratch dist-f9 <srpm> Version-Release number of selected component (if applicable): R-2.6.2-1.fc9 How reproducible: always Steps to Reproduce: 1. build R-2.6.2-1.fc9 on fedora ia64 2. 3. Actual results: Expected results: Additional info:
Created attachment 305225 [details] do not use "-mXX" option on ia64
R-2.7.0-2 has this fix, its headed to all branches.