This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Anyone else sees a bootstrap failure (Linux-x86)?


FWIW, Andrew's patch:

http://gcc.gnu.org/ml/gcc-patches/2003-10/msg01969.html

fixes the build issues with "-pipe", though
it didn't make it to the last snapshot.

However, the built programs immediate exit with an
"Aborted" message for me - running them in gdb and 
getting a backtrace shows that there's a NULL 
pointer passed to strlen( ) in 
java.lang.Runtime.insertSystemProperties( ) - the
only strlen in this method in natRuntime.cc seems
to be guarded by a NULL check so this *should not
happen*!

To get more information, I tried to rebuild libgcj
with -ggdb but the build process failed with the
compiler ICE-ing in "cgraph_function_possibly_inlined_p"!

This also seems to have been fixed, but not
in time for the last snapshot. So, I'll try
again with the next snapshot and hopefully things
would be better that time around.

Ranjit.


Ranjit Mathew wrote:
> 
> Mohan Embar wrote:
> > >Really? Were you also seeing the same failure
> > >with "-pipe"?
> >
> > Yes, with both the MinGW cross and the Linux native
> > builds. I didn't investigate the root cause, but
> > as you can tell, the ICE is immediate. You can
> > go to your locally-generated Makefile in the libjava
> > build directory, remove all occurrences of -pipe,
> > and immediately verify that your build will unbreak.
> 
> You were right Mohan:
> 
>     http://gcc.gnu.org/ml/gcc/2003-10/msg00881.html
> 
> Removing "-pipe" does indeed work around
> the problem. But I'd still like to see the
> problem fixed. Right now I'm too sleepy
> to investigate further...
> 
> Ranjit.
> 
> --
> Ranjit Mathew        Email: rmathew AT hotmail DOT com
> Bangalore,
> INDIA.               Web: http://ranjitmathew.tripod.com/

-- 
Ranjit Mathew        Email: rmathew AT hotmail DOT com
Bangalore,           
INDIA.               Web: http://ranjitmathew.tripod.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]