On 07/10/2013 15:01, Dagobert Michelsen wrote: > Hi folks, > > I am again fiddling with gcc flavors and noticed a problem with gcj (not that > it ever > worked on our release): > > 1. libiconv is needed, but no longer linked in > > Although I didn't tinker with this the issue may be resolved easily. > > http://sourceforge.net/apps/trac/gar/changeset?new=22091%40csw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile&old=20525%40csw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile > >> dam@unstable10s >> [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java >> > /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 >> --classpath="/usr/share/java/libgcj-4.8.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." >> -C com/lowagie/text/ElementTags.java >> ld.so.1: gij-4.8: fatal: relocation error: file >> /opt/csw/lib/sparcv8/libgcj.so.14: symbol libiconv_open: referenced symbol >> not found >> Killed >> zsh: 12672 exit 1 /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 >> --encoding=UTF-8 -C > > 2. Some obscure compilation error, I will take any advice here: > >> dam@unstable10s >> [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java >> > LD_PRELOAD=/opt/csw/lib/libiconv.so /opt/csw/bin/gcj-4.8 -Wall -Wextra >> -fsource=1.3 -O2 --encoding=UTF-8 >> --classpath="/usr/share/java/libgcj-4.8.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." >> -C com/lowagie/text/ElementTags.java >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org.eclipse.jdt.internal.compiler.batch.GCCMain >> at gnu.java.lang.MainThread.run(libgcj.so.14.0.0) >> Caused by: java.lang.ClassNotFoundException: >> org.eclipse.jdt.internal.compiler.batch.GCCMain not found in >> gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/csw/share/java/ecj.jar], >> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} >> at java.net.URLClassLoader.findClass(libgcj.so.14.0.0) >> at java.lang.ClassLoader.loadClass(libgcj.so.14.0.0) >> at java.lang.ClassLoader.loadClass(libgcj.so.14.0.0) >> at gnu.java.lang.MainThread.run(libgcj.so.14.0.0) >> zsh: 12684 exit 1 LD_PRELOAD=/opt/csw/lib/libiconv.so >> /opt/csw/bin/gcj-4.8 -Wall -Wextra -O2 >
Sorry, I find this weird just as well. I only want to pile a little more on your plate by pointing out there are a couple of old packages in the catalog that seem wrong: gcc4javart CSWgcc4javart 4.3.3,REV=2009.05.07 51.5 MB gcc4objcrt CSWgcc4objcrt 4.3.3,REV=2009.05.07 522.8 KB Laurent
