From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20578 invoked by alias); 19 Dec 2007 14:32:24 -0000 Received: (qmail 20567 invoked by uid 22791); 19 Dec 2007 14:32:22 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.cadenas.de (HELO cnsbw01.cadenas.de) (213.179.137.23) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 19 Dec 2007 14:32:15 +0000 Message-ID: <47692CD3.7040708@cadenas.de> Date: Wed, 19 Dec 2007 14:32:00 -0000 From: Thomas Mittelstaedt User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: Problem building gcc-4.2.2 on 64-bit ubuntu linux References: <4768E104.2000801@cadenas.de> <47691F4A.4010607@cadenas.de> In-Reply-To: <47691F4A.4010607@cadenas.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00343.txt.bz2 Okay, restartet from scratch with the following, but the I/usr/include/i486-linux-gnu/ would still not propagate. ../gcc-4.2.2/configure --prefix=/opt/gcc-4.2.2 --enable-version-specific-runtime-libs --enable-static --enable-shared --enable-languages=c,c++,objc,obj-c++ --enable-threads=posix --enable-nls --enable-__cxa_atexit --enable-libstdcxx-debug --enable-checking=release make CFLAGS_FOR_TARGET="-I/usr/include/i486-linux-gnu/" CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap /localbuild/gcc-build/./gcc/xgcc -shared-libgcc -B/localbuild/gcc-build/./gcc -nostdinc++ -L/localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src -L/localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs -B/opt/gcc-4.2.2/x86_64-unknown-linux-gnu/bin/ -B/opt/gcc-4.2.2/x86_64-unknown-linux-gnu/lib/ -isystem /opt/gcc-4.2.2/x86_64-unknown-linux-gnu/include -isystem /opt/gcc-4.2.2/x86_64-unknown-linux-gnu/sys-include -m32 -I/localbuild/gcc-4.2.2/libstdc++-v3/../gcc -I/localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include -I/localbuild/gcc-4.2.2/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -m32 -c ../../../../../gcc-4.2.2/libstdc++-v3/libsupc++/del_op.cc -fPIC -DPIC -o del_op.o In file included from /usr/include/features.h:346, from /localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/os_defines.h:44, from /localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/c++config.h:41, from ../../../../../gcc-4.2.2/libstdc++-v3/libsupc++/del_op.cc:31: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory make[8]: *** [del_op.lo] Error 1 make[8]: Leaving directory `/localbuild/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/libsupc++' Thomas Mittelstaedt schrieb: > > John (Eljay) Love-Jensen schrieb: > >> Hi Thomas, >> >> >> >>> ../configure --prefix=/opt/gcc-4.2.2 >>> >>> >> --enable-version-specific-runtime-libs --enable-static --enable-shared >> --enable-languages=c,c++,java,objc,obj-c++ --enable-threads=posix >> --enable-nls --enable-__cxa_atexit --enable-libstdcxx-debug >> --enable-checking=release x86_64-linux-gnu >> >> It appears that you are attempting to build GCC from within a subdirectory of the GCC source code (instead of, say, a peer directory to the GCC source code). >> >> >> > Oh, man. me *bummer*. I did read the configure page, but not thoroughly > enough (maybe too fast). :-[ > I'll redo it cleanly! > > >> Since that situation is not supported as per , do you get the same problem if you build to a peer directory to the source code? >> >> Note: the source code tree may be "tainted" and could need to be "rm -rf" and "tar -x" afresh. >> >> I do not know if this is related to the problem encountered or not. Just one of the variables to consider taking out of the equation. >> >> Sincerely, >> --Eljay >> >>