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: Unable to detect exception model on gcj-eabi-branch


Andrew Haley writes:
 > David Daney writes:
 >  > Andrew Haley wrote:
 >  > > David Daney writes:
 >  > >  > I am trying to build the gcj-eabi-branch and am getting this error while 
 >  > >  > configuring in libjava:
 >  > >  > 
 >  > >  > checking for exception model to use... configure: error: unable to 
 >  > >  > detect exception model
 >  > >  > 
 >  > >  > 
 >  > >  > Configured like this:
 >  > >  > 
 >  > >  >   ../gcj-eabi-branch/configure --target=armv5tl-montavista-linuxeabi 
 >  > >  > --prefix=/home/daney/mvl/gcj 
 >  > >  > --with-sysroot=/home/daney/mvl/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target 
 >  > >  > --enable-languages=c,c++,java --with-float=soft --disable-java-awt 
 >  > >  > --without-x --disable-jvmpi --enable-__cxa_atexit
 >  > >  > 
 >  > >  > I will try again adding --disable-sjlj-exceptions, but I was hoping that 
 >  > >  > it would work the other way [i686|x86_64|mips|mips64]-linux do not 
 >  > >  > require any special exception specifiers.
 >  > > 
 >  > > I used options 
 >  > > 
 >  > > " '--with-system-zlib' '--enable-threads=posix' '--enable-nls'
 >  > > '--enable-__cxa_atexit' '--enable-clocale=gnu'
 >  > > '--enable-libstdcxx-debug' '--enable-mpfr' '--enable-checking=release'
 >  > > '--disable-multilib' '--disable-static' 'arm-linux-gnueabi'
 >  > > '--disable-sjlj-exceptions' '--prefix=/home/aph/gcc/install'
 >  > 
 >  > Yes, the --disable-sjlj-exceptions seems to be required.  I wonder why 
 >  > it is not the default.
 > 
 > I'm not sure, but I'm not massively concerned.

One clue: I had to specify the target as well.  

config.guess returns armv5tel-unknown-linux-gnu, instead of
arm-linux-gnueabi.

I guess the autoconfigury is not yet up to speed.

Andrew.


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