http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52007
--- Comment #8 from chilaka <chilakaravikumar at yahoo dot co.in> 2012-01-27 12:17:44 UTC --- I managed to generate a Makefile in objdir then issued a make command from that directory. After a 10 minute compilation it ended with the below error. checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile Note: I don't have any IA64 files/binaries on my host machine where this cross compilation is going, so I have not setup where to look for target files. Is this is the reason for this failure. [root@localhost objdir]# uname -a Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux [root@localhost objdir]# pwd /opt/objdir [root@localhost objdir]# ../gcc-4.3.0/configure --prefix=/opt/ia64gcc --target=ia64-redhat-linux [root@localhost objdir]# make : make[2]: Leaving directory `/opt/objdir/gcc' Checking multilib configuration for libgcc... mkdir -p -- ia64-redhat-linux/libgcc Configuring in ia64-redhat-linux/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking build system type... i686-pc-linux-gnu checking host system type... ia64-redhat-linux-gnu checking for ia64-redhat-linux-ar... ia64-redhat-linux-ar checking for ia64-redhat-linux-lipo... ia64-redhat-linux-lipo checking for ia64-redhat-linux-nm... /opt/objdir/./gcc/nm checking for ia64-redhat-linux-ranlib... ia64-redhat-linux-ranlib checking for ia64-redhat-linux-strip... ia64-redhat-linux-strip checking whether ln -s works... yes checking for ia64-redhat-linux-gcc... /opt/objdir/./gcc/xgcc -B/opt/objdir/./gcc/ -B/opt/ia64gcc/ia64-redhat-linux/bin/ -B/opt/ia64gcc/ia64-redhat-linux/lib/ -isystem /opt/ia64gcc/ia64-redhat-linux/include -isystem /opt/ia64gcc/ia64-redhat-linux/sys-include checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/opt/objdir' make: *** [all] Error 2 [root@localhost objdir]# tail -40 config.log sharedstatedir='${prefix}/com' stage1_cflags='-g -fkeep-inline-functions' stage1_checking='--enable-checking=yes,types' stage1_languages='c' stage2_werror_flag='' sysconfdir='${prefix}/etc' target='ia64-redhat-linux-gnu' target_alias='ia64-redhat-linux' target_configargs='--cache-file=./config.cache --enable-multilib --with-cross-host=i686-pc-linux-gnu '--prefix=/opt/ia64gcc' '--enable-languages=c,c++,fortran,java,objc' --program-transform-name='s,^,ia64-redhat-linux-,'' target_cpu='ia64' target_noncanonical='ia64-redhat-linux' target_os='linux-gnu' target_subdir='ia64-redhat-linux' target_vendor='redhat' tooldir='${exec_prefix}/ia64-redhat-linux' ## ------------- ## ## Output files. ## ## ------------- ## alphaieee_frag='/dev/null' host_makefile_frag='../gcc-4.3.0/config/mh-x86omitfp' ospace_frag='/dev/null' serialization_dependencies='serdep.tmp' target_makefile_frag='../gcc-4.3.0/config/mt-gnu' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #endif #ifdef __cplusplus extern "C" void exit (int) throw (); configure: exit 0