public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42727]  New: configure: error: cannot compute suffix of object files: cannot compile
@ 2010-01-13 13:55 jvdelisle at gcc dot gnu dot org
  2010-01-13 13:57 ` [Bug bootstrap/42727] " jvdelisle at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-01-13 13:55 UTC (permalink / raw)
  To: gcc-bugs

While looking to see that my daily build on an older i686 machine was still
working, I discover this.  The failure started on 12-7-2009.  This is with
trunk updated daily.  The machine is running fedora 8.


checking for i686-pc-linux-gnu-gcc... /home/jerry/gcc/objdir/./gcc/xgcc
-B/home/jerry/gcc/objdir/./gcc/ -B/usr/local/gfortran/i686-pc-linux-gnu/bin/
-B/usr/local/gfortran/i686-pc-linux-gnu/lib/ -isystem
/usr/local/gfortran/i686-pc-linux-gnu/include -isystem
/usr/local/gfortran/i686-pc-linux-gnu/sys-include   
checking for suffix of object files... configure: error: in
`/home/jerry/gcc/objdir/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/jerry/gcc/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/jerry/gcc/objdir'
make: *** [all] Error 2


-- 
           Summary: configure: error: cannot compute suffix of object files:
                    cannot compile
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org
  GCC host triplet: i686-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
@ 2010-01-13 13:57 ` jvdelisle at gcc dot gnu dot org
  2010-01-13 14:08 ` hjl dot tools at gmail dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-01-13 13:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jvdelisle at gcc dot gnu dot org  2010-01-13 13:57 -------
Created an attachment (id=19572)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19572&action=view)
config.log

I don't see anything obvious.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
  2010-01-13 13:57 ` [Bug bootstrap/42727] " jvdelisle at gcc dot gnu dot org
@ 2010-01-13 14:08 ` hjl dot tools at gmail dot com
  2010-01-13 14:33 ` jvdelisle at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-01-13 14:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-01-13 14:07 -------
(In reply to comment #1)
> Created an attachment (id=19572)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19572&action=view) [edit]
> config.log
> 
> I don't see anything obvious.
> 

Did you have g++ installed?

---
configure:4864: checking for C++ compiler version
configure:4873: g++ --version >&5
../trunk/configure: line 4875: g++: command not found
configure:4884: $? = 127
configure:4873: g++ -v >&5
../trunk/configure: line 4875: g++: command not found
configure:4884: $? = 127
configure:4873: g++ -V >&5
../trunk/configure: line 4875: g++: command not found
configure:4884: $? = 127
configure:4873: g++ -qversion >&5
../trunk/configure: line 4875: g++: command not found
configure:4884: $? = 127
configure:4888: checking whether we are using the GNU C++ compiler
configure:4907: g++ -c   conftest.cpp >&5
../trunk/configure: line 1748: g++: command not found
----


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
  2010-01-13 13:57 ` [Bug bootstrap/42727] " jvdelisle at gcc dot gnu dot org
  2010-01-13 14:08 ` hjl dot tools at gmail dot com
@ 2010-01-13 14:33 ` jvdelisle at gcc dot gnu dot org
  2010-01-14  3:01 ` jvdelisle at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-01-13 14:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2010-01-13 14:32 -------
g++ was not installed.  I have now installed it and will try again and report
back here tonight.  Thanks


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-01-13 14:33 ` jvdelisle at gcc dot gnu dot org
@ 2010-01-14  3:01 ` jvdelisle at gcc dot gnu dot org
  2010-01-14  3:03 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-01-14  3:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2010-01-14 03:01 -------
With g++ installed, build stops with same error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-01-14  3:01 ` jvdelisle at gcc dot gnu dot org
@ 2010-01-14  3:03 ` pinskia at gcc dot gnu dot org
  2010-01-14  5:32 ` jvdelisle at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-01-14  3:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2010-01-14 03:03 -------
Can you attach the config.log that is located in
objdir/i686-pc-linux-gnu/libgcc ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-01-14  3:03 ` pinskia at gcc dot gnu dot org
@ 2010-01-14  5:32 ` jvdelisle at gcc dot gnu dot org
  2010-01-14  5:33 ` jvdelisle at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-01-14  5:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2010-01-14 05:31 -------
Created an attachment (id=19595)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19595&action=view)
libgcc config.log

I see the error /home/jerry/gcc/objdir/./gcc/cc1: error while loading shared
libraries: libmpc.so.2: cannot open shared object file: No such file or
directory

I must have the mps libraries set up wrong.  I will work on that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-01-14  5:32 ` jvdelisle at gcc dot gnu dot org
@ 2010-01-14  5:33 ` jvdelisle at gcc dot gnu dot org
  2010-01-14 19:42 ` David dot Biesack at sas dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-01-14  5:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jvdelisle at gcc dot gnu dot org  2010-01-14 05:33 -------
