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 Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
