public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
@ 2012-04-25 12:02 birender.singh at hotmail dot com
  2012-04-29  8:37 ` [Bug bootstrap/53112] " ebotcazou at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-04-25 12:02 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53112
           Summary: Fails at Configuring stage 1 in
                    sparc64-sun-solaris2.10/libgcc: error: cannot compute
                    suffix of object files: cannot compile
    Classification: Unclassified
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: birender.singh@hotmail.com


1. Machine Deatils:

bash-3.00# uname -a
SunOS slimsol10t1 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-V240

bash-3.00# cat /etc/release
                       Solaris 10 1/06 s10s_u1wos_19a SPARC
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 07 December 2005

2. Following are the PATH setting done on system:

bash-3.00# echo $PATH
/els/install/biru/local/find4/bin:/els/install/biru/local/tar-1.12-bin/bin:/els/install/jdk1.6.0_16/bin/:/els/install/gcc-3.4.5_64/bin:/els/install/staf64/bin:/els/install/staf64/services/STAFHTTP.jar:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin::/usr/local/staf/lib/:/els/install/staf/lib:/usr/bin/:/usr/xpg4/bin:/usr/sfw/bin:/usr/dt/bin:


bash-3.00# echo $LD_LIBRARY_PATH
/usr/sfw/lib:/usr/local/lib:/usr/ccs/lib:/els/install/gcc-3.4.5_64/lib:/els/install/jdk1.6.0_16/jre/lib/sparc/:/els/install/jdk1.6.0_16/jre/lib/sparc/client:/els/install/staf64/lib:/els/install/staf64/lib/JSTAF.zip:/els/install/staf64/lib/JSTAF.jar:/els/install/staf64/services/STAFHTTP.jar

3. Trying to build GCC-4.4.4 in 64 bit, Downloaded gcc-4.4.4.tar.gz and
extarcted and configured as below:

 ../gcc-4.4.4/configure CC='gcc -m64' --prefix=/els/install/biru/local/gcc4_64
--build=sparc64-sun-solaris2.10 --with-gmp=/els/install/biru/local/gmp_64
--with-mpfr=/els/install/biru/local/mpfr_64

Configured successfuly.

4. extectued make and below error received.

make[3]: Leaving directory `/els/install/biru/gcc4_64/obj/gcc'
mkdir sparc64-sun-solaris2.10/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in sparc64-sun-solaris2.10/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install...
/els/install/biru/gcc4_64/gcc-4.4.4/install-sh -c
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking for sparc64-sun-solaris2.10-ar... ar
checking for sparc64-sun-solaris2.10-lipo... lipo
checking for sparc64-sun-solaris2.10-nm...
/els/install/biru/gcc4_64/obj/./gcc/nm
checking for sparc64-sun-solaris2.10-ranlib... ranlib
checking for sparc64-sun-solaris2.10-strip... strip
checking whether ln -s works... yes
checking for sparc64-sun-solaris2.10-gcc...
/els/install/biru/gcc4_64/obj/./gcc/xgcc -B/els/install/biru/gcc4_64/obj/./gcc/
-B/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/bin/
-B/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/lib/ -isystem
/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/include -isystem
/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/sys-include
checking for suffix of object files... configure: error: in
`/els/install/biru/gcc4_64/obj/sparc64-sun-solaris2.10/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 `/els/install/biru/gcc4_64/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/els/install/biru/gcc4_64/obj'
make: *** [all] Error 2
bash-3.00#


Kindly please provide the solution for the above error.

Regards,
-BK


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
@ 2012-04-29  8:37 ` ebotcazou at gcc dot gnu.org
  2012-04-30 11:07 ` birender.singh at hotmail dot com
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-04-29  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-04-29
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-29 08:37:09 UTC ---
> checking for suffix of object files... configure: error: in
> `/els/install/biru/gcc4_64/obj/sparc64-sun-solaris2.10/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 `/els/install/biru/gcc4_64/obj'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/els/install/biru/gcc4_64/obj'
> make: *** [all] Error 2
> bash-3.00#
> 
> 
> Kindly please provide the solution for the above error.

