This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/2086: bootstrap error, libstdc++-v3/src/local.cc: op -
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/2086: bootstrap error, libstdc++-v3/src/local.cc: op -
- From: mschalit at pacbell dot net
- Date: 25 Feb 2001 00:58:17 -0000
- Reply-To: mschalit at pacbell dot net
>Number: 2086
>Category: libstdc++
>Synopsis: bootstrap error, libstdc++-v3/src/local.cc: op -
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 24 17:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Matthew Schalit
>Release: CVS gcc 3.1 - checked out 2/24 1300 PST.
>Organization:
>Environment:
Here's the environment variables:
LD_LIBRARY_PATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/BerkeleyDB/lib
LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/BerkeleyDB/lib
PATH=/sbin:/usr/sbin:/etc:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/kde/bin:/usr/X/bin
I used, SCO's cc
gmake 3.79.1
binutils 2.10.1
m4-1.4p
autoconf 2.13
automake 1.4c
I checkedout the latest CVS and built this in a seperate
objdir.
I used the following to configure:
------------------------------------------------------
CC=cc ../gcc/configure --enable-shared --enable-threads --disable-nls --enable-languages=c++ --x-includes=/usr/X/include --x-libraries=/usr/X/lib --with-as=/usr/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld > con.log 2>&1
-------------------------------------------------------------------
Then I used gmake bootstrap > make.log 2>&1
>Description:
Compiling here on a UnixWare 7.1.1 box, that's an
i586-sco-sysv5uw7.1.1 using gnu-make and SCO's cc,
not that it matters if I use gcc, becuase this is a
stage two or later error, when it's using xgcc.
I throw in binutils, but I don't use glibc, for lack
of a good reason.
Here's the error that I see:
----------------------------------------------------------
/home/matthew/Uber/CVS/objdir/gcc/g++ -B/home/matthew/Uber/CVS/objdir/gcc/ -nostdinc++ -L/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3/src -L/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3/src/.libs -B/usr/local/i586-sco-sysv5uw7.1.1/bin/ -B/usr/local/i586-sco-sysv5uw7.1.1/lib/ -isystem /usr/local/i586-sco-sysv5uw7.1.1/include -nostdinc++ -I../../../../gcc/libstdc++-v3/include -I../../../../gcc/libstdc++-v3/include/std -I../../../../gcc/libstdc++-v3/include/c_std -I../include -I../../../../gcc/libstdc++-v3/libsupc++ -I../libio -I../../../../gcc/libstdc++-v3/libio -I../../../../gcc/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../gcc/libstdc++-v3/src/locale.cc -o locale.o
../../../../gcc/libstdc++-v3/src/locale.cc: In function `static unsigned int
std::locale::_S_normalize_category(unsigned int)':
../../../../gcc/libstdc++-v3/src/locale.cc:480: warning: `int __ret' might be
used uninitialized in this function
UX:as: WARNING: /var/tmp/cce3odFb.s:2940:section already defined: .text._ZNSt6locale21_S_normalize_categoryEj
UX:as: ERROR: /var/tmp/cce3odFb.s:3025:defined relocatable values from the same section required, op -
gmake[4]: *** [locale.lo] Error 1
gmake[4]: Leaving directory `/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/home/matthew/Uber/CVS/objdir'
gmake: *** [bootstrap] Error 2
------------------------------------------------------------------
This did not occur in 2.95.2.1, but it's been happening
in 2.97 CVS and 3.1 CVS.
I'm not sure what other information would be helpful, but
thanks for whatever you can do on this.
>How-To-Repeat:
It happends every time that I compile with that
configure statement or if I get rid of the
--disable-nls, which I didn't know if it had anything
to do with locales.
>Fix:
I don't know of one at this time. I could not
find this exact problem in the archives for libstdc++.
>Release-Note:
>Audit-Trail:
>Unformatted: