cd /TMP/build-gcc-svn20060906-powerpc64

/TMP/gcc-svn20060906/configure --target=powerpc64-linux
--prefix=/usr/local/DIR/gcc-powerpc64-svn20060906 --enable-languages=c
--with-as=/usr/local/bin/powerpc64-linux-as
--with-ld=/usr/local/bin/powerpc64-linux-ld --disable-shared
--enable-threads=single --disable-multilib

make


results in:

<--  snip  -->

...
make[2]: Leaving directory `/TMP/build-gcc-svn20060906-powerpc64/gcc'
Checking multilib configuration for libmudflap...
mkdir -p -- powerpc64-linux/libmudflap
Configuring in powerpc64-linux/libmudflap
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc64-linux-strip... powerpc64-linux-strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for powerpc64-linux-gcc...
/TMP/build-gcc-svn20060906-powerpc64/./gcc/x
gcc -B/TMP/build-gcc-svn20060906-powerpc64/./gcc/
-B/usr/local/DIR/gcc-powerpc64
-svn20060906/powerpc64-linux/bin/
-B/usr/local/DIR/gcc-powerpc64-svn20060906/pow
erpc64-linux/lib/ -isystem
/usr/local/DIR/gcc-powerpc64-svn20060906/powerpc64-li
nux/include -isystem
/usr/local/DIR/gcc-powerpc64-svn20060906/powerpc64-linux/sy
s-include
checking for C compiler default output file name... configure: error: C
compiler
 cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/TMP/build-gcc-svn20060906-powerpc64'
make: *** [all] Error 2

<--  snip  -->


I can workaround this issue with "--disable-libmudflap --disable-libssp".


-- 
           Summary: [4.0/4.1/4.2 regression] building a cross compiler with
                    --disable-multilib fails
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bunk at stusta dot de
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu (and several others)


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

Reply via email to