Follow the above instructions and look into the config.log file.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
  2012-04-29  8:37 ` [Bug bootstrap/53112] " ebotcazou at gcc dot gnu.org
@ 2012-04-30 11:07 ` birender.singh at hotmail dot com
  2012-04-30 11:14 ` ebotcazou at gcc dot gnu.org
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-04-30 11:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from birender.singh at hotmail dot com 2012-04-30 11:06:51 UTC ---
Building 64bit gcc-4.4.4 and received below error:

1.
Edit the configure file from gcc-4.4.4 directory at line number 4607:

Line 4607:
    if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
        have_gmp=yes

If I understand shell language properly (and I do have a passing familiarity),
I think the line should be:

    if test -d ${srcdir}/gcc && test "x$have_gmp" = xyes; then
        have_gmp=yes


And then set the paths:

echo
$PATH=/els/install/gcc-4.4.4/bin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/sun/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin


echo
$LD_LIBRARY_PATH=/els/install/gcc-4.4.4/lib/sparcv9:/els/install/gcc-4.4.4/lib:/usr/local/lib:/usr/ccs/lib



and 
../gcc-4.4.4/configure --with-gmp=/usr/local --with-mpfr=/usr/local
sparcv9-sun-solaris2.9

and executed: make

and recevied below error after few hours..
.
.
.
e.o ipa-utils.o ipa.o matrix-reorg.o prefix.o tree-inline.o tree-nomudflap.o
varpool.o
ranlib  libbackend.a
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition    
          -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -o  
            cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o
c-form              at.o c-semantics.o c-ppoutput.o c-cppbuiltin.o
c-objc-common.o c-dump.o c-pch.o c-parser.o sol2-c.o c-gimplify.o
tree-mudflap.o c-pretty-print.              o c-omp.o dummy-checksum.o \
          main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a /usr/local/lib/libintl.so -L/
             usr/local/lib /usr/local/lib/libiconv.so -lsec -lc
-R/usr/local/lib -R/usr/lib -R/usr/openwin/lib -R/usr/local/ssl/lib
-R/usr/local/BerkeleyDB.              4.2/lib /usr/local/lib/libiconv.so
-L/usr/local/lib -R/usr/local/lib ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a   -L/usr/local/lib              
-L/usr/local/lib -lmpfr -lgmp
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of
file
ld: fatal: file /usr/local/lib/libmpfr.so: wrong ELF class: ELFCLASS64
ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to cc1-dummy
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/els/install/biru/obj/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/els/install/biru/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/els/install/biru/obj'
make: *** [all] Error 2
root@slimsol9t4 #


PLease provide solution to this, and also am i doing correct steps to make 64
bit gcc of version gcc-4.4.4. If not then also please steps or any help links.

Thanks,
-BK


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
  2012-04-29  8:37 ` [Bug bootstrap/53112] " ebotcazou at gcc dot gnu.org
  2012-04-30 11:07 ` birender.singh at hotmail dot com
@ 2012-04-30 11:14 ` ebotcazou at gcc dot gnu.org
  2012-04-30 11:49 ` redi at gcc dot gnu.org
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-04-30 11:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-30 11:14:07 UTC ---
> ../gcc-4.4.4/configure --with-gmp=/usr/local --with-mpfr=/usr/local
> sparcv9-sun-solaris2.9

Why did you change that?  Retry with the first setup and look into config.log.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-04-30 11:14 ` ebotcazou at gcc dot gnu.org
@ 2012-04-30 11:49 ` redi at gcc dot gnu.org
  2012-04-30 11:49 ` birender.singh at hotmail dot com
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-30 11:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 11:49:23 UTC ---
No need to re-run the original setup, the problem is obviously that
/els/install/biru/local/gmp_64 and /els/install/biru/local/mpfr_64 are not in
the runtime linker's path, this is a FAQ:
http://gcc.gnu.org/wiki/FAQ#configure_suffix

Do not edit the configure script, that's not the right way to fix user error.

You should probably read http://gcc.gnu.org/wiki/InstallingGCC (and read the
whole page!)  That provides an extremely simple recipe for building GCC without
installing GMP and MPFR, and ensures you will build them with the correct
architecture.

You cannot build GCC 4.4 as a 64-bit binary, that is not possible. But by
default on GCC on Solaris is able to generate both 32-bit and 64-bit output (by
using the -m64 option), you don't need to do anything special to enable that.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-04-30 11:49 ` redi at gcc dot gnu.org
@ 2012-04-30 11:49 ` birender.singh at hotmail dot com
  2012-04-30 11:51 ` redi at gcc dot gnu.org
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-04-30 11:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from birender.singh at hotmail dot com 2012-04-30 11:48:46 UTC ---
Sorry buddy, I have removed past code and setup the fresh code.

This time have build 64 bit gmp and mpfr with ABI=64 @ --prefix path
/usr/local/ and tried to build gcc in 64 bit. but it gave this error ELFCLASS64
for libmpfr.so and libgmp.so


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (4 preceding siblings ...)
  2012-04-30 11:49 ` birender.singh at hotmail dot com
@ 2012-04-30 11:51 ` redi at gcc dot gnu.org
  2012-04-30 11:52 ` redi at gcc dot gnu.org
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-30 11:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 11:51:06 UTC ---
(In reply to comment #4)
> Sorry buddy, I have removed past code and setup the fresh code.
> 
> This time have build 64 bit gmp and mpfr with ABI=64 @ --prefix path
> /usr/local/ and tried to build gcc in 64 bit. but it gave this error ELFCLASS64
> for libmpfr.so and libgmp.so

Don't do that.

GCC 4.4 always builds a 32-bit binary on Solaris, so it needs 32-bit GMP and
MPFR libs.

But if you follow the instructions at http://gcc.gnu.org/wiki/InstallingGCC
then you don't need to install GMP and MPFR anyway, GCC will automatically buil
them correctly for you.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (5 preceding siblings ...)
  2012-04-30 11:51 ` redi at gcc dot gnu.org
