This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: bugs: gcc with stdc++-v3, rawhide's gcc, stlport, cxxrt
- To: Dietmar Kuehl <dietmar_kuehl at yahoo dot com>
- Subject: Re: bugs: gcc with stdc++-v3, rawhide's gcc, stlport, cxxrt
- From: Levente Farkas <lfarkas at mindmaker dot hu>
- Date: Fri, 07 Jul 2000 15:04:44 +0200
- Cc: libstdc++ at sourceware dot cygnus dot com
- Organization: Mindmaker Ltd.
- References: <20000707114131.24314.qmail@web703.mail.yahoo.com>
- Reply-To: lfarkas at mindmaker dot hu
Dietmar Kuehl wrote:
> --- Levente Farkas <lfarkas@mindmaker.hu> wrote:
> > the only problem it's not integrated into gcc which means you have to
> > use
> > gcc/g++ -I... -L... x.cc
> > insted of
> > g++ x.cc
> > which is not a big price. unfortunately I can't compile stlport
> > either:-(
> > (there's some conflict between glibc's and sgi's locale header files)
>
> You can also change the spec file to use the right options. I haven't
> done it myself but I have seen it work...
I finally able to compile stlport and it works:-)))
> > I try to compile cxxrt too, but it's also fail during compilation
> > (and I don't wanna send time with it:-)
>
> Apparently I represented myself as complete ashole which does not want
> to spend time to help its competitor. Well, you may notice that I
> submitted a bunch of bug reports and basically spend about one day on
> going through this.
:-) I didn't said anything like that. simple to compile gcc, stdc++,
stlport, cxxrt... is not my main job and ofter spend a lot of time with
it (paralell with other things) I was too tired and just try cxxrt last.
than after the first error I give up.
> Anyway, if your goal is to get a conforming implementation in a timely
> manner (if not conforming then at least working for "normal" stuff)
> it is in your own interest to report bugs. Note that I'm not asking
> about fixes or something like this, just a statement what went wrong so
> that I can investigate the cause (eg. a cut and paste of the error
> messages).
anyway here is the output:
----------------
make[1]: Entering directory `/home/lfarkas/tmp/cxxrt-1.0.3/src'
c++ -g -O2 -fnew-abi -fno-builtin -fno-implicit-templates -W -Wall -Weffc++ -ans
i -Wno-unused -Wundef -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wnested
-externs -Os -ffunction-sections -fdata-sections -I../include -c alloc.cpp -o a
lloc.o
In file included from /usr/include/assert.h:35,
from ../include/cassert:32,
from ../include/stl_alloc.h:94,
from ../include/alloc.h:21,
from ../include/cxxrt/alloc.h:37,
from alloc.cpp:23:
/usr/include/features.h:168:44: warning: '_POSIX_C_SOURCE' is not defined
/usr/include/features.h:176:20: warning: '_POSIX_C_SOURCE' is not defined
/usr/include/features.h:180:20: warning: '_POSIX_C_SOURCE' is not defined
cc1plus: warning: Ignoring command line option '-Wundef'
cc1plus: warning: Ignoring command line option '-Wnested-externs'
In file included from alloc.cpp:25:
../include/srccxx/stl_default_alloc.cc:253: conflicting types for `__default_all
oc_template<threads,
inst>::_Obj *__default_alloc_template<threads, inst>::_S_free_list[__default_all
oc_template<threads,
inst>::_NFREELISTS]'
../include/stl_alloc.h:265: previous declaration as
`__default_alloc_template<threads, inst>::_Obj
*__default_alloc_template<threads, inst>::_S_free_list[16]'
make[1]: *** [alloc.o] Error 1
make[1]: Leaving directory `/home/lfarkas/tmp/cxxrt-1.0.3/src'
make: *** [libcxxrt.so] Error 2
-----------------
-- Levente
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."