From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26763 invoked by alias); 6 Oct 2002 07:56:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26742 invoked by uid 71); 6 Oct 2002 07:56:01 -0000 Resent-Date: 6 Oct 2002 07:56:01 -0000 Resent-Message-ID: <20021006075601.26740.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ernst.molitor@uni-bonn.de Received: (qmail 13777 invoked from network); 6 Oct 2002 07:49:41 -0000 Received: from unknown (HELO localhost.localdomain) (217.225.75.15) by sources.redhat.com with SMTP; 6 Oct 2002 07:49:41 -0000 Received: (from ernst@localhost) by localhost.localdomain (8.12.0.Beta5/8.12.0.Beta5) id g967oCBt016219; Sun, 6 Oct 2002 09:50:12 +0200 Message-Id: <200210060750.g967oCBt016219@localhost.localdomain> Date: Sun, 06 Oct 2002 00:56:00 -0000 From: ernst.molitor@uni-bonn.de To: gcc-gnats@gcc.gnu.org Cc: molitor@uni-bonn.de X-Send-Pr-Version: 3.113 Subject: libstdc++/8155: GCC-3.2 doesn't compile on Linux-2.4.19 with glibc-2.3 (with patch to gcc-3.2 applied!) X-SW-Source: 2002-10/txt/msg00212.txt.bz2 List-Id: >Number: 8155 >Category: libstdc++ >Synopsis: libstdc++ doesn't compile (GCC-3.2 with B. Haible's patch applied, glibc-2.3) >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Oct 06 00:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dr. Ernst Molitor >Release: 3.2 >Organization: University of Bonn, Germany >Environment: System: Linux felicia 2.4.20-pre2-ac3 #1 SMP Mon Sep 23 16:28:15 CEST 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.2/configure --prefix=/usr --enable-threads --enable-shared >Description: make bootstrap fails on compilation of libstdc++ with this error message: /home/ernst/incoming/gcc-bin/gcc/xgcc -shared-libgcc -B/home/ernst/incoming/gcc-bin/gcc/ -nostdinc++ -L/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/src -L/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -nostdinc++ -I/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include -I../../../../gcc-3.2/libstdc++-v3/libsupc++ -I../../../../gcc-3.2/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../gcc-3.2/libstdc++-v3/src/locale.cc -fPIC -DPIC -o .libs/locale.o In file included from ../../../../gcc-3.2/libstdc++-v3/src/locale.cc:406: /home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: In static member function `static const short unsigned int* std::ctype::classic_table()': /home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: ` __ctype_b' undeclared (first use this function) /home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: (Each undeclared identifier is reported only once for each function it appears in.) In file included from ../../../../gcc-3.2/libstdc++-v3/src/locale.cc:406: /home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: In constructor `std::ctype::ctype(const short unsigned int*, bool, unsigned int)': /home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:68: ` __ctype_toupper' undeclared (first use this function) /home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:68: ` __ctype_tolower' undeclared (first use this function) make[4]: *** [locale.lo] Error 1 make[4]: Leaving directory `/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3' make[2]: *** [all-recursive-am] Error 2 make[2]: Leaving directory `/home/ernst/incoming/gcc-bin/i686-pc-linux-gnu/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/home/ernst/incoming/gcc-bin' make: *** [bootstrap] Error 2 >How-To-Repeat: clear directory intended for compilation, configure as detailed above, make bootstrap. >Fix: On the gcc mailing list, a patch kindly written by B. Haible was said to fix the problem. I've applied the patch before trying to compile, with the resultd described above. Needless to say, withouth B. Haible's patch, libstdc++ fails to compile, too. >Release-Note: >Audit-Trail: >Unformatted: