public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/16371] New: gcc 3.4.1 fails to configure on amd64 with multilib enabled
@ 2004-07-05 16:28 lv at gentoo dot org
  2004-07-05 16:31 ` [Bug libstdc++/16371] " pinskia at gcc dot gnu dot org
                   ` (29 more replies)
  0 siblings, 30 replies; 31+ messages in thread
From: lv at gentoo dot org @ 2004-07-05 16:28 UTC (permalink / raw)
  To: gcc-bugs

with multilib enabled on amd64, gcc 3.4.1 fails to configure libstdc++ for
32bit. the error i get is:

checking for sin in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.

a more complete version:

Adding multilib support to Makefile in ../../../gcc-3.4.1/libstdc++-v3
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /root/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3
Running configure in multilib subdir 32
pwd: /root/gcc/build/x86_64-unknown-linux-gnu
mkdir 32
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc... /root/gcc/build/gcc/xgcc
-B/root/gcc/build/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  -m32
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /root/gcc/build/gcc/xgcc -B/root/gcc/build/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  -m32 accepts -g... yes
checking for /root/gcc/build/gcc/xgcc -B/root/gcc/build/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  -m32 option to accept ANSI C...
none needed
checking for x86_64-unknown-linux-gnu-g++... /root/gcc/build/gcc/xgcc
-shared-libgcc -B/root/gcc/build/gcc/ -nostdinc++
-L/root/gcc/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/root/gcc/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-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  -m32
checking whether we are using the GNU C++ compiler... yes
checking whether /root/gcc/build/gcc/xgcc -shared-libgcc -B/root/gcc/build/gcc/
-nostdinc++ -L/root/gcc/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/root/gcc/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-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  -m32 accepts -g... yes
checking for GCC version number... 3.4.1
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-as... as
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
configure: CPU config directory is cpu/i486
configure: OS config directory is os/gnu-linux
checking for ld used by GCC... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking for ld -m elf_x86_64 option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit
[LM]SB (shared object|dynamic lib )
checking for x86_64-unknown-linux-gnu-file... no
checking for file... /usr/bin/file
checking for x86_64-unknown-linux-gnu-ranlib... (cached) ranlib
checking for x86_64-unknown-linux-gnu-strip... no
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... no
checking for objdir... .libs
checking for /root/gcc/build/gcc/xgcc option to produce PIC... -fPIC -DPIC
checking if /root/gcc/build/gcc/xgcc PIC flag -fPIC -DPIC works... yes
checking if /root/gcc/build/gcc/xgcc static flag -static works... no
finding the maximum length of command line arguments... 49153
checking if /root/gcc/build/gcc/xgcc supports -c -o file.o... yes
checking if /root/gcc/build/gcc/xgcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (ld -m elf_x86_64 -m elf_i386) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... failed
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking how to run the C++ preprocessor... /root/gcc/build/gcc/xgcc
-shared-libgcc -B/root/gcc/build/gcc/ -nostdinc++
-L/root/gcc/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/root/gcc/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-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  -m32 -E
loading cache ./config.cache within ltconfig
checking host system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for objdir... .libs
checking for /root/gcc/build/gcc/xgcc option to produce PIC... -fPIC -DPIC
checking if /root/gcc/build/gcc/xgcc PIC flag -fPIC -DPIC works... yes
checking if /root/gcc/build/gcc/xgcc static flag -static works... no
finding the maximum length of command line arguments... (cached) 49153
checking if /root/gcc/build/gcc/xgcc supports -c -o file.o... (cached) yes
checking if /root/gcc/build/gcc/xgcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (ld -m elf_x86_64 -m elf_i386) supports shared
libraries...
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... failed
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
appending configuration tag "CXX" to libtool
checking for exception model to use... call frame
checking for enabled PCH... yes
checking for compiler with PCH support... yes
checking for underlying I/O to use... stdio
checking how to run the C preprocessor... /root/gcc/build/gcc/xgcc
-B/root/gcc/build/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  -m32 -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for C locale to use... generic
checking for std::allocator base class to use... new
configure: "C" header strategy set to c_std
checking for ISO C99 support in <math.h>... yes
checking for ISO C99 support in <stdio.h>... yes
checking for lldiv_t declaration... yes
checking for ISO C99 support in <stdlib.h>... yes
checking for additional ISO C99 support in <wchar.h>... yes
checking for enabled ISO C99 support... yes
checking for enabled long long I/O support... yes
checking for thread model used by GCC... posix
configure: Debug build flags set to -g3 -O0
checking for additional debug build... no
checking for extra compiler flags for building...
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/isa_defs.h usability... no
checking sys/isa_defs.h presence... no
checking for sys/isa_defs.h... no
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking gconv.h usability... yes
checking gconv.h presence... yes
checking for gconv.h... yes
checking for sys/types.h... (cached) yes
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for sin in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1

