* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
@ 2013-08-28 13:01 ` mikpe at it dot uu.se
2013-08-28 13:18 ` redi at gcc dot gnu.org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mikpe at it dot uu.se @ 2013-08-28 13:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> ---
(In reply to anand.karanam from comment #0)
> checking for suffix of object files... configure: error: in
> `/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/
> sparc-sun-solaris2.10-i686-pc-linux-gnu/i686-pc-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> gmake[1]: *** [configure-target-libgcc] Error 1
> gmake[1]: Leaving directory
> `/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/
> sparc-sun-solaris2.10-i686-pc-linux-gnu'
> make: *** [all] Error 2
You need to look in that config.log file to see what the error was. There are
several config.log files in the build tree, it should be in a `libgcc'
sub-directory. I usually do 'find . -name config.log | xargs ls -tl | head' to
find the most recent one (which will be the one with the final hard error).
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
2013-08-28 13:01 ` [Bug libgcc/58260] " mikpe at it dot uu.se
@ 2013-08-28 13:18 ` redi at gcc dot gnu.org
2013-08-28 13:26 ` anand.karanam at tcs dot com
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: redi at gcc dot gnu.org @ 2013-08-28 13:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
Severity|major |normal
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Please read http://gcc.gnu.org/wiki/FAQ#configure_suffix and then read
http://gcc.gnu.org/wiki/InstallingGCC
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
2013-08-28 13:01 ` [Bug libgcc/58260] " mikpe at it dot uu.se
2013-08-28 13:18 ` redi at gcc dot gnu.org
@ 2013-08-28 13:26 ` anand.karanam at tcs dot com
2013-08-28 13:34 ` mikpe at it dot uu.se
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anand.karanam at tcs dot com @ 2013-08-28 13:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
anand.karanam at tcs dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anand.karanam at tcs dot com
--- Comment #3 from anand.karanam at tcs dot com ---
Created attachment 30711
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30711&action=edit
libgcc configuratrion informatoin
Added the config.log of libgcc
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (2 preceding siblings ...)
2013-08-28 13:26 ` anand.karanam at tcs dot com
@ 2013-08-28 13:34 ` mikpe at it dot uu.se
2013-08-28 13:35 ` redi at gcc dot gnu.org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mikpe at it dot uu.se @ 2013-08-28 13:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> ---
You got several 'conftest.c:16:1: internal compiler error: Bus Error' from the
newly built compiler.
You should try one of those compilation attempts manually, in gdb, to see where
the SIGBUS is coming from.
I see that you configured with --with-{gmp,mpfr,mpc} pointing into a private
install. That's OK, but unless you built those libraries with --disable-shared
you also have to set up LD_LIBRARY_PATH so that they can be found by the
dynamic linker. Otherwise it might load incompatible versions installed
elsewhere.
(I always build gmp/mpfr/mpc with --disable-shared exactly to avoid such
issues.)
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (3 preceding siblings ...)
2013-08-28 13:34 ` mikpe at it dot uu.se
@ 2013-08-28 13:35 ` redi at gcc dot gnu.org
2013-08-28 13:36 ` redi at gcc dot gnu.org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: redi at gcc dot gnu.org @ 2013-08-28 13:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The relevant part of the file is:
configure:3055:
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/bin/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/lib/
-isystem
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/include
-isystem
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/sys-include
-o conftest -g -Os conftest.c >&5
conftest.c: In function 'main':
conftest.c:16:1: internal compiler error: Bus Error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3058: $? = 1
configure:3246: checking for suffix of object files
configure:3268:
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/bin/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/lib/
-isystem
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/include
-isystem
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/sys-include
-c -g -Os conftest.c >&5
conftest.c: In function 'main':
conftest.c:16:1: internal compiler error: Bus Error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3272: $? = 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:3286: error: in
`/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/i686-pc-linux-gnu/libgcc':
configure:3289: error: cannot compute suffix of object files: cannot compile
I still suggest you follow the instructions at
http://gcc.gnu.org/wiki/InstallingGCC instead of installing gmp, mpfr and mpc
separately.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (4 preceding siblings ...)
2013-08-28 13:35 ` redi at gcc dot gnu.org
@ 2013-08-28 13:36 ` redi at gcc dot gnu.org
2013-08-28 16:07 ` mikpe at it dot uu.se
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: redi at gcc dot gnu.org @ 2013-08-28 13:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Mikael Pettersson from comment #4)
> (I always build gmp/mpfr/mpc with --disable-shared exactly to avoid such
> issues.)
Why not just build them in tree and avoid all problems?
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (5 preceding siblings ...)
2013-08-28 13:36 ` redi at gcc dot gnu.org
@ 2013-08-28 16:07 ` mikpe at it dot uu.se
2013-08-29 10:20 ` anand.karanam at tcs dot com
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mikpe at it dot uu.se @ 2013-08-28 16:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #7 from Mikael Pettersson <mikpe at it dot uu.se> ---
(In reply to Jonathan Wakely from comment #6)
> (In reply to Mikael Pettersson from comment #4)
> > (I always build gmp/mpfr/mpc with --disable-shared exactly to avoid such
> > issues.)
>
> Why not just build them in tree and avoid all problems?
Because
1. building those libraries with --disable-shared and pointing gcc's configure
to them (--with-gmp= etc) is trivial and also avoids the problems,
2. I build gcc a lot (several branches x several architectures), I really don't
want to waste time and electricity rebuilding those libraries again and again,
3. I want precise control over which versions of those libraries I'm testing,
4. as a matter of principle I think pre-requisites should be strictly external
to the gcc build process, otherwise were do we stop? should we download and
build make, bash, coreutils, gdb, expect, glibc, ... just because the build
needs them? special-casing gmp/mpfr/mpc is completely unnecessary
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (6 preceding siblings ...)
2013-08-28 16:07 ` mikpe at it dot uu.se
@ 2013-08-29 10:20 ` anand.karanam at tcs dot com
2013-08-29 10:21 ` anand.karanam at tcs dot com
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anand.karanam at tcs dot com @ 2013-08-29 10:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #8 from anand.karanam at tcs dot com ---
Hi,
I have tried the build of gmp,mpfr and mpc with the option of --disable-shared
and using them.
However now when I use the following configuration for cross compiler build (
Solaris to Linux ) with the following options
$INSTALLDIR/gcc-$GCCVER/configure --prefix=$PREFIX $TGTOPT $SYSROOT
--with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-nls
-with-gmp=/app/gmp/5.0.1 --with-mpfr=/app/mpfr/2.4.2 --with-mpc=/app/mpc/0.8.1
SOURCE=/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL
PREFIX=/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc
CROSS_OS=Linux
INSTALLDIR=/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL
XLIBC=/vobs/cello/cade_struct/Linux/i686/usr
XSYSROOT=--with-sysroot=/vobs/cello/cade_struct/Linux/i686/usr
SYSROOT=--with-sysroot=/vobs/cello/cade_struct/Linux/i686/usr
Now observe the problem with libgomp build.
configure:3688:
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INS
TALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/bin/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solari
s_to_Linux/SunOS/sparc/i686-pc-linux-gnu/lib/ -isystem
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/include
-isystem /home/ekarana/ekarana_2013/GCC463_OSE5.6/Solar
is_to_Linux/SunOS/sparc/i686-pc-linux-gnu/sys-include -g -O2 conftest.c
>&5
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/bin/ld:
warning: ld-linux.so.2, needed by
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6, not found (try using -
rpath or -rpath-link)
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`__libc_stack_end@GLIBC_2.1'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_dl_tls_get_addr_soft@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_dl_argv@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_rtld_global_ro@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`___tls_get_addr@GLIBC_2.3'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_rtld_global@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`__libc_enable_secure@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:3692: $? = 1
configure:3729: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
:q!
Some information on
Note: /vobs/cello/cade_struct/Linux/i686/usr contains the copy of Linux host
includes and libraries( static and shared ).
Not sure if the /vobs/cello/cade_struct/Linux/i686/usr libraries are from
SLED11 64bit as they were created earlier from SLED10 32 bit
Solaris host machine is
SunOS esekitsxxxx 5.10 Generic_142900-02 sun4u sparc SUNW,SPARC-Enterprise
Do we need to have a copy of the Linux host includes and libraries to prepare
the cross compiler?
Or can we avoid this with newlib build and using the same?
Attached the config file for libgomp.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (7 preceding siblings ...)
2013-08-29 10:20 ` anand.karanam at tcs dot com
@ 2013-08-29 10:21 ` anand.karanam at tcs dot com
2013-08-29 10:23 ` anand.karanam at tcs dot com
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anand.karanam at tcs dot com @ 2013-08-29 10:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #9 from anand.karanam at tcs dot com ---
Hi,
I have tried the build of gmp,mpfr and mpc with the option of --disable-shared
and using them.
However now when I use the following configuration for cross compiler build (
Solaris to Linux ) with the following options
$INSTALLDIR/gcc-$GCCVER/configure --prefix=$PREFIX $TGTOPT $SYSROOT
--with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-nls
-with-gmp=/app/gmp/5.0.1 --with-mpfr=/app/mpfr/2.4.2 --with-mpc=/app/mpc/0.8.1
SOURCE=/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL
PREFIX=/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc
CROSS_OS=Linux
INSTALLDIR=/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL
XLIBC=/vobs/cello/cade_struct/Linux/i686/usr
XSYSROOT=--with-sysroot=/vobs/cello/cade_struct/Linux/i686/usr
SYSROOT=--with-sysroot=/vobs/cello/cade_struct/Linux/i686/usr
Now observe the problem with libgomp build.
configure:3688:
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/INS
TALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/bin/
-B/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solari
s_to_Linux/SunOS/sparc/i686-pc-linux-gnu/lib/ -isystem
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/include
-isystem /home/ekarana/ekarana_2013/GCC463_OSE5.6/Solar
is_to_Linux/SunOS/sparc/i686-pc-linux-gnu/sys-include -g -O2 conftest.c
>&5
/home/ekarana/ekarana_2013/GCC463_OSE5.6/Solaris_to_Linux/SunOS/sparc/i686-pc-linux-gnu/bin/ld:
warning: ld-linux.so.2, needed by
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6, not found (try using -
rpath or -rpath-link)
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`__libc_stack_end@GLIBC_2.1'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_dl_tls_get_addr_soft@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_dl_argv@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_rtld_global_ro@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`___tls_get_addr@GLIBC_2.3'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`_rtld_global@GLIBC_PRIVATE'
/vobs/cello/cade_struct/Linux/i686/usr/lib/libc.so.6: undefined reference to
`__libc_enable_secure@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:3692: $? = 1
configure:3729: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
:q!
Some information on
Note: /vobs/cello/cade_struct/Linux/i686/usr contains the copy of Linux host
includes and libraries( static and shared ).
Not sure if the /vobs/cello/cade_struct/Linux/i686/usr libraries are from
SLED11 64bit as they were created earlier from SLED10 32 bit
Solaris host machine is
SunOS esekitsxxxx 5.10 Generic_142900-02 sun4u sparc SUNW,SPARC-Enterprise
Do we need to have a copy of the Linux host includes and libraries to prepare
the cross compiler?
Or can we avoid this with newlib build and using the same?
Attached the config file for libgomp.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (8 preceding siblings ...)
2013-08-29 10:21 ` anand.karanam at tcs dot com
@ 2013-08-29 10:23 ` anand.karanam at tcs dot com
2013-08-29 11:27 ` mikpe at it dot uu.se
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anand.karanam at tcs dot com @ 2013-08-29 10:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #10 from anand.karanam at tcs dot com ---
Created attachment 30716
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30716&action=edit
libgomp configuration
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (9 preceding siblings ...)
2013-08-29 10:23 ` anand.karanam at tcs dot com
@ 2013-08-29 11:27 ` mikpe at it dot uu.se
2013-09-21 21:39 ` anand.karanam at tcs dot com
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mikpe at it dot uu.se @ 2013-08-29 11:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #11 from Mikael Pettersson <mikpe at it dot uu.se> ---
(In reply to anand.karanam from comment #9)
> Do we need to have a copy of the Linux host includes and libraries to
> prepare the cross compiler?
>
> Or can we avoid this with newlib build and using the same?
>
> Attached the config file for libgomp.
Yes, to build a fully functional cross to i686-pc-linux-gnu you'll need glibc
headers and include files.
With newlib you may be able to avoid those dependencies, but you'll then also
have to disable non-core functionality, like (apparently) libgomp.
This is clearly not a gcc bug. Please direct further questions to the gcc-help
list.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (10 preceding siblings ...)
2013-08-29 11:27 ` mikpe at it dot uu.se
@ 2013-09-21 21:39 ` anand.karanam at tcs dot com
2013-09-21 21:41 ` anand.karanam at tcs dot com
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: anand.karanam at tcs dot com @ 2013-09-21 21:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #12 from anand.karanam at tcs dot com ---
Hi,
Now, I have the glibc from Linux host copied to a common path. Able to build
the Solaris to Linux cross compiler but that doesn't work.
hello.c: In function 'main':
hello.c:10:1: internal compiler error: Bus Error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1
Also the libgcc preparation failed
checking for i686-pc-linux-gnu-gcc...
/vobs/cello/cade_struct/tools/gcc/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc
-B/vobs/cello/cade_struct/tools/gcc/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/
-B/vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i686-pc-linux-gnu/bin/
-B/vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i686-pc-linux-gnu/lib/ -isystem
/vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i686-pc-linux-gnu/include
-isystem
/vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/vobs/cello/cade_struct/tools/gcc/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
I have ensured GMP,MPFR and MPC.
Attached the config.log as Solaris_to_Linux_config_2013_09_21.log.
Please check this as this time we can only see the errors as
configure:3055:
/vobs/cello/cade_struct/tools/gcc/INSTALL/build-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/xgcc
-B/vobs/cello/cade_struct/tools/gcc/INSTALL/buil
d-gcc/sparc-sun-solaris2.10-i686-pc-linux-gnu/./gcc/
-B/vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i686-pc-linux-gnu/bin/
-B/vobs/cello/cade_struct/tools/gcc/SunOS/s
parc/i686-pc-linux-gnu/lib/ -isystem
/vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i686-pc-linux-gnu/include
-isystem /vobs/cello/cade_struct/tools/gcc/SunOS/sparc/i68
6-pc-linux-gnu/sys-include -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:16:1: internal compiler error: Bus Error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3058: $? = 1
Need help to decide if this is a known problem with this version or I am still
missing something as the Native compiler is build ok for Solaris10.
Thanks,
Anand
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (11 preceding siblings ...)
2013-09-21 21:39 ` anand.karanam at tcs dot com
@ 2013-09-21 21:41 ` anand.karanam at tcs dot com
2020-06-16 19:06 ` egorenar at linux dot ibm.com
2020-06-16 19:07 ` egorenar at linux dot ibm.com
14 siblings, 0 replies; 16+ messages in thread
From: anand.karanam at tcs dot com @ 2013-09-21 21:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #13 from anand.karanam at tcs dot com ---
Created attachment 30879
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30879&action=edit
libgcc_config.log
Please check this and help with your inputs.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (12 preceding siblings ...)
2013-09-21 21:41 ` anand.karanam at tcs dot com
@ 2020-06-16 19:06 ` egorenar at linux dot ibm.com
2020-06-16 19:07 ` egorenar at linux dot ibm.com
14 siblings, 0 replies; 16+ messages in thread
From: egorenar at linux dot ibm.com @ 2020-06-16 19:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
Alexander Egorenkov <egorenar at linux dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egorenar at linux dot ibm.com
--- Comment #14 from Alexander Egorenkov <egorenar at linux dot ibm.com> ---
The config.log of configure-target-libgcc says:
/home/egorenar/Repositories/buildroot/output/s390x-syzkaller/build/host-gcc-initial-9.3.0/libgcc/configure:
line 3504:
/home/egorenar/Repositories/buildroot/output/s390x-syzkaller/build/host-gcc-initial-9.3.0/build/./gcc/xgcc:
No such file or directory
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
2013-08-28 12:54 [Bug libgcc/58260] New: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 anand.karanam at tcs dot com
` (13 preceding siblings ...)
2020-06-16 19:06 ` egorenar at linux dot ibm.com
@ 2020-06-16 19:07 ` egorenar at linux dot ibm.com
14 siblings, 0 replies; 16+ messages in thread
From: egorenar at linux dot ibm.com @ 2020-06-16 19:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #15 from Alexander Egorenkov <egorenar at linux dot ibm.com> ---
(In reply to Alexander Egorenkov from comment #14)
> The config.log of configure-target-libgcc says:
> /home/egorenar/Repositories/buildroot/output/s390x-syzkaller/build/host-gcc-
> initial-9.3.0/libgcc/configure: line 3504:
> /home/egorenar/Repositories/buildroot/output/s390x-syzkaller/build/host-gcc-
> initial-9.3.0/build/./gcc/xgcc: No such file or directory
Sorry, please ignore the comment, i misstyped.
^ permalink raw reply [flat|nested] 16+ messages in thread