Debian Codegraph @

gcj/README.redhat8

raw
1 GCJ as shipped in RedHat 8.0 has a bug in the list of libraries that
2 it uses to link with. Amongst other things, this causes any Java
3 program that throws an unhandled exception to hang while printing a
4 stack trace. See <http://gcc.gnu.org/ml/java/2003-02/msg00016.html>.
5 If you are running RedHat 8.0, I recommend you apply the following
6 patch before compiling:
7
8 --- /usr/lib/gcc-lib/i386-redhat-linux/3.2/libgcj.spec~ 2002-09-04 04:03:39.000000000 +0100
9 +++ /usr/lib/gcc-lib/i386-redhat-linux/3.2/libgcj.spec 2002-12-10 15:59:39.000000000 +0000
10 @@ -4,6 +4,6 @@
11 # to link with libgcj.
12 #
13 %rename lib liborig
14 -*lib: -lgcj -lm -lz -ldl %(libgcc) %(liborig)
15 +*lib: -lgcj -lm -lpthread -lz -ldl %(libgcc) %(liborig)
16
17 *jc1: -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions
18