s/mps/mpc/  I will install libmpc differently and see what happens.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-01-14  5:33 ` jvdelisle at gcc dot gnu dot org
@ 2010-01-14 19:42 ` David dot Biesack at sas dot com
  2010-01-14 19:46 ` pinskia at gcc dot gnu dot org
  2010-01-14 20:09 ` David dot Biesack at sas dot com
  9 siblings, 0 replies; 11+ messages in thread
From: David dot Biesack at sas dot com @ 2010-01-14 19:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from David dot Biesack at sas dot com  2010-01-14 19:42 -------
Created an attachment (id=19600)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19600&action=view)
failed config on x86_64 (openmp)

configure failed to determine the suffice for object files, causing gcc build
to fail


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-01-14 19:42 ` David dot Biesack at sas dot com
@ 2010-01-14 19:46 ` pinskia at gcc dot gnu dot org
  2010-01-14 20:09 ` David dot Biesack at sas dot com
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-01-14 19:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2010-01-14 19:46 -------
So you don't have libmpc in the LD_LIBRARY_PATH or setup ld.conf correctly.  I
normally use a static version of libmpc.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/42727] configure: error: cannot compute suffix of object files: cannot compile
  2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2010-01-14 19:46 ` pinskia at gcc dot gnu dot org
@ 2010-01-14 20:09 ` David dot Biesack at sas dot com
  9 siblings, 0 replies; 11+ messages in thread
From: David dot Biesack at sas dot com @ 2010-01-14 20:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from David dot Biesack at sas dot com  2010-01-14 20:09 -------
I ran across this error also.
I have local recent builds of gmp, mpfr, mpc and configured with
./configure --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local

I'm working with a clean snapshot of the svn checkout of the GOMP/OpenMP code
(155860)

After running configure with no, the make fails. 

Although most of the config.log files show no problem with computing the suffix
of object files, my ./x86_64-unknown-linux-gnu/libcc/config.log shows an error.
I've attached it as libcc-config.log Attachment #19600. It contains:

configure:3210: checking for suffix of object files
configure:3232: /usr/local/src/gomp/host-x86_64-unknown-linux-gnu/gcc/xgcc
-B/usr/local/src/gomp/host-x86_64-unknown-linux-gnu/gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  conftest.c >&5
/usr/local/src/gomp/host-x86_64-unknown-linux-gnu/gcc/cc1: error while loading
shared libraries: libmpc.so.2: cannot open shared object file: No such file or
directory
configure:3236: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3250: error: in
`/usr/local/src/gomp/x86_64-unknown-linux-gnu/libgcc':
configure:3253: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.


I have gcc/g++ :
acl811 # gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
acl811 # g++ -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

This is a RHEL system.
# uname -a
Linux acl811.unx.sas.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008
x86_64 x86_64 x86_64 GNU/Linux

My /usr/local/mpc looks ok:

acl811 # ls -al /usr/local/lib/libmpc*
-rw-r--r-- 1 root root 198774 Jan 14 14:45 /usr/local/lib/libmpc.a
-rwxr-xr-x 1 root root    996 Jan 14 14:45 /usr/local/lib/libmpc.la*
lrwxrwxrwx 1 root root     15 Jan 14 14:45 /usr/local/lib/libmpc.so ->
libmpc.so.2.0.0*
lrwxrwxrwx 1 root root     15 Jan 14 14:45 /usr/local/lib/libmpc.so.2 ->
libmpc.so.2.0.0*
-rwxr-xr-x 1 root root  89755 Jan 14 14:45 /usr/local/lib/libmpc.so.2.0.0*
acl811 # ldd /usr/local/lib/libmpc.so.2.0.0
        libmpfr.so.1 => /usr/local/lib/libmpfr.so.1 (0x00002ad05e4a4000)
        libgmp.so.3 => /usr/local/lib/libgmp.so.3 (0x00002ad05e6f0000)
        libc.so.6 => /lib64/libc.so.6 (0x00002ad05e968000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003a05c00000)

however, I reran my mpc install to verify and when I dig, mu gnu openmp
was able to find it and also compute the .o suffix and continue with the build


-- 

David dot Biesack at sas dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |David dot Biesack at sas dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42727


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-01-14 20:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-13 13:55 [Bug bootstrap/42727] New: configure: error: cannot compute suffix of object files: cannot compile jvdelisle at gcc dot gnu dot org
2010-01-13 13:57 ` [Bug bootstrap/42727] " jvdelisle at gcc dot gnu dot org
2010-01-13 14:08 ` hjl dot tools at gmail dot com
2010-01-13 14:33 ` jvdelisle at gcc dot gnu dot org
2010-01-14  3:01 ` jvdelisle at gcc dot gnu dot org
2010-01-14  3:03 ` pinskia at gcc dot gnu dot org
2010-01-14  5:32 ` jvdelisle at gcc dot gnu dot org
2010-01-14  5:33 ` jvdelisle at gcc dot gnu dot org
2010-01-14 19:42 ` David dot Biesack at sas dot com
2010-01-14 19:46 ` pinskia at gcc dot gnu dot org
2010-01-14 20:09 ` David dot Biesack at sas dot com

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).