public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: ernst.molitor@uni-bonn.de
To: gcc-gnats@gcc.gnu.org
Cc: molitor@uni-bonn.de
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!)
Date: Sun, 06 Oct 2002 00:56:00 -0000	[thread overview]
Message-ID: <200210060750.g967oCBt016219@localhost.localdomain> (raw)


>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<char>::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<char>::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:


             reply	other threads:[~2002-10-06  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-06  0:56 ernst.molitor [this message]
2002-10-07 22:16 Dr. Ernst Molitor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200210060750.g967oCBt016219@localhost.localdomain \
    --to=ernst.molitor@uni-bonn.de \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=molitor@uni-bonn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).