public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "chilakaravikumar at yahoo dot co.in" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/52007] configure: error: installation or configuration problem: C compiler cannot create executables
Date: Fri, 27 Jan 2012 12:49:00 -0000	[thread overview]
Message-ID: <bug-52007-4-gIj7pol2Ky@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52007-4@http.gcc.gnu.org/bugzilla/>

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


  parent reply	other threads:[~2012-01-27 12:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 10:37 [Bug c/52007] New: " chilakaravikumar at yahoo dot co.in
2012-01-26 10:40 ` [Bug bootstrap/52007] " pinskia at gcc dot gnu.org
2012-01-26 10:41 ` chilakaravikumar at yahoo dot co.in
2012-01-26 10:41 ` pinskia at gcc dot gnu.org
2012-01-26 10:45 ` chilakaravikumar at yahoo dot co.in
2012-01-26 10:49 ` jakub at gcc dot gnu.org
2012-01-26 10:56 ` redi at gcc dot gnu.org
2012-01-26 11:01 ` redi at gcc dot gnu.org
2012-01-26 11:14 ` chilakaravikumar at yahoo dot co.in
2012-01-27 12:49 ` chilakaravikumar at yahoo dot co.in [this message]
2012-01-28  4:35 ` chilakaravikumar at yahoo dot co.in
2012-01-28  4:42 ` pinskia at gcc dot gnu.org
2012-01-28  9:52 ` chilakaravikumar at yahoo dot co.in
2012-05-31 18:59 ` bkoz at gcc dot gnu.org
2012-05-31 19:01 ` bkoz at gcc dot gnu.org
2012-05-31 19:40 ` bkoz at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-52007-4-gIj7pol2Ky@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).