On Tuesday 07 October 2003 23:18, John Servo wrote:
> On Tue, 2003-10-07 at 12:51, Jeff Caldwell wrote:
> > On Tue, Oct 07, 2003 at 12:42:55AM -0400, Steve wrote:
> > > At 10:59 PM 10/6/03 , Jeff Caldwell wrote and said this:
> > > >On Tue, Oct 07, 2003 at 02:29:00AM +0200, Alex Schuster wrote:
> > > >> Steve writes:
> > > >> > Anyone run into this:
> > > >> >
> > > >> > make: *** [bootstrap-lean] Error 2
> > > >> >
> > > >> > !!! ERROR: sys-devel/gcc-3.2.3-r2 failed.
> > > >> > !!! Function src_compile, Line 371, Exitcode 2
> > > >> > !!! (no error message)
> > > >> >
> > > >> > when trying to emerge the latest stable gcc?
> > > >>
> > > >> Just compiled it without problems. Are there no more messages before
> > > >> these, showing some more errors? Maybe you overlooked them in the
> > > >> bunch of ouputput log?
> > > >>
> > > >> Are you using very aggressive CFLAGS?
> > > >
> > > >Same error...
> > > >
> > > >My CFLAGS:
> > > >
> > > >  CFLAGS="-mcpu=athlon-tbird -O2 -pipe"
> > > >  CXXFLAGS="${CFLAGS}"
> > > >
> > > >Here is a dump from emerge:
> > > >
> > > >..
> > > >ific.o .libs/libgcj.lax/libgcjgc_convenience.a/stubborn.o
> > > >.libs/libgcj.lax/libgcjgc_convenience.a/typd_mlc.o
> > > >.libs/libgcj.lax/libgcjgc_convenience.a/backgraph.o
> > > >.libs/libgcj.lax/libgcjgc_convenience.a/win32_threads.o
> > > >.libs/libgcj.lax/libgcjgc_convenience.a/mach_dep.o
> > > >.libs/libgcj.lax/libffi_convenience.a/debug.o
> > > >.libs/libgcj.lax/libffi_convenience.a/prep_cif.o
> > > >.libs/libgcj.lax/libffi_convenience.a/types.o
> > > >.libs/libgcj.lax/libffi_convenience.a/raw_api.o
> > > >.libs/libgcj.lax/libffi_convenience.a/java_raw_api.o
> > > >.libs/libgcj.lax/libffi_convenience.a/ffi.o
> > > >.libs/libgcj.lax/libffi_convenience.a/sysv.o
> > > >.libs/libgcj.lax/libltdlc.a/ltdl.o
> > > >ar: .libs/libgcj.a: Is a directory
> > > >make[3]: *** [libgcj.la] Error 1
> > > >make[3]: Leaving directory
> > > >`/var/tmp/portage/gcc-3.2.3-r2/work/build/i686-pc-linux-gnu/libjava'
> > > >make[2]: *** [all-recursive] Error 1
> > > >make[2]: Leaving directory
> > > >`/var/tmp/portage/gcc-3.2.3-r2/work/build/i686-pc-linux-gnu/libjava'
> > > >make[1]: *** [all-target-libjava] Error 2
> > > >make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r2/work/build'
> > > >make: *** [bootstrap-lean] Error 2
> > > >
> > > > !!! ERROR: sys-devel/gcc-3.2.3-r2 failed.
> > > > !!! Function src_compile, Line 371, Exitcode 2
> > > > !!! (no error message)
> > > >
> > > >  terrapin root #
> > > >
> > > >Also here are the USE flags that are in effect:
> > > >
> > > >[ebuild     U ] sys-devel/gcc-3.2.3-r2 [3.2.3-r1] -static +nls
> > > > -bootstrap +java -build
> > > >
> > > >I am guessing maybe to remove +java????
> > > >
> > > >-Jeff Caldwell
> > >
> > > I think you are on to something, since the machine that I had a
> > > successful merge does NOT have JAVA while the failed emerge does.
> >
> > By and large I love gentoo.  This is however one of the things that irkes
> > me about compiling...
> >
> > I tried it again, same CFLAGS, same USE settings, same everything....
> > and... It worked!!! Yeah.  I am very happy that it worked, please don't
> > misunderstand, but it also bugs me that it failed the first time; and
> > that I am not alone in the error.
> >
> > Anyone able to make concise summary of what +java is used for by gcc? 
> > That may not have been the culprit, but I was just wondering...
>
> i think it is used so gcc can compile java source code, but thats just
> an educated guess

That's correct. gcc (GNU Compiler Chain) doesn't only support C. It also 
supports C++, Java, Fortran and others. The java use flag instructs the 
ebuild whether to build the java support.

Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to