How exactly does one build libjava successfully?

Bryce McKinlay bryce@albatross.co.nz
Tue Feb 13 18:31:00 GMT 2001


Zack Weinberg wrote:

> There are a couple of different things I would like to try out gcj
> with, but I cannot successfully build libgcj.  On both HEAD and the
> branch, with or without --enable-shared to configure, I get these link
> errors:
>
> ./.libs/libgcj.so: undefined reference to `__eh_alloc@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__eh_free@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__throw@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__get_eh_info@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__get_eh_table_language@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__terminate@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__terminate_set_func@GCC_3.0'
> ./.libs/libgcj.so: undefined reference to `__rethrow@GCC_3.0'
>
> Any clues would be appreciated.  This is i686-pc-linux-gnu.

Alex reported this yesterday. This seems to be a recent regression wrt shared
libgcc support.

regards

  [ bryce ]




More information about the Java mailing list