[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580148: [s390, armel] gcj: libgcj.spec: No such file or directory



I do not have access to those boxes, but IMHO gcj does not find
libgcj.spec because gcj from gcj-4.4-jdk_4.4.4-1 looks for
/usr/lib/gcc/s390-linux-gnu/4.4.4/libgcj.spec whereas it ships
/usr/lib/gcc/s390-linux-gnu/4.4/libgcj.spec, and the 4.4.4 -> 4.4
symlink is provided by gcc-4.4-base_4.4.4-1 but not
gcc-4.4-base_4.4.3-9.
Thus gcj is broken when compiling with gcj-4.4-jdk_4.4.n and
gcc-4.4-base_4.4.(n-1).

The same problem occurs when compiling code wrapped by jni: on my x86 box
  $ ls -l /usr/lib/jvm/java-gcj-4.4/include
  total 4
  lrwxrwxrwx 1 root root   43  6 mai   12:08 gcj ->
../../../gcc/i486-linux-gnu/4.4/include/gcj
  lrwxrwxrwx 1 root root   48  6 mai   12:08 jawt.h ->
../../../gcc/i486-linux-gnu/4.4.4/include/jawt.h
  lrwxrwxrwx 1 root root   47  6 mai   12:08 jni.h ->
../../../gcc/i486-linux-gnu/4.4.4/include/jni.h
  drwxr-xr-x 2 root root 4096  6 mai   12:08 linux

It would help if gcj (and friends) did search for files under
triplet/4.4/ instead of triplet/4.4.n/, ditto for symlinks.
Note that gcc-4.4-base_4.4.4-1 is now installed on armel, but not on s390.


Denis



Reply to: