Description of problem: Using Fedora 12, "gcj --main=Test Test.java" produces a native a.out. When using Rawhide, the linking process fails. Version-Release number of selected component (if applicable): gcc-java-4.5.0-3.fc14.x86_64 How reproducible: Every time Steps to Reproduce: Compile the following code with "gcc-java-4.5.0-3.fc14.x86_64:" public class Test { public static void main(String args[]) { System.out.println ("Hello world!"); } } Actual results: $ gcj --main=Test Test.java /usr/bin/ld: cannot find -lgcj collect2: ld returned 1 exit status Expected results: gcj should compile and link Test.java into a.out. Additional info: I created the Rawhide environment using mock. The following files are installed: /usr/lib/gcc/x86_64-redhat-linux/4.5.0/libgcj.so /usr/lib64/libgcj.so.11 /usr/lib64/libgcj.so.11.0.0
Oh, I see, the spec file hasn't been adjusted for the lib{gcj,gij,gcj-tools}.so.10 to so.11 transition. Will be fixed in gcc-4.5.0-5.
*** Bug 621321 has been marked as a duplicate of this bug. ***
gcc-4.5.1-1.fc14,libtool-2.2.10-3.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/gcc-4.5.1-1.fc14,libtool-2.2.10-3.fc14
Why did you not built this release for rawhide=
gcc-4.5.1-1.fc14, libtool-2.2.10-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
Confirmed fixed with gcc-java-4.5.1-1.fc14.x86_64 and its dependencies.