@ 2012-04-30 11:52 ` redi at gcc dot gnu.org
  2012-04-30 11:53 ` ebotcazou at gcc dot gnu.org
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-30 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (6 preceding siblings ...)
  2012-04-30 11:52 ` redi at gcc dot gnu.org
@ 2012-04-30 11:53 ` ebotcazou at gcc dot gnu.org
  2012-04-30 11:55 ` ebotcazou at gcc dot gnu.org
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-04-30 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-30 11:53:14 UTC ---
> You cannot build GCC 4.4 as a 64-bit binary, that is not possible. But by
> default on GCC on Solaris is able to generate both 32-bit and 64-bit output (by
> using the -m64 option), you don't need to do anything special to enable that.

Huh?  Of course you can build a 64-bit compiler on SPARC/Solaris, that is even
documented in the installation notes...


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (7 preceding siblings ...)
  2012-04-30 11:53 ` ebotcazou at gcc dot gnu.org
@ 2012-04-30 11:55 ` ebotcazou at gcc dot gnu.org
  2012-04-30 12:09 ` redi at gcc dot gnu.org
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-04-30 11:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-30 11:55:06 UTC ---
> This time have build 64 bit gmp and mpfr with ABI=64 @ --prefix path
> /usr/local/ and tried to build gcc in 64 bit. but it gave this error ELFCLASS64
> for libmpfr.so and libgmp.so

See http://gcc.gnu.org/install/specific.html#sparc64-x-solaris2


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (8 preceding siblings ...)
  2012-04-30 11:55 ` ebotcazou at gcc dot gnu.org
@ 2012-04-30 12:09 ` redi at gcc dot gnu.org
  2012-04-30 14:57 ` birender.singh at hotmail dot com
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-30 12:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 12:09:13 UTC ---
(In reply to comment #7)
> > You cannot build GCC 4.4 as a 64-bit binary, that is not possible. But by
> > default on GCC on Solaris is able to generate both 32-bit and 64-bit output (by
> > using the -m64 option), you don't need to do anything special to enable that.
> 
> Huh?  Of course you can build a 64-bit compiler on SPARC/Solaris, that is even
> documented in the installation notes...

Oops, sorry, I was thinking of the x86_64-pc-solaris* case, which wasn't
supported prior to GCC 4.7 (PR 39150)

That doesn't change the fact that this PR is clearly this FAQ
http://gcc.gnu.org/wiki/FAQ#configure_suffix and will almost certainly be
solved by using the contrib/download_prerequisites script as suggested at
http://gcc.gnu.org/wiki/InstallingGCC


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (9 preceding siblings ...)
  2012-04-30 12:09 ` redi at gcc dot gnu.org
@ 2012-04-30 14:57 ` birender.singh at hotmail dot com
  2012-04-30 15:01 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-04-30 14:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from birender.singh at hotmail dot com 2012-04-30 14:57:03 UTC ---


while building for a few hours the build failed with error as below:



make[8]: *** [libjavamath.la] Error 1
make[8]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni/java-math'
make[8]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni'
/bin/bash ../../scripts/check_jni_methods.sh
make[8]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native/jni'
make[7]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/native'
Making all in resource
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/resource'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/resource'
Making all in scripts
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/scripts'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/scripts'
Making all in tools
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
Makefile:839: warning: overriding commands for target `gjdoc'
Makefile:774: warning: ignoring old commands for target `gjdoc'
make  all-am
make[7]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
Makefile:839: warning: overriding commands for target `gjdoc'
Makefile:774: warning: ignoring old commands for target `gjdoc'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath/tools'
make[6]: Entering directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath'
true  DO=all multi-do # make
make[6]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/sparcv7/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/els/install/biru/obj/sparcv9-sun-solaris2.9/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/els/install/biru/obj'
make: *** [all] Error 2
root@slimsol9t4 #

Yet 64 bit gcc-4.4.4 not build.....:(


REgards,
-BK


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (10 preceding siblings ...)
  2012-04-30 14:57 ` birender.singh at hotmail dot com
