IcedTea6 and openjdk-6-src-b06-28_feb_2008
mvfranz at gmail.com
Sun Mar 23 20:36:10 PDT 2008
On Sun, Mar 23, 2008 at 6:18 PM, Andrew John Hughes <
gnu_andrew at member.fsf.org> wrote:
> On 22/03/2008, Christian Thalinger <twisti at complang.tuwien.ac.at> wrote:
> > On Sat, 2008-03-22 at 14:16 -0400, Michael Franz wrote:
> > > I'm using:
> > >
> > > gcc version 4.2.3 (Debian 4.2.3-1)
> > >
> > > on my Debian boxes to build it and it works fine.
> > >
> > > - twisti
> > >
> > >
> > > Is this a backported version of gcc 4.2?
> > I think so.
> > - twisti
> Regardless of which version of GCJ is in use, none of them include
> that constructor as it's not yet in Classpath:
> # constructor java.lang.String(byte, int, int,
> java.nio.charset.Charset): missing in classpath
> # constructor java.lang.String(byte, java.nio.charset.Charset):
> missing in classpath
> taken from http://builder.classpath.org/japi/openjdk-classpath.html
> I don't get how you reach this problem and no-one else does. It's
> very odd. Can you explain exactly how you download, configure and
> build IcedTea6?
> Andrew :-)
I am not sure why no-one else is having this problem. If you compile
against the classes in gcc 4.3.0 this error will show up.
I got the icedtea6 from the link using mercurial.
I patch the configure.ac to remove the alsa check - I don't have that on the
I then configured using :
Then run the build. The build executes until the download of open jdk. It
does not extract the tar file correctly as it is gzip, but the command
assumes that it is just a tar file.
I extract with tar xzf openjdk-6-src-b07-20_mar_2008.tar.gz -C openjdk - am
using the latest openjdk since I saw it was available but not in icedtea6.
Re-run the build command. I have ecj spit out the command line:
/usr/bin/java -jar /opt/local/share/java/eclipse-ecj.jar -bootclasspath
4.3.0.jar:/opt/local/share/java/libgcj-tools-4.3.0.jar:: -nowarn -g -d
lib/hotspot-tools -source 1.6 -sourcepath
1. ERROR in
hotspot-tools/sun/jvmstat/perfdata/monitor/PerfStringMonitor.java (at line
return new String(b, 0, i, defaultCharset);
The constructor String(byte, int, int, Charset) is undefined
I have been trying to build a patched version of gcc 4.3.0, but my patches
don't seem to make it into the jar. Very confusing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the distro-pkg-dev