From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15240 invoked by alias); 9 Nov 2007 19:26:38 -0000 Received: (qmail 15217 invoked by uid 48); 9 Nov 2007 19:26:29 -0000 Date: Fri, 09 Nov 2007 19:26:00 -0000 Subject: [Bug bootstrap/34045] New: gcc does not build on Debian etch AMD64 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "laurent dot bonnaud at inpg dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00833.txt.bz2 Hi, I tried to compile gcc 4.2.2 from source on Debian etch AMD64 and failed. I used the system compiler: $ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Here is what I did and got in return: $ ./configure --prefix=/usr/local/gcc-4.2 [No error] $ make bootstrap [...] config.status: executing default-1 commands Adding multilib support to Makefile in ../.././libmudflap multidirs=32 with_multisubdir= Running configure in multilib subdirs 32 pwd: /var/tmp/LB/gcc-4.2.2/x86_64-unknown-linux-gnu/libmudflap Running configure in multilib subdir 32 pwd: /var/tmp/LB/gcc-4.2.2/x86_64-unknown-linux-gnu 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... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for --enable-version-specific-runtime-libs... no checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-unknown-linux-gnu-gcc... /var/tmp/LB/gcc-4.2.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/var/tmp/LB/gcc-4.2.2/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/gcc-4.2/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.2/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc-4.2/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.2/x86_64-unknown-linux-gnu/sys-include -m32 checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make[1]: *** [configure-target-libmudflap] Error 1 make[1]: Leaving directory `/var/tmp/LB/gcc-4.2.2' make: *** [bootstrap] Error 2 -- Summary: gcc does not build on Debian etch AMD64 Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: laurent dot bonnaud at inpg dot fr GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34045