public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: gcc-2.95.2 doesn't build libstdc++ :(
       [not found] <718D38CAB6E0D011B2C90060970C28A556FB51@exchangeserver.pixelpower.com>
@ 2000-08-24 18:40 ` Ha-Nyung Chung
  2000-08-24 20:12   ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Ha-Nyung Chung @ 2000-08-24 18:40 UTC (permalink / raw)
  To: gcc-help

On Thu, Aug 24, 2000 at 02:46:10PM +0100, David Korn wrote:
> 
> >-----Original Message-----
> >From: Ha-Nyung Chung [ mailto:alita@kldp.org ]
> >Sent: 24 August 2000 14:44
> >To: gcc-help@gcc.gnu.org
> >Subject: gcc-2.95.2 doesn't build libstdc++ :(
> >
> >
> >
> > Hi.
> >
> > I'm building gcc-2.95.2 in Redhat-6.2
> >
> > I configured like follows in objdir...
> >
> > $(gcc_src_dir)/configure --enable-shared \
> >                          --enable-languages=c,c++ \
> >                          --enable-thread
> >
> > and "make bootstrap; make install"
> >
> > configuration and make process had no errors - I hope so.:(
> > Since there were too many outputs on my terminal while doing 
> > "make bootstrap", I couldn't notice what is error messages if any.
> 
>   If you want to see the output and error messages from the build process,
> redirect them to a file, like this:
> 
>   make bootstap >&builderrs.txt; make install >&installerrs.txt
> 
> > Anyway...but, there was NO libstdc++ libraries in /usr/local/lib
> > or elsewhere.
> >
> > What's my problem?
> 
>   The problem is that you said 'make bootstrap', which just builds the
> minimal compiler. Try doing 'make all' instead... :)
>  
> > Ah! $(objdir)/i686-pc-linux-gnu/libstdc++ directory is empty.
> > Doesn't have anything. Is it correct? I don't guess so...
> 
>   Hopefully it will do after make all.....
> 
>        hth,
>          DaveK

  To my sigh... "make all" didn't bulid libstdc++ either.

  I untared libstdc++-2.90.8.tgz under gcc-src directory and
  As written in libstdc++-src/docs/install.html, I renamed
  gcc-src/libstdc++ to gcc-src/libstdc++-v2, gcc-src/libio to
  gcc-src/libio-v2 and libstdc++-2.90.8 to libstdc++

  and did follows.

  cd objdir
  gcc-src/configure --host=i686-pc-linux-gnu \ 
                    --enable-shared \
                    --enable-languages=c,c++

  it did well without any errors. :)

  and...

  make all 2> build_err.txt

  contents of build_err.txt are...

/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/toplev.c:1178: warning: initialization from incompatible pointer type
/usr/src/gcc-2.95.2/gcc/reload1.c: In function `maybe_fix_stack_asms':
/usr/src/gcc-2.95.2/gcc/reload1.c:1275: warning: passing arg 4 of `decode_asm_operands' from incompatible pointer type
make[1]: [libgcc.a] Error 1 (ignored)
cxxmain.c: In function `main':
cxxmain.c:4527: warning: assignment discards qualifiers from pointer target type
cxxmain.c:4530: warning: assignment discards qualifiers from pointer target type
In file included from /usr/src/gcc-2.95.2/libstdc++/src/gen-num-limits.cc:36:
/usr/src/objdir/i686-pc-linux-gnu/libstdc++/bits/c++config.h:579: unbalanced `#endif'
/usr/src/objdir/i686-pc-linux-gnu/libstdc++/bits/c++config.h:1158: unbalanced `#endif'
In file included from /usr/src/gcc-2.95.2/libstdc++/math/mathconf.h:31,
                 from /usr/src/gcc-2.95.2/libstdc++/math/signbit.c:32:
../bits/c++config.h:579: unbalanced `#endif'
../bits/c++config.h:1158: unbalanced `#endif'
make[3]: *** [signbit.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-libstdc++] Error 2

 Anybody can help me, plz?

 What's the "[libgcc.a] Error 1" ??
 When I build only gcc-2.95.2 - without libstdc++-2.90.8 -, I got the
 same error which is the only error I got during "make all". 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-2.95.2 doesn't build libstdc++ :(
  2000-08-24 18:40 ` gcc-2.95.2 doesn't build libstdc++ :( Ha-Nyung Chung
@ 2000-08-24 20:12   ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2000-08-24 20:12 UTC (permalink / raw)
  To: Ha-Nyung Chung; +Cc: gcc-help

On Aug 24, 2000, Ha-Nyung Chung <alita@kldp.org> wrote:

>   I untared libstdc++-2.90.8.tgz under gcc-src directory and

I'm not sure libstdc++-2.90.8 can be built with GCC 2.95.2, at least
not without any special options.

How do you feel about trying the current GCC CVS tree, that already
includes the new-generation libstdc++, if you --enable-libstdcxx-v3 at
configure time?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-2.95.2 doesn't build libstdc++ :(
  2000-08-24  6:43 Ha-Nyung Chung
@ 2000-08-24 20:10 ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2000-08-24 20:10 UTC (permalink / raw)
  To: Ha-Nyung Chung; +Cc: gcc-help

On Aug 24, 2000, Ha-Nyung Chung <alita@kldp.org> wrote:

>  and "make bootstrap; make install"

>  configuration and make process had no errors - I hope so.:(

Try `make bootstrap && make install'.  So, if there are any errors in
the bootstrap, you won't miss them.  Something certainly went wrong,
because the libstdc++ build directory is empty.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

* gcc-2.95.2 doesn't build libstdc++ :(
@ 2000-08-24  6:43 Ha-Nyung Chung
  2000-08-24 20:10 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Ha-Nyung Chung @ 2000-08-24  6:43 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

 Hi.

 I'm building gcc-2.95.2 in Redhat-6.2

 I configured like follows in objdir...

 $(gcc_src_dir)/configure --enable-shared \
                          --enable-languages=c,c++ \
                          --enable-thread

 and "make bootstrap; make install"

 configuration and make process had no errors - I hope so.:(
 Since there were too many outputs on my terminal while doing 
 "make bootstrap", I couldn't notice what is error messages if any.

 Anyway...but, there was NO libstdc++ libraries in /usr/local/lib
 or elsewhere.

 What's my problem?

 Ah! $(objdir)/i686-pc-linux-gnu/libstdc++ directory is empty.
 Doesn't have anything. Is it correct? I don't guess so...

-- 
|   ªªêªÑ¨ªÇª¹ª«.ª³ªÁªéªÏªÞª¢ßÓܨªïªéªºªÇª¹.                     \\o  \\o 
+-  ÐìªèªêÐÑìíªÏªÁªçªÃªÈª¹ª´ª¤ª³ªÈª¬ª¢ªÃª¿ªóªÇª¹.            +-    ))   ))
+-  ª¢ªÊª¿ªËÎ窨ªÆªÊªéªÊ«®«ãªÈÞÖªÃªÆ ü˪ƪƫګóªòö¢ªêªÞª·ª¿. +-   //   //
|   ªÇªâ ÞçªÎíÞùêªÏ«ï «×«íªÇ.                                     |\   \\      
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- mailto:alita@kldp.org 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-08-24 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <718D38CAB6E0D011B2C90060970C28A556FB51@exchangeserver.pixelpower.com>
2000-08-24 18:40 ` gcc-2.95.2 doesn't build libstdc++ :( Ha-Nyung Chung
2000-08-24 20:12   ` Alexandre Oliva
2000-08-24  6:43 Ha-Nyung Chung
2000-08-24 20:10 ` Alexandre Oliva

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).