@ 2012-04-30 15:01 ` redi at gcc dot gnu.org
  2012-04-30 22:57 ` ebotcazou at gcc dot gnu.org
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-30 15:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 15:00:28 UTC ---
(In reply to comment #10)
> 
> while building for a few hours the build failed with error as below:
> 
> 
> 
> make[8]: *** [libjavamath.la] Error 1
> make[8]: Leaving directory

You've shown everything except the actual error, which happens above that line.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (11 preceding siblings ...)
  2012-04-30 15:01 ` redi at gcc dot gnu.org
@ 2012-04-30 22:57 ` ebotcazou at gcc dot gnu.org
  2012-05-01  9:40 ` birender.singh at hotmail dot com
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-04-30 22:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-04-30 22:56:41 UTC ---
> Yet 64 bit gcc-4.4.4 not build.....:(

If you don't need Java, configure with --disable-libgcj.  The error you have is
apparently at installation time, so we cannot guess without more info...


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (12 preceding siblings ...)
  2012-04-30 22:57 ` ebotcazou at gcc dot gnu.org
@ 2012-05-01  9:40 ` birender.singh at hotmail dot com
  2012-05-01 10:08 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-05-01  9:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from birender.singh at hotmail dot com 2012-05-01 09:40:31 UTC ---
The error removed when configured with --enable-languages=c,c++   only.
Is this correct? or if this gcc is build then does it make effect to java ?
beacuse don't know gcc + java releation..?


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (13 preceding siblings ...)
  2012-05-01  9:40 ` birender.singh at hotmail dot com
@ 2012-05-01 10:08 ` ebotcazou at gcc dot gnu.org
  2012-05-07  9:22 ` birender.singh at hotmail dot com
  2012-05-07  9:26 ` birender.singh at hotmail dot com
  16 siblings, 0 replies; 18+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-05-01 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #14 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-05-01 10:08:09 UTC ---
> The error removed when configured with --enable-languages=c,c++   only.
> Is this correct? or if this gcc is build then does it make effect to java ?
> beacuse don't know gcc + java releation..?

If you don't need the Java compiler (GCJ) included in GCC but only the C and
C++ compilers, yes, that's fine.  That's orthogonal to the pre-existing Java
setup on the machine.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (14 preceding siblings ...)
  2012-05-01 10:08 ` ebotcazou at gcc dot gnu.org
@ 2012-05-07  9:22 ` birender.singh at hotmail dot com
  2012-05-07  9:26 ` birender.singh at hotmail dot com
  16 siblings, 0 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-05-07  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from birender.singh at hotmail dot com 2012-05-07 09:20:51 UTC ---
This error "configure: error: cannot compute suffix of object files cannot
compile" while building gcc on solaris get resolved by adding "lib" location in
the PATH

i.e 

export
PATH=$PATH:/els/install/biru/local/gmp_64/lib:/els/install/biru/local/mpfr_64/lib

As per help mentioned in link "http://gcc.gnu.org/wiki/FAQ#configure" i.e
missing library.


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

* [Bug bootstrap/53112] Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile
  2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
                   ` (15 preceding siblings ...)
  2012-05-07  9:22 ` birender.singh at hotmail dot com
@ 2012-05-07  9:26 ` birender.singh at hotmail dot com
  16 siblings, 0 replies; 18+ messages in thread
From: birender.singh at hotmail dot com @ 2012-05-07  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from birender.singh at hotmail dot com 2012-05-07 09:22:51 UTC ---
Thanks to every one, god bless all.

Regards,
-Birender


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

end of thread, other threads:[~2012-05-07  9:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 12:02 [Bug bootstrap/53112] New: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile birender.singh at hotmail dot com
2012-04-29  8:37 ` [Bug bootstrap/53112] " ebotcazou at gcc dot gnu.org
2012-04-30 11:07 ` birender.singh at hotmail dot com
2012-04-30 11:14 ` ebotcazou at gcc dot gnu.org
2012-04-30 11:49 ` redi at gcc dot gnu.org
2012-04-30 11:49 ` birender.singh at hotmail dot com
2012-04-30 11:51 ` redi at gcc dot gnu.org
2012-04-30 11:52 ` redi at gcc dot gnu.org
2012-04-30 11:53 ` ebotcazou at gcc dot gnu.org
2012-04-30 11:55 ` ebotcazou at gcc dot gnu.org
2012-04-30 12:09 ` redi at gcc dot gnu.org
2012-04-30 14:57 ` birender.singh at hotmail dot com
2012-04-30 15:01 ` redi at gcc dot gnu.org
2012-04-30 22:57 ` ebotcazou at gcc dot gnu.org
2012-05-01  9:40 ` birender.singh at hotmail dot com
2012-05-01 10:08 ` ebotcazou at gcc dot gnu.org
2012-05-07  9:22 ` birender.singh at hotmail dot com
2012-05-07  9:26 ` birender.singh at hotmail 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).