This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem building libsdc++-v3 in a cross compile environment (zSeries, PPC64)


Tried to build a cross-compiler for zSeries (64 bit) on an x86 system on
cvs head.
I get a failure while configuring the libstdc++. This also happens when
building a powerpc64 cross
compiler.
      regards, Hartmut

Configure:
 ../gcc-head/configure  --target=s390x-ibm-linux --enable-languages=c,c++
--disable-multilib

...

Configuring in s390x-ibm-linux/libstdc++-v3
configure: loading cache ../config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) s390x-ibm-linux-gnu
checking target system type... (cached) s390x-ibm-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for s390x-ibm-linux-strip... (cached) s390x-ibm-linux-strip
checking for s390x-ibm-linux-gcc... (cached)  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -B/home/hp/gnu/gcc-head-s390x/gcc/
-B/usr/local/s390x-ibm-linux/bin/ -B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem
/usr/local/s390x-ibm-linux/sys-include
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -B/home/hp/gnu/gcc-head-s390x/gcc/ -B/usr/local/s390x-ibm-linux/bin/
-B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem /usr/local/s390x-ibm-linux/sys-include accepts -g... (cached)
yes
checking for  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -B/home/hp/gnu/gcc-head-s390x/gcc/ -B/usr/local/s390x-ibm-linux/bin/
-B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem /usr/local/s390x-ibm-linux/sys-include option to accept ANSI
C... (cached) none needed
checking for s390x-ibm-linux-g++... (cached)  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -shared-libgcc -B/home/hp/gnu/gcc-head-s390x/gcc/ -nostdinc++
-L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src -L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src/.libs
-B/usr/local/s390x-ibm-linux/bin/ -B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem
/usr/local/s390x-ibm-linux/sys-include
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -shared-libgcc -B/home/hp/gnu/gcc-head-s390x/gcc/ -nostdinc++
-L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src -L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src/.libs
-B/usr/local/s390x-ibm-linux/bin/ -B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem
/usr/local/s390x-ibm-linux/sys-include accepts -g... (cached) yes
checking for GCC version number... 3.4
checking whether ln -s works... yes
checking for s390x-ibm-linux-as... (cached) /usr/local/s390x-ibm-linux/bin/as
checking for s390x-ibm-linux-ar... (cached) s390x-ibm-linux-ar
checking for s390x-ibm-linux-ranlib... (cached) s390x-ibm-linux-ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
configure: CPU config directory is cpu/s390
configure: OS config directory is os/gnu-linux
checking for ld used by GCC... (cached) /usr/local/s390x-ibm-linux/bin/ld
checking if the linker (/usr/local/s390x-ibm-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/local/s390x-ibm-linux/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/local/s390x-ibm-linux/bin/nm
checking how to recognise dependant libraries... (cached) file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking for s390x-ibm-linux-file... (cached) /usr/bin/file
checking for s390x-ibm-linux-ranlib... (cached) s390x-ibm-linux-ranlib
checking for s390x-ibm-linux-strip... (cached) s390x-ibm-linux-strip
updating cache ../config.cache
loading cache ../config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) no
checking for objdir... .libs
checking for /home/hp/gnu/gcc-head-s390x/gcc/xgcc option to produce PIC...  -fPIC -DPIC
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc PIC flag  -fPIC -DPIC works... (cached) yes
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc static flag -static works... (cached) yes
finding the maximum length of command line arguments... (cached) 49153
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc supports -c -o file.o... (cached) yes
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/local/s390x-ibm-linux/bin/ld -m elf64_s390) 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 /usr/local/s390x-ibm-linux/bin/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...  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -shared-libgcc -B/home/hp/gnu/gcc-head-s390x/gcc/ -nostdinc++
-L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src -L/home/hp/gnu/gcc-head-s390x/s390x-ibm-linux/libstdc++-v3/src/.libs
-B/usr/local/s390x-ibm-linux/bin/ -B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem
/usr/local/s390x-ibm-linux/sys-include -E
loading cache ../config.cache within ltconfig
checking host system type... s390x-ibm-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for objdir... .libs
checking for /home/hp/gnu/gcc-head-s390x/gcc/xgcc option to produce PIC... -fPIC -DPIC
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc PIC flag -fPIC -DPIC works... yes
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc static flag -static works... no
finding the maximum length of command line arguments... (cached) 49153
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc supports -c -o file.o... (cached) yes
checking if /home/hp/gnu/gcc-head-s390x/gcc/xgcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/local/s390x-ibm-linux/bin/ld -m elf64_s390) 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 /usr/local/s390x-ibm-linux/bin/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 use of libunwind...
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...  /home/hp/gnu/gcc-head-s390x/gcc/xgcc -B/home/hp/gnu/gcc-head-s390x/gcc/ -B/usr/local/s390x-ibm-linux/bin/
-B/usr/local/s390x-ibm-linux/lib/ -isystem /usr/local/s390x-ibm-linux/include -isystem /usr/local/s390x-ibm-linux/sys-include -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
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 for sys/types.h... (cached) yes
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 for main in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]