-- 
           Summary: gcc 3.4.1 fails to configure on amd64 with multilib
                    enabled
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lv at gentoo dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

end of thread, other threads:[~2005-03-06 15:40 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-05 16:28 [Bug libstdc++/16371] New: gcc 3.4.1 fails to configure on amd64 with multilib enabled lv at gentoo dot org
2004-07-05 16:31 ` [Bug libstdc++/16371] " pinskia at gcc dot gnu dot org
2004-07-05 16:52 ` lv at gentoo dot org
2004-07-05 16:59 ` lv at gentoo dot org
2004-07-05 17:02 ` pcarlini at suse dot de
2004-07-05 17:27 ` lv at gentoo dot org
2004-07-05 19:01 ` lv at gentoo dot org
2004-07-23  3:29 ` mg_gentoo at yahoo dot com
2004-07-23  8:58 ` mg_gentoo at yahoo dot com
2004-07-23  9:18 ` lv at gentoo dot org
2004-07-23  9:38 ` [Bug libstdc++/16371] gcc 3.4.1 - GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT does not respect GCC_NO_EXECUTABLES lv at gentoo dot org
2004-07-23 11:07 ` mg_gentoo at yahoo dot com
2004-07-26 14:16 ` [Bug libstdc++/16371] [3.4/3.5 Regression] Fails to build the target libstdc++-v3 library on a cross to any linux pinskia at gcc dot gnu dot org
2004-07-26 14:17 ` pinskia at gcc dot gnu dot org
2004-07-26 14:19 ` pinskia at gcc dot gnu dot org
2004-07-26 23:06 ` mg_gentoo at yahoo dot com
2004-07-26 23:16 ` lars dot sonchocky-helldorf at hamburg dot de
2004-07-27  7:23 ` remedy at programmit dot co dot uk
2004-07-29 16:39 ` mg_gentoo at yahoo dot com
2004-08-24 19:09 ` abiggadike at yahoo dot com
2004-08-25  4:16 ` [Bug libstdc++/16371] [3.4/3.5 Regression] libstdc++ fails for crosses pinskia at gcc dot gnu dot org
2004-08-25  4:16 ` pinskia at gcc dot gnu dot org
2004-08-29 18:55 ` mmitchel at gcc dot gnu dot org
2004-09-15  2:42 ` [Bug libstdc++/16371] [3.4/4.0 " nospam-bugzilla at uun dot org
2004-09-28 13:49 ` jtison at ntplx dot net
2004-11-01  0:46 ` mmitchel at gcc dot gnu dot org
2004-11-10 21:12 ` mg_gentoo at yahoo dot com
2004-11-11  0:40 ` wilson at specifixinc dot com
2004-11-11  3:45 ` mg_gentoo at yahoo dot com
2004-12-05  3:14 ` [Bug libstdc++/16371] " pinskia at gcc dot gnu dot org
2005-03-06 15:40 ` pinskia at gcc dot gnu dot org

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