From gnu_andrew at member.fsf.org Thu Jan 1 00:49:41 2009 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Thu, 1 Jan 2009 08:49:41 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> Message-ID: <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> 2009/1/1 Michael Franz : > Hi, > > I have been able to build IcedTea 7 on OS X. I removed a bunch of patches > and had to fake some stuff to get it to work. I wanted to use zero and > shark. This is the version that prints: > java version "1.7.0_0-fastdebug-bsd" > IcedTea 1.9-pre-rb5fe6c65b574 Runtime Environment (build > 1.7.0_0-fastdebug-bsd-b42) > OpenJDK Core VM (build 14.0-b08, interpreted mode) > > Is this enough to tell if I was able to build with zero and shark? > 'Core VM' shows that the zero VM has been built. I'm not sure about how to tell if Shark is being used -- Gary? To build Shark, you would have needed LLVM. > This is what I used to configure: > ./configure --enable-zero > --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar > --with-xalan2-jar=/opt/local/share/java/xalan.jar > --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar > --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar --without-rhino > --disable-liveconnect --with-project=bsd --with-openjdk > --with-openjdk-home=/Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820 > --disable-xrender --enable-shark > > Some of my issues were because the BSD port is not completely up-to-date > with OpenJDK 7. > Yes that's happened with a number of the other ports, though b40 up seem to be able to use the same patches more or less. If we can make the process easier, please let us know. > Michael > > On Tue, Dec 30, 2008 at 2:31 AM, Andrew John Hughes > wrote: >> >> 2008/12/30 Michael Franz : >> > Hi, >> > >> > I tried to build IcedTea 7 using the --with-project=bsd option. Most of >> > my >> > issues are with applying the patches. I have not gone through all of >> > them, >> > but they seem to fail around the bsd specific lines. >> > >> > What would be the best way to handle these differences? >> > >> > Michael >> > >> >> Let us know the specifics and we'll work out a solution. As I say, we >> enabled the option but no-one on the IcedTea team uses BSD so it >> hasn't been tested. >> -- >> Andrew :-) >> >> Support Free Java! >> Contribute to GNU Classpath and the OpenJDK >> http://www.gnu.org/software/classpath >> http://openjdk.java.net >> >> PGP Key: 94EFD9D8 (http://subkeys.pgp.net) >> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 > > -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From gnu_andrew at member.fsf.org Thu Jan 1 00:50:48 2009 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Thu, 1 Jan 2009 08:50:48 +0000 Subject: Power PC Build In-Reply-To: References: <860cb0120812272312j1d310307mcf9864247003567e@mail.gmail.com> <20081228182936.GA7488@misty.eyesbeyond.com> <17c6771e0812281526u3c4b84fes4599a7922ac20025@mail.gmail.com> <860cb0120812292044j45056968oe34be61ed5ddd43d@mail.gmail.com> <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> <860cb0120812302348t6620a544k22292f0b09cbbdc@mail.gmail.com> Message-ID: <17c6771e0901010050x5d9c5163n1031e01b5efd1444@mail.gmail.com> 2008/12/31 Michael Franz : > Eric, > > On Wed, Dec 31, 2008 at 2:48 AM, Eric Richardson > wrote: >> >> Andrew, > > >> >> I built gcc 4.2 as this was available via MacPorts. >> >> Icedtea still looks promising but now I'm stuck on the ALSA part of >> configure. >> >> checking for ALSA... no >> configure: error: Could not find alsa - Try installing alsa-lib-devel. >> >> The only thing I could find remotely related was Libao2. > > To work around this I change configure.ac to change the ALSA to a warning > instead of an error and then run autogen.sh > > --- configure.ac.orig 2008-12-31 16:03:56.000000000 -0500 > +++ configure.ac 2008-12-31 16:04:17.000000000 -0500 > @@ -436,7 +436,7 @@ > PKG_CHECK_MODULES(ALSA, alsa,[ALSA_FOUND=yes],[ALSA_FOUND=no]) > if test "x${ALSA_FOUND}" = xno > then > - AC_MSG_ERROR([Could not find alsa - \ > + AC_MSG_WARN([Could not find alsa - \ > Try installing alsa-lib-devel.]) > fi > AC_SUBST(ALSA_CFLAGS) > > I figure I will deal with the ALSA error later if I ever get to them. > > Michael > >> >> Note: the problem I had before fwas because I was missing pkg.m4 which in >> turn got fixed when I installed xorg-libX11. >> >> ./configure: line 11562: syntax error near unexpected token `XPROTO,' >> ./configure: line 11562: `PKG_CHECK_MODULES(XPROTO, >> xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no) >> >> Eric >> > > > The check should really be Linux-specific. I don't know what backend the BSD ports use for sound (if any) but it won't be ALSA. The same applies to Solaris. -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From mvfranz at gmail.com Fri Jan 2 09:28:16 2009 From: mvfranz at gmail.com (Michael Franz) Date: Fri, 2 Jan 2009 12:28:16 -0500 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> Message-ID: On Thu, Jan 1, 2009 at 3:49 AM, Andrew John Hughes < gnu_andrew at member.fsf.org> wrote: > 2009/1/1 Michael Franz : > > Hi, > > > > I have been able to build IcedTea 7 on OS X. I removed a bunch of > patches > > and had to fake some stuff to get it to work. I wanted to use zero and > > shark. This is the version that prints: > > java version "1.7.0_0-fastdebug-bsd" > > IcedTea 1.9-pre-rb5fe6c65b574 Runtime Environment (build > > 1.7.0_0-fastdebug-bsd-b42) > > OpenJDK Core VM (build 14.0-b08, interpreted mode) > > > > Is this enough to tell if I was able to build with zero and shark? > > > > 'Core VM' shows that the zero VM has been built. I'm not sure about > how to tell if Shark is being used -- Gary? > To build Shark, you would have needed LLVM. > I didn't install LLVM. I was expecting compilation error if something was missing. It might be that one of the patches I did not apply prevented the shark code. > > > This is what I used to configure: > > ./configure --enable-zero > > --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar > > --with-xalan2-jar=/opt/local/share/java/xalan.jar > > --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar > > --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar --without-rhino > > --disable-liveconnect --with-project=bsd --with-openjdk > > > --with-openjdk-home=/Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820 > > --disable-xrender --enable-shark > > > > Some of my issues were because the BSD port is not completely up-to-date > > with OpenJDK 7. > > > > Yes that's happened with a number of the other ports, though b40 up > seem to be able to use the same patches more or less. > If we can make the process easier, please let us know. > These are the patches I did not apply. patches/icedtea-copy-plugs.patch patches/icedtea-headers.patch patches/icedtea-libraries.patch patches/icedtea-linker-options.patch patches/icedtea-jsoundhs.patch patches/icedtea-arch.patch patches/icedtea-lc_ctype.patch patches/icedtea-linker-libs-order.patch patches/xrender/icedtea-001.patch patches/ecj/icedtea-pr261.patch I skipped these, since it was easier to not apply them, then to try and fix why they did not apply correctly. These two applied OK, but broke the build. patches/icedtea-jdk-use-ssize_t.patch patches/icedtea-bytebuffer-compact.patch Looking at the ssize_t patch, it seems that maybe OpenJDK is inconsistent in using this macro. Since OS X uses ssize_t for SSIZE_T the logic to figure this out is only for solaris and LP64. If it is not one of those platfroms it is int. openjdk/jdk/src/share/hpi/export/hpi.h bytebuffer depends on java.nio.Buffer.java having directMark as a package private method. This is not in the BSD port and I cannot confirm in OpenJDK as the repo has been down for a number of days. > > Michael > > > > On Tue, Dec 30, 2008 at 2:31 AM, Andrew John Hughes > > wrote: > >> > >> 2008/12/30 Michael Franz : > >> > Hi, > >> > > >> > I tried to build IcedTea 7 using the --with-project=bsd option. Most > of > >> > my > >> > issues are with applying the patches. I have not gone through all of > >> > them, > >> > but they seem to fail around the bsd specific lines. > >> > > >> > What would be the best way to handle these differences? > >> > > >> > Michael > >> > > >> > >> Let us know the specifics and we'll work out a solution. As I say, we > >> enabled the option but no-one on the IcedTea team uses BSD so it > >> hasn't been tested. > >> -- > >> Andrew :-) > >> > >> Support Free Java! > >> Contribute to GNU Classpath and the OpenJDK > >> http://www.gnu.org/software/classpath > >> http://openjdk.java.net > >> > >> PGP Key: 94EFD9D8 (http://subkeys.pgp.net) > >> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 > > > > > > > -- > Andrew :-) > Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090102/f65f1f7c/attachment.html From gnu_andrew at member.fsf.org Fri Jan 2 10:54:17 2009 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Fri, 2 Jan 2009 18:54:17 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> Message-ID: <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> 2009/1/2 Michael Franz : > > > On Thu, Jan 1, 2009 at 3:49 AM, Andrew John Hughes > wrote: >> >> 2009/1/1 Michael Franz : >> > Hi, >> > >> > I have been able to build IcedTea 7 on OS X. I removed a bunch of >> > patches >> > and had to fake some stuff to get it to work. I wanted to use zero and >> > shark. This is the version that prints: >> > java version "1.7.0_0-fastdebug-bsd" >> > IcedTea 1.9-pre-rb5fe6c65b574 Runtime Environment (build >> > 1.7.0_0-fastdebug-bsd-b42) >> > OpenJDK Core VM (build 14.0-b08, interpreted mode) >> > >> > Is this enough to tell if I was able to build with zero and shark? >> > >> >> 'Core VM' shows that the zero VM has been built. I'm not sure about >> how to tell if Shark is being used -- Gary? >> To build Shark, you would have needed LLVM. > > I didn't install LLVM. I was expecting compilation error if something was > missing. It might be that one of the patches I did not apply prevented the > shark code. > Strange, configure should fail if you do --enable-shark and there is no LLVM. >> >> > This is what I used to configure: >> > ./configure --enable-zero >> > --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar >> > --with-xalan2-jar=/opt/local/share/java/xalan.jar >> > --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar >> > --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar --without-rhino >> > --disable-liveconnect --with-project=bsd --with-openjdk >> > >> > --with-openjdk-home=/Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820 >> > --disable-xrender --enable-shark >> > >> > Some of my issues were because the BSD port is not completely up-to-date >> > with OpenJDK 7. >> > >> >> Yes that's happened with a number of the other ports, though b40 up >> seem to be able to use the same patches more or less. >> If we can make the process easier, please let us know. > > These are the patches I did not apply. > patches/icedtea-copy-plugs.patch > patches/icedtea-jsoundhs.patch not sure how you managed to build without these, they turn off the proprietary garbage > patches/icedtea-headers.patch > patches/icedtea-libraries.patch These fix the build to use external versions of libjpeg, zlib, libpng, freetype. Without these patches, you'll be using the in-tree copies which have known security issues and will decay over time. > patches/icedtea-linker-options.patch > patches/icedtea-arch.patch > patches/icedtea-lc_ctype.patch > patches/icedtea-linker-libs-order.patch This suggests you need some additional cases for the Mac OS linker/gcc. > patches/xrender/icedtea-001.patch > patches/ecj/icedtea-pr261.patch > These suggest a dated build drop used by the BSD port. > I skipped these, since it was easier to not apply them, then to try and fix > why they did not apply correctly. > > These two applied OK, but broke the build. > patches/icedtea-jdk-use-ssize_t.patch > patches/icedtea-bytebuffer-compact.patch > > Looking at the ssize_t patch, it seems that maybe OpenJDK is inconsistent in > using this macro. Since OS X uses ssize_t for SSIZE_T the logic to figure > this out is only for solaris and LP64. If it is not one of those platfroms > it is int. > openjdk/jdk/src/share/hpi/export/hpi.h > > bytebuffer depends on java.nio.Buffer.java having directMark as a package > private method. This is not in the BSD port and I cannot confirm in OpenJDK > as the repo has been down for a number of days. > It's discardMark() and yes, this is new in b42 IIRC. I suggest the BSD team look at updating their tree. >> >> > Michael >> > >> > On Tue, Dec 30, 2008 at 2:31 AM, Andrew John Hughes >> > wrote: >> >> >> >> 2008/12/30 Michael Franz : >> >> > Hi, >> >> > >> >> > I tried to build IcedTea 7 using the --with-project=bsd option. Most >> >> > of >> >> > my >> >> > issues are with applying the patches. I have not gone through all of >> >> > them, >> >> > but they seem to fail around the bsd specific lines. >> >> > >> >> > What would be the best way to handle these differences? >> >> > >> >> > Michael >> >> > >> >> >> >> Let us know the specifics and we'll work out a solution. As I say, we >> >> enabled the option but no-one on the IcedTea team uses BSD so it >> >> hasn't been tested. >> >> -- >> >> Andrew :-) >> >> >> >> Support Free Java! >> >> Contribute to GNU Classpath and the OpenJDK >> >> http://www.gnu.org/software/classpath >> >> http://openjdk.java.net >> >> >> >> PGP Key: 94EFD9D8 (http://subkeys.pgp.net) >> >> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 >> > >> > >> >> >> -- >> Andrew :-) > > Michael > -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From ekrichardson at gmail.com Fri Jan 2 11:19:00 2009 From: ekrichardson at gmail.com (Eric Richardson) Date: Fri, 2 Jan 2009 11:19:00 -0800 Subject: Power PC Build In-Reply-To: References: <860cb0120812272312j1d310307mcf9864247003567e@mail.gmail.com> <20081228182936.GA7488@misty.eyesbeyond.com> <17c6771e0812281526u3c4b84fes4599a7922ac20025@mail.gmail.com> <860cb0120812292044j45056968oe34be61ed5ddd43d@mail.gmail.com> <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> <860cb0120812302348t6620a544k22292f0b09cbbdc@mail.gmail.com> Message-ID: <860cb0120901021119l48e53b13x94b905fde5455c64@mail.gmail.com> Michael, I was able to get through the configure process. Thanks. Eric On Wed, Dec 31, 2008 at 1:06 PM, Michael Franz wrote: > Eric, > > On Wed, Dec 31, 2008 at 2:48 AM, Eric Richardson wrote: > >> Andrew, > > > >> I built gcc 4.2 as this was available via MacPorts. >> >> Icedtea still looks promising but now I'm stuck on the ALSA part of >> configure. >> >> checking for ALSA... no >> configure: error: Could not find alsa - Try installing alsa-lib-devel. >> >> The only thing I could find remotely related was Libao2. >> > > To work around this I change configure.ac to change the ALSA to a warning > instead of an error and then run autogen.sh > > --- configure.ac.orig 2008-12-31 16:03:56.000000000 -0500 > +++ configure.ac 2008-12-31 16:04:17.000000000 -0500 > @@ -436,7 +436,7 @@ > PKG_CHECK_MODULES(ALSA, alsa,[ALSA_FOUND=yes],[ALSA_FOUND=no]) > if test "x${ALSA_FOUND}" = xno > then > - AC_MSG_ERROR([Could not find alsa - \ > + AC_MSG_WARN([Could not find alsa - \ > Try installing alsa-lib-devel.]) > fi > AC_SUBST(ALSA_CFLAGS) > > I figure I will deal with the ALSA error later if I ever get to them. > > Michael > > >> >> Note: the problem I had before fwas because I was missing pkg.m4 which in >> turn got fixed when I installed xorg-libX11. >> >> ./configure: line 11562: syntax error near unexpected token `XPROTO,' >> ./configure: line 11562: `PKG_CHECK_MODULES(XPROTO, >> xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no) >> >> Eric >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090102/933de2a1/attachment.html From ekrichardson at gmail.com Fri Jan 2 13:32:24 2009 From: ekrichardson at gmail.com (Eric Richardson) Date: Fri, 2 Jan 2009 13:32:24 -0800 Subject: Power PC Build In-Reply-To: <17c6771e0812310746i413e95bbl99813bf99b989496@mail.gmail.com> References: <860cb0120812272312j1d310307mcf9864247003567e@mail.gmail.com> <20081228182936.GA7488@misty.eyesbeyond.com> <17c6771e0812281526u3c4b84fes4599a7922ac20025@mail.gmail.com> <860cb0120812292044j45056968oe34be61ed5ddd43d@mail.gmail.com> <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> <860cb0120812302348t6620a544k22292f0b09cbbdc@mail.gmail.com> <17c6771e0812310746i413e95bbl99813bf99b989496@mail.gmail.com> Message-ID: <860cb0120901021332l67719f69id5fd93ddf4e749a@mail.gmail.com> Andrew, On Wed, Dec 31, 2008 at 7:46 AM, Andrew John Hughes < gnu_andrew at member.fsf.org> wrote: > 2008/12/31 Eric Richardson : > > Andrew, > > > > On Mon, Dec 29, 2008 at 11:30 PM, Andrew John Hughes > > wrote: > >> > >> 2008/12/30 Eric Richardson : > >> > Michael, > >> > > >> > On Mon, Dec 29, 2008 at 3:57 PM, Michael Franz > >> > wrote: > >> >> > >> >> Andrew, > >> >> > >> >> On Sun, Dec 28, 2008 at 6:26 PM, Andrew John Hughes > >> >> wrote: > >> >> > >> >>> > >> >>> IcedTea[7] (http://icedtea.classpath.org/hg/icedtea) already has a > >> >>> --with-project=bsd option for supporting using the BSD tree in place > >> >>> of the main JDK7 tree. It just needs testing. I think supporting > the > >> >>> use of BSD as an alternate icedTea build is the better solution long > >> >>> term. All it really needs is someone will to try building on Mac > >> >>> OS/BSD and to maintain it long-term by supplying us with patches. > >> >>> No-one currently on the IcedTea team uses BSD or Mac OS X (AFAIK) > but > >> >>> we're certainly open to more contributors and to supporting more > >> >>> platforms. I'd much prefer this to forking zero support. There are > >> >>> also other features such as the web plugin, web start support, etc. > in > >> >>> IcedTea that may be useful for BSD and Mac OS X users. > >> >> > >> >> I made a quick attempt at building icedtea7 on OS X. The autogen.sh > >> >> fails > >> >> with the following: > >> >> onfigure.ac:4: installing `./config.guess' > >> >> configure.ac:4: installing `./config.sub' > >> >> configure.ac:2: installing `./install-sh' > >> >> Makefile.am:1304: variable `PULSEAUDIO_SOURCES' is defined but no > >> >> program > >> >> or > >> >> Makefile.am:1304: library has `PULSEAUDIO' as canonic name (possible > >> >> typo) > >> >> Makefile.am:1227: variable `JTREG_SOURCES' is defined but no program > or > >> >> Makefile.am:1227: library has `JTREG' as canonic name (possible typo) > >> >> > >> >> Also, I was not able to find IcedTea7 specific instructions. Are > there > >> >> any? > >> >> > >> >> Michael > >> >> > >> > > >> > I got this same error but tried configure anyway > >> > > >> > ./configure --with-openjdk-home=/Library/Java/Home --enable-zero=yes > >> > --with-project=bsd > --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar > >> > > >> > > --with-alt-jar=/System/LibrarFrameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar > >> > > >> > checking for libgcj-4.3.*.jar... > >> > configure: error: "A LIBGCJ jar was not found." > >> > > >> > >> Either use an OpenJDK/IcedTea build by adding --with-openjdk or > >> specify --with-libgcj-jar to point to rt.jar. > >> As I said in my previous email though, the libgcj build will not work > >> with a non-Classpath/GCJ build environment. > >> (--with-libgcj-jar is gone from IcedTea6, it will go from 7 when we next > >> merge). > > > > This suggestion was very helpful. The problem using the JDK 5 on the Mac > is > > that instead of having an rt.jar they have classes.jar and ui.jar so you > > can't use the --with-openjdk-home so you must use > > > --with-libgcj-jar=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar > > but unfortunately I had a typo in the path. I have been reading your > posts > > but much is new and I certainly don't understand it all. > > > > --with-openjdk-home wouldn't be an option anyway, it's --with-gcj-home. > There are basically three possible setups: > > * default build: does a bootstrap build (build with gcj+ecj first, > then the built IcedTea), --with-gcj-home can be used to point to the > JDK tree. > * openjdk build: --with-openjdk turns this on, --with-openjdk-home > points to the JDK tree. The build JDK is expected to be a copy of raw > OpenJDK. Not sure how well tested this is anymore. > * icedtea build --with-icedtea turns this on, --with-icedtea-home > points to the JDK tree. The build JDK is expected to be an earlier > IcedTea. It essentially does the second stage of the default build, > and fails even with the oldest versions of IcedTea (those based on 7) > as it expects some plugin classes to be in the existing IcedTea build. > > --with-libgcj-jar was dropped because it doesn't really fit in > coherently. It was only being used by the default build, but yet > there was no equivalent for the openjdk or icedtea builds. It doesn't > get around the need for a correct JDK tree as libjvm.so will be > expected to be present in jre/lib/${arch}/(client|server). IcedTea > seems to have adopted a hybrid approach of assuming and not assuming a > JDK tree for the GCJ build and it simplifies things if we settle on a > single approach. > > The JDK tree structure has become a defacto standard and is relied > upon by quite a few Java applications, especially Apache ones. I'm > surprised that the JDK you have doesn't follow this. We had a lot of > problems with GNU Classpath when running applications that expected > this structure of a tools.jar with the compiler, an rt.jar with the > class library, etc. to the point that gcj-java-compat was created to > provide a JDK-like tree for GCJ installs. In turn, the IcedTea build > expects this to be present as it is on current versions of Fedora, > Debian, Ubuntu, etc. with the correct packages installed. > > It's actually easier to create such a tree than pass in numerous > options to specify every little file. Just create a tree with a > jre/lib/rt.jar pointing to your class library and a > jre/lib/${arch}/(client|server)/libjvm.so pointing to your libjvm.so > e.g. > > $ find /usr/lib/gcj-jdk-4.3 > /usr/lib/gcj-jdk-4.3 > /usr/lib/gcj-jdk-4.3/bin > /usr/lib/gcj-jdk-4.3/bin/jar > /usr/lib/gcj-jdk-4.3/bin/java > /usr/lib/gcj-jdk-4.3/bin/rmic > /usr/lib/gcj-jdk-4.3/bin/keytool > /usr/lib/gcj-jdk-4.3/bin/javac > /usr/lib/gcj-jdk-4.3/bin/javah > /usr/lib/gcj-jdk-4.3/bin/javap > /usr/lib/gcj-jdk-4.3/bin/appletviewer > /usr/lib/gcj-jdk-4.3/bin/jarsigner > /usr/lib/gcj-jdk-4.3/bin/javadoc > /usr/lib/gcj-jdk-4.3/bin/rmiregistry > /usr/lib/gcj-jdk-4.3/jre > /usr/lib/gcj-jdk-4.3/jre/bin > /usr/lib/gcj-jdk-4.3/jre/bin/java > /usr/lib/gcj-jdk-4.3/jre/bin/keytool > /usr/lib/gcj-jdk-4.3/jre/bin/rmiregistry > /usr/lib/gcj-jdk-4.3/jre/lib > /usr/lib/gcj-jdk-4.3/jre/lib/amd64 > /usr/lib/gcj-jdk-4.3/jre/lib/amd64/client > /usr/lib/gcj-jdk-4.3/jre/lib/amd64/client/libjvm.so > /usr/lib/gcj-jdk-4.3/jre/lib/amd64/libjawt.so > /usr/lib/gcj-jdk-4.3/jre/lib/amd64/server > /usr/lib/gcj-jdk-4.3/jre/lib/amd64/server/libjvm.so > /usr/lib/gcj-jdk-4.3/jre/lib/rt.jar > /usr/lib/gcj-jdk-4.3/lib > /usr/lib/gcj-jdk-4.3/lib/tools.jar > /usr/lib/gcj-jdk-4.3/include > > The above is now created by the Gentoo gcj-jdk ebuild after a process > of trial and error finding what was expected by different Java apps, > etc. Note that include is a symlink to gcj's include directory with > jni.h. Okay, I created the Java/JRE structure as you suggested and I am able to configure icedtea6. The only thing I really didn't know is that libjvm.so is libjvm.dylib on the MacOSX platform so I left them like that and will wait to see the consequences. I used ppc64 as the architecture. new-host:icedtea6 eric$ ./configure --enable-zero=yes --with-project=bsd --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar --with-gcj-home=/Library/Java/Home --with-xalan2-jar=/opt/local/share/java/xalan.jar --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar --with-rhino=/Users/eric/java-libs/js-engine.jar --disable-liveconnect The --with-project=bsd of course is ignored in icedtea6. I'm able to call make and it downloads the first piece but I have a md5sum which doesn't understand the option --check. Don't know if this will be a problem on other BSD platforms. hotspot_md5sum="`gawk 'version==$1 {print $3}' version=14.0b08 \ /Users/eric/java/icedtea6/hotspot.map`" ; \ if ! echo "${hotspot_md5sum} hotspot.tar.gz" \ | /sw/bin/md5sum --check ; \ then \ if [ hotspot.tar.gz ] ; \ then \ mv hotspot.tar.gz hotspot.tar.gz.old ; \ fi ; \ changeset="`gawk 'version==$1 {print $2}' version=14.0b08 \ /Users/eric/java/icedtea6/hotspot.map`" ; \ /usr/local/bin/wget http://hg.openjdk.java.net/jdk7/hotspot/hotspot/archive/${changeset}.tar.gz-O hotspot.tar.gz ; \ fi /sw/bin/md5sum: illegal option -- - usage: md5sum [-bv] [-c [file]] | [file...] Generates or checks MD5 Message Digests -c check message digests (default is generate) -v verbose, print file names when checking -b read files in binary mode > > > > Removing the --with-libgcj-jar cuts off the path to what I am attempting > to > > do. (icedtea6 no longer works since I updated) If you can use any java 5 > > complier to create IcedTea JDK, the resultant can be used after that. If > it > > is possible to keep IcedTea like IcePick "which allows the OpenJDK > language > > tools (javac, javadoc, javah, javap, apt) to be built separately using > any > > 1.5 compliant Java compiler..." that would be great. Unless there is an > > alternate way to point to the runtime jar. > > > So I guess now I will have to wait for the removal of the --with-libgcj-jar option in the icedtea7 code. I tried hg update and received no updates. > -- > Andrew :-) > > Support Free Java! > Contribute to GNU Classpath and the OpenJDK > http://www.gnu.org/software/classpath > http://openjdk.java.net > > PGP Key: 94EFD9D8 (http://subkeys.pgp.net) > Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 > Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090102/b910ff63/attachment.html From mvfranz at gmail.com Fri Jan 2 15:39:17 2009 From: mvfranz at gmail.com (Michael Franz) Date: Fri, 2 Jan 2009 18:39:17 -0500 Subject: Power PC Build In-Reply-To: <860cb0120901021332l67719f69id5fd93ddf4e749a@mail.gmail.com> References: <860cb0120812272312j1d310307mcf9864247003567e@mail.gmail.com> <20081228182936.GA7488@misty.eyesbeyond.com> <17c6771e0812281526u3c4b84fes4599a7922ac20025@mail.gmail.com> <860cb0120812292044j45056968oe34be61ed5ddd43d@mail.gmail.com> <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> <860cb0120812302348t6620a544k22292f0b09cbbdc@mail.gmail.com> <17c6771e0812310746i413e95bbl99813bf99b989496@mail.gmail.com> <860cb0120901021332l67719f69id5fd93ddf4e749a@mail.gmail.com> Message-ID: Eric, On Fri, Jan 2, 2009 at 4:32 PM, Eric Richardson wrote: > > I'm able to call make and it downloads the first piece but I have a md5sum > which doesn't understand the option --check. Don't know if this will be a > problem on other BSD platforms. > > hotspot_md5sum="`gawk 'version==$1 {print $3}' version=14.0b08 \ > /Users/eric/java/icedtea6/hotspot.map`" ; \ > if ! echo "${hotspot_md5sum} hotspot.tar.gz" \ > | /sw/bin/md5sum --check ; \ > then \ > if [ hotspot.tar.gz ] ; \ > then \ > mv hotspot.tar.gz hotspot.tar.gz.old ; \ > fi ; \ > changeset="`gawk 'version==$1 {print $2}' version=14.0b08 \ > /Users/eric/java/icedtea6/hotspot.map`" ; \ > /usr/local/bin/wget > http://hg.openjdk.java.net/jdk7/hotspot/hotspot/archive/${changeset}.tar.gz-O hotspot.tar.gz ; \ > fi > /sw/bin/md5sum: illegal option -- - > usage: md5sum [-bv] [-c [file]] | [file...] > Generates or checks MD5 Message Digests > -c check message digests (default is generate) > -v verbose, print file names when checking > -b read files in binary mode > You can install coreutils from macports using the with_default_names variant to put md5sum into /opt/local/bin . This version will understand the --check parameter. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090102/db393241/attachment.html From ekrichardson at gmail.com Fri Jan 2 18:31:45 2009 From: ekrichardson at gmail.com (Eric Richardson) Date: Fri, 2 Jan 2009 18:31:45 -0800 Subject: Power PC Build In-Reply-To: References: <860cb0120812272312j1d310307mcf9864247003567e@mail.gmail.com> <20081228182936.GA7488@misty.eyesbeyond.com> <17c6771e0812281526u3c4b84fes4599a7922ac20025@mail.gmail.com> <860cb0120812292044j45056968oe34be61ed5ddd43d@mail.gmail.com> <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> <860cb0120812302348t6620a544k22292f0b09cbbdc@mail.gmail.com> <17c6771e0812310746i413e95bbl99813bf99b989496@mail.gmail.com> <860cb0120901021332l67719f69id5fd93ddf4e749a@mail.gmail.com> Message-ID: <860cb0120901021831w58e52680l6210b322d93255ba@mail.gmail.com> Michael, On Fri, Jan 2, 2009 at 3:39 PM, Michael Franz wrote: > Eric, > > On Fri, Jan 2, 2009 at 4:32 PM, Eric Richardson wrote: > > >> >> I'm able to call make and it downloads the first piece but I have a md5sum >> which doesn't understand the option --check. Don't know if this will be a >> problem on other BSD platforms. >> >> hotspot_md5sum="`gawk 'version==$1 {print $3}' version=14.0b08 \ >> /Users/eric/java/icedtea6/hotspot.map`" ; \ >> if ! echo "${hotspot_md5sum} hotspot.tar.gz" \ >> | /sw/bin/md5sum --check ; \ >> then \ >> if [ hotspot.tar.gz ] ; \ >> then \ >> mv hotspot.tar.gz hotspot.tar.gz.old ; \ >> fi ; \ >> changeset="`gawk 'version==$1 {print $2}' version=14.0b08 \ >> /Users/eric/java/icedtea6/hotspot.map`" ; \ >> /usr/local/bin/wget >> http://hg.openjdk.java.net/jdk7/hotspot/hotspot/archive/${changeset}.tar.gz-O hotspot.tar.gz ; \ >> fi >> /sw/bin/md5sum: illegal option -- - >> usage: md5sum [-bv] [-c [file]] | [file...] >> Generates or checks MD5 Message Digests >> -c check message digests (default is generate) >> -v verbose, print file names when checking >> -b read files in binary mode >> > > You can install coreutils from macports using the with_default_names > variant to put md5sum into /opt/local/bin . This version will understand > the --check parameter. > I reviewed your previous post and list of macports loaded but wanted to post this just in case it was applicable for others if they don't have the GNU utilities. Glad you explained the with_default_names variant again though. Thanks. > > > Michael > > Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090102/44268040/attachment.html From mvfranz at gmail.com Fri Jan 2 22:26:05 2009 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 3 Jan 2009 01:26:05 -0500 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> Message-ID: Andrew, I made another attempt from scratch at this (the repo is back online). I did not use the latest version the first time since it does not build with out patches (the patches are in the pipeline and should show up soon). I applied patches manually before starting. Additional notes below. On Fri, Jan 2, 2009 at 1:54 PM, Andrew John Hughes < gnu_andrew at member.fsf.org> wrote: > 2009/1/2 Michael Franz : > > > > > > On Thu, Jan 1, 2009 at 3:49 AM, Andrew John Hughes > > wrote: > >> > >> 2009/1/1 Michael Franz : > >> > Hi, > >> > > >> > I have been able to build IcedTea 7 on OS X. I removed a bunch of > >> > patches > >> > and had to fake some stuff to get it to work. I wanted to use zero > and > >> > shark. This is the version that prints: > >> > java version "1.7.0_0-fastdebug-bsd" > >> > IcedTea 1.9-pre-rb5fe6c65b574 Runtime Environment (build > >> > 1.7.0_0-fastdebug-bsd-b42) > >> > OpenJDK Core VM (build 14.0-b08, interpreted mode) > >> > > >> > Is this enough to tell if I was able to build with zero and shark? > >> > > >> > >> 'Core VM' shows that the zero VM has been built. I'm not sure about > >> how to tell if Shark is being used -- Gary? > >> To build Shark, you would have needed LLVM. > > > > I didn't install LLVM. I was expecting compilation error if something > was > > missing. It might be that one of the patches I did not apply prevented > the > > shark code. > > > > Strange, configure should fail if you do --enable-shark and there is no > LLVM. > I might have removed this check in configure. This time I installed llvm via macports and configure did not complain (well, it did before I installed llvm). > > >> > >> > This is what I used to configure: > >> > ./configure --enable-zero > >> > --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar > >> > --with-xalan2-jar=/opt/local/share/java/xalan.jar > >> > --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar > >> > --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar > --without-rhino > >> > --disable-liveconnect --with-project=bsd --with-openjdk > >> > > >> > > --with-openjdk-home=/Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820 > >> > --disable-xrender --enable-shark > >> > > >> > Some of my issues were because the BSD port is not completely > up-to-date > >> > with OpenJDK 7. > >> > > >> > >> Yes that's happened with a number of the other ports, though b40 up > >> seem to be able to use the same patches more or less. > >> If we can make the process easier, please let us know. > > > > These are the patches I did not apply. > > > patches/icedtea-copy-plugs.patch > > patches/icedtea-jsoundhs.patch > > not sure how you managed to build without these, they turn off the > proprietary garbage > I create a new patch for the changes in copy-plugs. I could not figure out why jsoundhs fails, but the BSD port has guards on the logic, so I don't think the patch is necessary. > > > patches/icedtea-headers.patch > > patches/icedtea-libraries.patch > > These fix the build to use external versions of libjpeg, zlib, libpng, > freetype. > Without these patches, you'll be using the in-tree copies which have > known security issues and will decay over time. > I was able to apply the changes in headers patch. libraries still fails and it was too large for me to look at this time around. > > > patches/icedtea-linker-options.patch > > patches/icedtea-arch.patch > > patches/icedtea-lc_ctype.patch > > patches/icedtea-linker-libs-order.patch > > This suggests you need some additional cases for the Mac OS linker/gcc. > These seemed to be linux specific and not necessary for bsd. > > > patches/xrender/icedtea-001.patch > > patches/ecj/icedtea-pr261.patch > > > > These suggest a dated build drop used by the BSD port. > These worked with the updated repo. > > > I skipped these, since it was easier to not apply them, then to try and > fix > > why they did not apply correctly. > > > > These two applied OK, but broke the build. > > patches/icedtea-jdk-use-ssize_t.patch > > patches/icedtea-bytebuffer-compact.patch > > > > Looking at the ssize_t patch, it seems that maybe OpenJDK is inconsistent > in > > using this macro. Since OS X uses ssize_t for SSIZE_T the logic to > figure > > this out is only for solaris and LP64. If it is not one of those > platfroms > > it is int. > > openjdk/jdk/src/share/hpi/export/hpi.h > > > > bytebuffer depends on java.nio.Buffer.java having directMark as a package > > private method. This is not in the BSD port and I cannot confirm in > OpenJDK > > as the repo has been down for a number of days. > > > > It's discardMark() and yes, this is new in b42 IIRC. I suggest the > BSD team look at updating their tree. > I did get the name wrong. It is in the tip of the BSD port. > > >> > >> > Michael > >> > > >> > On Tue, Dec 30, 2008 at 2:31 AM, Andrew John Hughes > >> > wrote: > >> >> > >> >> 2008/12/30 Michael Franz : > >> >> > Hi, > >> >> > > >> >> > I tried to build IcedTea 7 using the --with-project=bsd option. > Most > >> >> > of > >> >> > my > >> >> > issues are with applying the patches. I have not gone through all > of > >> >> > them, > >> >> > but they seem to fail around the bsd specific lines. > >> >> > > >> >> > What would be the best way to handle these differences? > >> >> > > >> >> > Michael > >> >> > > >> >> > >> >> Let us know the specifics and we'll work out a solution. As I say, > we > >> >> enabled the option but no-one on the IcedTea team uses BSD so it > >> >> hasn't been tested. > >> >> -- > >> >> Andrew :-) > >> >> > >> >> Support Free Java! > >> >> Contribute to GNU Classpath and the OpenJDK > >> >> http://www.gnu.org/software/classpath > >> >> http://openjdk.java.net > >> >> > >> >> PGP Key: 94EFD9D8 (http://subkeys.pgp.net) > >> >> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 > >> > > >> > > >> > >> > >> -- > >> Andrew :-) > > > > Michael > > > -- > Andrew :-) > Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/a63a3802/attachment.html From mvfranz at gmail.com Fri Jan 2 22:51:36 2009 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 3 Jan 2009 01:51:36 -0500 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> Message-ID: Another thing that I noticed this time around is that zero is in the bsd port repo. I think adding ICEDTEA_ZERO_BUILD=1 to the build command will activate it. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/c131ca90/attachment.html From mvfranz at gmail.com Sat Jan 3 11:36:44 2009 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 3 Jan 2009 14:36:44 -0500 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> Message-ID: I have created the following patches that integrate shark build into the bsd-port repo. I have not been able to get it to compile, but wanted these out there in case they are wrong and causing my problem. I am currently stuck on this error: /Users/mfranz/developer/icedtea/local-bsd/bootstrap/jdk1.6.0/bin/javah -classpath /Users/mfranz/developer/icedtea/local-bsd/openjdk/build/bsd-i586/hotspot/outputdir/bsd_i486_shark/product/../generated/saclasses -d /Users/mfranz/developer/icedtea/local-bsd/openjdk/build/bsd-i586/hotspot/outputdir/bsd_i486_shark/product/../generated -jni sun.jvm.hotspot.debugger.sparc.SPARCThreadContext make[7]: *** No rule to make target `shark_globals_x86.hpp', needed by `incls/_precompiled.incl.gch'. Stop. make[6]: *** [the_vm] Error 2 make[5]: *** [productshark] Error 2 make[4]: *** [generic_buildshark] Error 2 make[3]: *** [productshark] Error 2 make[2]: *** [hotspot-build] Error 2 make[1]: *** [build_product_image] Error 2 make: *** [stamps/icedtea.stamp] Error 2 Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/1b9d9974/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea-bsd-shark.patch Type: application/octet-stream Size: 2931 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/1b9d9974/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: icedtea-bsd-top-make.patch Type: application/octet-stream Size: 977 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/1b9d9974/attachment-0001.obj From aph at redhat.com Sat Jan 3 12:08:04 2009 From: aph at redhat.com (Andrew Haley) Date: Sat, 03 Jan 2009 20:08:04 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> Message-ID: <495FC5A4.8080600@redhat.com> Michael Franz wrote: > I have created the following patches that integrate shark build into the > bsd-port repo. I have not been able to get it to compile, but wanted these > out there in case they are wrong and causing my problem. > > I am currently stuck on this error: Shark on x86 isn't really ready yet. I've been debugging it and it's starting to look OK, but it's not stable. Andrew. From aph at redhat.com Sat Jan 3 13:05:11 2009 From: aph at redhat.com (Andrew Haley) Date: Sat, 03 Jan 2009 21:05:11 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <495FC5A4.8080600@redhat.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> Message-ID: <495FD307.3030606@redhat.com> Andrew Haley wrote: > Michael Franz wrote: >> I have created the following patches that integrate shark build into the >> bsd-port repo. I have not been able to get it to compile, but wanted these >> out there in case they are wrong and causing my problem. >> >> I am currently stuck on this error: > > Shark on x86 isn't really ready yet. I've been debugging it and it's > starting to look OK, but it's not stable. Actually, I've been working on x86_64. AFAIAA *nobody* has worked on x86. To be honest, I don't really know why you'd want to: the x86 Hotspot JIT is very good. Andrew. From mvfranz at gmail.com Sat Jan 3 13:23:40 2009 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 3 Jan 2009 16:23:40 -0500 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <495FD307.3030606@redhat.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> Message-ID: Andrew, On Sat, Jan 3, 2009 at 4:05 PM, Andrew Haley wrote: > Andrew Haley wrote: > > Michael Franz wrote: > >> I have created the following patches that integrate shark build into the > >> bsd-port repo. I have not been able to get it to compile, but wanted > these > >> out there in case they are wrong and causing my problem. > >> > >> I am currently stuck on this error: > > > > Shark on x86 isn't really ready yet. I've been debugging it and it's > > starting to look OK, but it's not stable. > > Actually, I've been working on x86_64. AFAIAA *nobody* has worked on > x86. To be honest, I don't really know why you'd want to: the x86 > Hotspot JIT is very good. > > Andrew. > I am not necessarily interested in the using zero/shark on intel (32 or 64). I am interested int getting zero/shark integrated into the bsd port for other architectures to use. Since the bsd-port can only be built on intel (32/64) I figured it would be easier to integrate with a working build than trying to do it on ppc which cannot build icedtea (no valid bootstrap jdk). Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/aa44e3d5/attachment.html From aph at redhat.com Sat Jan 3 14:04:16 2009 From: aph at redhat.com (Andrew Haley) Date: Sat, 03 Jan 2009 22:04:16 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> Message-ID: <495FE0E0.60703@redhat.com> Michael Franz wrote: > On Sat, Jan 3, 2009 at 4:05 PM, Andrew Haley wrote: > >> Andrew Haley wrote: >>> Michael Franz wrote: >>>> I have created the following patches that integrate shark build into the >>>> bsd-port repo. I have not been able to get it to compile, but wanted >> these >>>> out there in case they are wrong and causing my problem. >>>> >>>> I am currently stuck on this error: >>> Shark on x86 isn't really ready yet. I've been debugging it and it's >>> starting to look OK, but it's not stable. >> Actually, I've been working on x86_64. AFAIAA *nobody* has worked on >> x86. To be honest, I don't really know why you'd want to: the x86 >> Hotspot JIT is very good. > I am not necessarily interested in the using zero/shark on intel (32 or > 64). I am interested int getting zero/shark integrated into the bsd port > for other architectures to use. Since the bsd-port can only be built on > intel (32/64) I figured it would be easier to integrate with a working build > than trying to do it on ppc which cannot build icedtea (no valid bootstrap > jdk). You might be OK with zero on x86 BSD, but almost certainly not with shark. I presume the problem with ppc on BSD is that gcj doesn't work there either. Andrew. From ekrichardson at gmail.com Sat Jan 3 17:40:23 2009 From: ekrichardson at gmail.com (Eric Richardson) Date: Sat, 3 Jan 2009 17:40:23 -0800 Subject: Power PC Build In-Reply-To: <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> References: <860cb0120812272312j1d310307mcf9864247003567e@mail.gmail.com> <20081228182936.GA7488@misty.eyesbeyond.com> <17c6771e0812281526u3c4b84fes4599a7922ac20025@mail.gmail.com> <860cb0120812292044j45056968oe34be61ed5ddd43d@mail.gmail.com> <17c6771e0812292330o4afa6702j8a04a115ae6276be@mail.gmail.com> Message-ID: <860cb0120901031740u5fbb5c4cud246b842cc396874@mail.gmail.com> Andrew, On Mon, Dec 29, 2008 at 11:30 PM, Andrew John Hughes < gnu_andrew at member.fsf.org> wrote: > 2008/12/30 Eric Richardson : > > > Either use an OpenJDK/IcedTea build by adding --with-openjdk or > specify --with-libgcj-jar to point to rt.jar. > As I said in my previous email though, the libgcj build will not work > with a non-Classpath/GCJ build environment. > (--with-libgcj-jar is gone from IcedTea6, it will go from 7 when we next > merge). Do you know when this merge will take place? > > -- > Andrew :-) > > Support Free Java! > Contribute to GNU Classpath and the OpenJDK > http://www.gnu.org/software/classpath > http://openjdk.java.net > > PGP Key: 94EFD9D8 (http://subkeys.pgp.net) > Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 > Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090103/ab5ce260/attachment.html From christian.thalinger at gmail.com Sun Jan 4 01:51:29 2009 From: christian.thalinger at gmail.com (Christian Thalinger) Date: Sun, 04 Jan 2009 10:51:29 +0100 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <495FE0E0.60703@redhat.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> Message-ID: <1231062689.28600.2.camel@localhost.localdomain> On Sat, 2009-01-03 at 22:04 +0000, Andrew Haley wrote: > Michael Franz wrote: > > > On Sat, Jan 3, 2009 at 4:05 PM, Andrew Haley wrote: > > > >> Andrew Haley wrote: > >>> Michael Franz wrote: > >>>> I have created the following patches that integrate shark build into the > >>>> bsd-port repo. I have not been able to get it to compile, but wanted > >> these > >>>> out there in case they are wrong and causing my problem. > >>>> > >>>> I am currently stuck on this error: > >>> Shark on x86 isn't really ready yet. I've been debugging it and it's > >>> starting to look OK, but it's not stable. > >> Actually, I've been working on x86_64. AFAIAA *nobody* has worked on > >> x86. To be honest, I don't really know why you'd want to: the x86 > >> Hotspot JIT is very good. > > > I am not necessarily interested in the using zero/shark on intel (32 or > > 64). I am interested int getting zero/shark integrated into the bsd port > > for other architectures to use. Since the bsd-port can only be built on > > intel (32/64) I figured it would be easier to integrate with a working build > > than trying to do it on ppc which cannot build icedtea (no valid bootstrap > > jdk). > > You might be OK with zero on x86 BSD, but almost certainly not with shark. > I presume the problem with ppc on BSD is that gcj doesn't work there either. Michael, you can use CACAO or JamVM to bootstrap IcedTea. For some instructions see: http://c1.complang.tuwien.ac.at/cacaowiki/IcedTea - Christian From doko at ubuntu.com Sun Jan 4 13:59:32 2009 From: doko at ubuntu.com (Matthias Klose) Date: Sun, 04 Jan 2009 22:59:32 +0100 Subject: how to build without precompiled headers? Message-ID: <49613144.90706@ubuntu.com> Trying to track down an ICE (internal compiler error), I need to build hotspot without precompiled header files. There is a macro USE_PRECOMPILED_HEADER defined in openjdk/hotspot/make/*/makefiles/gcc.make, but just removing the conditional around this definition still builds using precompiled header files. How can you build without precompiled header files (even if it's a hack)? Matthias From bugzilla-daemon at icedtea.classpath.org Sun Jan 4 22:32:33 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Jan 2009 06:32:33 +0000 Subject: [Bug 275] New: Java applet page crashes Firefox 3.0.5 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=275 Summary: Java applet page crashes Firefox 3.0.5 Product: IcedTea Version: unspecified Platform: PC URL: http://www.sjsu.edu/faculty/watkins/tassel.htm OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: neteler at gmail.com Description of problem: Firefox crashes when browsing to a page that has an applet. My system is a freshly installed 2009.0 PowerPack for x86_64. rpm -qil java-1.6.0-openjdk-plugin-1.6.0.0-0.16.b11.4mdv2009.0 Name : java-1.6.0-openjdk-plugin Relocations: (not relocatable) Version : 1.6.0.0 Vendor: Mandriva Release : 0.16.b11.4mdv2009.0 Build Date: Mon 11 Aug 2008 11:27:13 PM CEST Install Date: Mon 29 Dec 2008 10:53:44 PM CET Build Host: klodia.mandriva.com Group : Development/Java Source RPM: java-1.6.0-openjdk-1.6.0.0-0.16.b11.4mdv2009.0.src.rpm Size : 164818 License: GPLv2 with exceptions Signature : DSA/SHA1, Fri 03 Oct 2008 01:26:55 AM CEST, Key ID e7898ae070771ff3 Packager : David Walluck URL : http://icedtea.classpath.org/ Summary : OpenJDK Web Browser Plugin Description : The OpenJDK web browser plugin. /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/IcedTeaPlugin.so /usr/lib64/mozilla /usr/lib64/mozilla/plugins /usr/share/doc/java-1.6.0-openjdk-plugin /usr/share/doc/java-1.6.0-openjdk-plugin/README.plugin Steps to Reproduce: 1. Start Firefox; 2. Browse to http://www.sjsu.edu/faculty/watkins/tassel.htm -> crash, firefox 3.0.5 window disappears uname -a Linux localhost 2.6.27.7-server-1mnb #1 SMP Thu Dec 11 17:41:52 EST 2008 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GNU/Linux cat /etc/issue Mandriva Linux release 2009.0 (Official) for x86_64 Kernel 2.6.27.7-server-1mnb on a Dual-processor x86_64 / \l Originally reported to - Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=471882 - Mandriva: https://qa.mandriva.com/show_bug.cgi?id=45162 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From aph at redhat.com Mon Jan 5 02:56:40 2009 From: aph at redhat.com (Andrew Haley) Date: Mon, 05 Jan 2009 10:56:40 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <495FE0E0.60703@redhat.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> Message-ID: <4961E768.6090603@redhat.com> Andrew Haley wrote: > Michael Franz wrote: > >> On Sat, Jan 3, 2009 at 4:05 PM, Andrew Haley wrote: >> >>> Andrew Haley wrote: >>>> Michael Franz wrote: >>>>> I have created the following patches that integrate shark build into the >>>>> bsd-port repo. I have not been able to get it to compile, but wanted >>> these >>>>> out there in case they are wrong and causing my problem. >>>>> >>>>> I am currently stuck on this error: >>>> Shark on x86 isn't really ready yet. I've been debugging it and it's >>>> starting to look OK, but it's not stable. >>> Actually, I've been working on x86_64. AFAIAA *nobody* has worked on >>> x86. To be honest, I don't really know why you'd want to: the x86 >>> Hotspot JIT is very good. > >> I am not necessarily interested in the using zero/shark on intel (32 or >> 64). I am interested int getting zero/shark integrated into the bsd port >> for other architectures to use. Since the bsd-port can only be built on >> intel (32/64) I figured it would be easier to integrate with a working build >> than trying to do it on ppc which cannot build icedtea (no valid bootstrap >> jdk). > > You might be OK with zero on x86 BSD, but almost certainly not with shark. > I presume the problem with ppc on BSD is that gcj doesn't work there either. Thinking about this a bit more, what we really need is to fix IcedTea so that it cross-compiles. We already have "make icedtea-against-ecj", which uses an installed ecj to build the class files. Cross-compiling hotspot itself is not a huge problem either. Andrew. From mark at klomp.org Mon Jan 5 03:13:42 2009 From: mark at klomp.org (Mark Wielaard) Date: Mon, 05 Jan 2009 12:13:42 +0100 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <4961E768.6090603@redhat.com> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> <4961E768.6090603@redhat.com> Message-ID: <1231154022.3499.32.camel@dijkstra.wildebeest.org> Hi (added Robert to the CC), On Mon, 2009-01-05 at 10:56 +0000, Andrew Haley wrote: > Thinking about this a bit more, what we really need is to fix IcedTea so that > it cross-compiles. We already have "make icedtea-against-ecj", which uses an > installed ecj to build the class files. Cross-compiling hotspot itself is not > a huge problem either. This is what Robert did to get IcedTea cross compiled for ARM/OpenEmbedded: http://rschuster.blogs.evolvis.org/2008/12/21/serving-cross-compiled-openjdk-with-icedtea/ He was hoping to contribute any needed changes back. Cheers, Mark From aph at redhat.com Mon Jan 5 03:20:55 2009 From: aph at redhat.com (Andrew Haley) Date: Mon, 05 Jan 2009 11:20:55 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <1231154022.3499.32.camel@dijkstra.wildebeest.org> References: <17c6771e0812292331u5081480aneb4abbe31d46032c@mail.gmail.com> <17c6771e0901010049i4a22bec7lc3eb89b4f1cd0c25@mail.gmail.com> <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> <4961E768.6090603@redhat.com> <1231154022.3499.32.camel@dijkstra.wildebeest.org> Message-ID: <4961ED17.9040906@redhat.com> Mark Wielaard wrote: > Hi (added Robert to the CC), > > On Mon, 2009-01-05 at 10:56 +0000, Andrew Haley wrote: >> Thinking about this a bit more, what we really need is to fix IcedTea so that >> it cross-compiles. We already have "make icedtea-against-ecj", which uses an >> installed ecj to build the class files. Cross-compiling hotspot itself is not >> a huge problem either. > > This is what Robert did to get IcedTea cross compiled for > ARM/OpenEmbedded: > http://rschuster.blogs.evolvis.org/2008/12/21/serving-cross-compiled-openjdk-with-icedtea/ > He was hoping to contribute any needed changes back. That looks right, but is it all of OpenJDK or just the OpenJDK class library with Cacao? In any case, we need this stuff in the tree or it will rot really quickly. Andrew. From aph at redhat.com Mon Jan 5 03:37:44 2009 From: aph at redhat.com (Andrew Haley) Date: Mon, 05 Jan 2009 11:37:44 +0000 Subject: changeset in /hg/icedtea6: 2008-12-24 Andrew Haley changeset b97986da0d62 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b97986da0d62 description: 2008-12-24 Andrew Haley * ports/hotspot/src/share/vm/shark/sharkFunction.cpp (SharkFunction::initialize): Work around bug in ciTypeFlow::Block::pre_order_at(). * ports/hotspot/src/share/vm/shark/sharkCompiler.cpp (SharkCompiler::compile_method): Allow "*" as a wildcard. * ports/hotspot/src/share/vm/shark/sharkBuilder.hpp (llvm::IRBuilder): type2aelembytes now a mamber function. * ports/hotspot/src/share/vm/shark/sharkBlock.hpp (class SharkBlock): is_private_copy renamed is_backedge_copy. * ports/hotspot/src/share/vm/shark/sharkBlock.cpp (SharkBlock::parse): force_bci if there's a trap. * ports/hotspot/src/cpu/zero/vm/disassembler_zero.cpp: Delete everything. diffstat: 1 file changed, 6 insertions(+) Makefile.am | 6 ++++++ diffs (16 lines): diff -r 136f40a0dae4 -r b97986da0d62 Makefile.am --- a/Makefile.am Wed Dec 24 13:12:52 2008 -0500 +++ b/Makefile.am Mon Jan 05 11:37:36 2009 +0000 @@ -554,6 +554,12 @@ endif ICEDTEA_FSG_PATCHES = +DISTRIBUTION_PATCHES = \ + patches/mixtec-assertions.patch \ + patches/mixtec-no-log-vm-output.patch \ + patches/mixtec-no-print-vm-options.patch \ + patches/mixtec-optimization.patch + ICEDTEA_PATCHES = \ $(ZERO_PATCHES_COND) \ patches/icedtea-version.patch \ From aph at redhat.com Mon Jan 5 03:42:45 2009 From: aph at redhat.com (Andrew Haley) Date: Mon, 05 Jan 2009 11:42:45 +0000 Subject: changeset in /hg/icedtea6: 2009-01-05 Andrew Haley changeset 79f28ead8d7b in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=79f28ead8d7b description: 2009-01-05 Andrew Haley * Makefile.am (ICEDTEA_PATCHES): Fix bad checkin. diffstat: 2 files changed, 20 insertions(+), 6 deletions(-) ChangeLog | 20 ++++++++++++++++++++ Makefile.am | 6 ------ diffs (43 lines): diff -r b97986da0d62 -r 79f28ead8d7b ChangeLog --- a/ChangeLog Mon Jan 05 11:37:36 2009 +0000 +++ b/ChangeLog Mon Jan 05 11:42:35 2009 +0000 @@ -1,3 +1,23 @@ 2008-12-24 Omair Majid + + * Makefile.am (ICEDTEA_PATCHES): Fix bad checkin. + +2008-12-24 Andrew Haley + + * ports/hotspot/src/share/vm/shark/sharkFunction.cpp + (SharkFunction::initialize): Work around bug in + ciTypeFlow::Block::pre_order_at(). + * ports/hotspot/src/share/vm/shark/sharkCompiler.cpp + (SharkCompiler::compile_method): Allow "*" as a wildcard. + * ports/hotspot/src/share/vm/shark/sharkBuilder.hpp (llvm::IRBuilder): + type2aelembytes now a mamber function. + * ports/hotspot/src/share/vm/shark/sharkBlock.hpp (class + SharkBlock): is_private_copy renamed is_backedge_copy. + * ports/hotspot/src/share/vm/shark/sharkBlock.cpp (SharkBlock::parse): + force_bci if there's a trap. + * ports/hotspot/src/cpu/zero/vm/disassembler_zero.cpp: Delete + everything. + 2008-12-24 Omair Majid * patches/icedtea-a11y-property-change.patch: New file. diff -r b97986da0d62 -r 79f28ead8d7b Makefile.am --- a/Makefile.am Mon Jan 05 11:37:36 2009 +0000 +++ b/Makefile.am Mon Jan 05 11:42:35 2009 +0000 @@ -554,12 +554,6 @@ endif ICEDTEA_FSG_PATCHES = -DISTRIBUTION_PATCHES = \ - patches/mixtec-assertions.patch \ - patches/mixtec-no-log-vm-output.patch \ - patches/mixtec-no-print-vm-options.patch \ - patches/mixtec-optimization.patch - ICEDTEA_PATCHES = \ $(ZERO_PATCHES_COND) \ patches/icedtea-version.patch \ From aph at redhat.com Mon Jan 5 03:50:37 2009 From: aph at redhat.com (Andrew Haley) Date: Mon, 05 Jan 2009 11:50:37 +0000 Subject: Oops Message-ID: <4961F40D.40301@redhat.com> I made a mistake committing a Shark patch, but backed it out as soon as I noticed. Normal service is now resumed. :-) 2009-01-05 Andrew Haley * Makefile.am (ICEDTEA_PATCHES): Fix bad checkin. Andrew. From bugzilla-daemon at icedtea.classpath.org Mon Jan 5 07:40:53 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Jan 2009 15:40:53 +0000 Subject: [Bug 274] NRC Java Web Clock doesn't function (openjdk/icedtea 6b14 and icedtea plugin) Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=274 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|omajid at redhat.com |.org | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Jan 5 07:41:11 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 05 Jan 2009 15:41:11 +0000 Subject: [Bug 275] Java applet page crashes Firefox 3.0.5 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=275 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|dbhole at redhat.com |.org | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From Coleen.Phillimore at Sun.COM Mon Jan 5 09:27:04 2009 From: Coleen.Phillimore at Sun.COM (Coleen Phillimore - Sun Microsystems) Date: Mon, 05 Jan 2009 12:27:04 -0500 Subject: how to build without precompiled headers? In-Reply-To: <49613144.90706@ubuntu.com> References: <49613144.90706@ubuntu.com> Message-ID: <496242E8.10509@sun.com> I tried this on my new 8.10 ubuntu system at home and commenting out USE_PRECOMPILED_HEADER didn't use the precompiled header. The file _precompiled.incl is still produced but it's empty. I believe you have to do a make clean before your gcc.make change is used. The version of gcc that I used was very picky about inlined functions not being defined in places where the other platforms were happy, so there were multiple warnings with this message. I have a patch file that resolves this, if you want it. Also, on my 8.10 ubuntu, gcc version 4.1.forgot, I got an error building fastdebug (server compiler) which I haven't resolved. /home/coleenp/hotspot/src/share/vm/libadt/port.hpp:40: error: 'void bcopy(const void*, void*, size_t)' redeclared inline without 'gnu_inline' attribute If you're trying to track down a compiler error building hotspot, try getting a preprocessed output file to narrow it down. cd linux*/ make .i Hope this helps. Coleen On 01/04/09 16:59, Matthias Klose wrote: > Trying to track down an ICE (internal compiler error), I need to build hotspot > without precompiled header files. There is a macro USE_PRECOMPILED_HEADER > defined in openjdk/hotspot/make/*/makefiles/gcc.make, but just removing the > conditional around this definition still builds using precompiled header files. > How can you build without precompiled header files (even if it's a hack)? > > Matthias > From gnu_andrew at member.fsf.org Mon Jan 5 09:53:58 2009 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Mon, 5 Jan 2009 17:53:58 +0000 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <4961ED17.9040906@redhat.com> References: <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> <4961E768.6090603@redhat.com> <1231154022.3499.32.camel@dijkstra.wildebeest.org> <4961ED17.9040906@redhat.com> Message-ID: <17c6771e0901050953i6337905al37bf2836a4cb2e37@mail.gmail.com> 2009/1/5 Andrew Haley : > Mark Wielaard wrote: >> Hi (added Robert to the CC), >> >> On Mon, 2009-01-05 at 10:56 +0000, Andrew Haley wrote: >>> Thinking about this a bit more, what we really need is to fix IcedTea so that >>> it cross-compiles. We already have "make icedtea-against-ecj", which uses an >>> installed ecj to build the class files. Cross-compiling hotspot itself is not >>> a huge problem either. >> >> This is what Robert did to get IcedTea cross compiled for >> ARM/OpenEmbedded: >> http://rschuster.blogs.evolvis.org/2008/12/21/serving-cross-compiled-openjdk-with-icedtea/ >> He was hoping to contribute any needed changes back. > > That looks right, but is it all of OpenJDK or just the OpenJDK class library > with Cacao? > > In any case, we need this stuff in the tree or it will rot really quickly. > > Andrew. > +1 While a great development, the version of IcedTea the blog uses is not even current. -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From mark at klomp.org Tue Jan 6 01:56:25 2009 From: mark at klomp.org (Mark Wielaard) Date: Tue, 06 Jan 2009 10:56:25 +0100 Subject: hg repos/forests backups (Was: serving forests over http) In-Reply-To: <1231097494.3380.39.camel@hermans.wildebeest.org> References: <1231097494.3380.39.camel@hermans.wildebeest.org> Message-ID: <1231235785.3426.28.camel@dijkstra.wildebeest.org> Hi, On Sun, 2009-01-04 at 20:31 +0100, Mark Wielaard wrote: > I was setting up a backup of the forests to provide some redundancy in > case the server goes down again. But I am unable to convince > hgwebdir.cgi (or actually hg serve) to provide forest support through > http. fclone locally or through ssh works fine though. > How did you configure hgwebdir to make fclone over http work? Thanks to Kelly I figured some stuff out. There is now a mirror of the IcedTea repos (icedtea, icedtea6, brandweg, fedora, icepick, pulseaudio and the testrepo), the main OpenJDK repos (jdk6 and jdk7 master forests) and a copy of the old openjdk svn and openjdk6 code drop hg mirrors at: http://classpath.wildebeest.org/hg/ This is a read-only mirror that is synced once an hour. The main issues setting this up were: - The forest repo itself has moved. There are two: http://hg.akoha.org/hgforest/ (the main repo) http://www.bitbucket.org/pmezard/hgforest-crew/ (for making forest work with the latest and greatest - but see below) - hgwebdir.config isn't a real hgrc file, only parts of it are parsed. (In particular [extensions] aren't parsed) - Some versions of hgwebdir don't pick up the default hgrc files. You might have to play with something like: import os os.environ["HGRCPATH"] = "/var/lib/hg/.hgrc:/etc/mercurial/hgrc" (where one of those hgrc files has the forest extension defined) - It seems that whatever version of forest you use, the hgweb/http support only reliably works with mercurial 0.95. I couldn't get it to work with anything newer or older (local file system fclones or fclones through ssh do work fine with newer versions though, just the http versions - also those created with hg serve - don't.) - Unfortunately 0.95 hgwebdir doesn't work nicely with nested (forest) repos. You will end up having to define every forest in full in your hgwebdir.config like: [paths] jdk6/corba = /hg/jdk6/corba jdk6/hotspot = /hg/jdk6/hotspot jdk6/jaxp = /hg/jdk6/jaxp jdk6/jaxws = /hg/jdk6/jaxws jdk6/jdk = /hg/jdk6/jdk jdk6/langtools = /hg/jdk6/langtools Which is a pity since with 1.1.2 you could just do: [paths] / = /hg/** (all assuming you have a top level /hg dir with all your repos) - Mercurial 1.1 and higher support the fncache repo format, Mercurial 0.95 won't be able to read these. So if you experimented with 1.1+ then you will have to convert your repo first: http://www.selenic.com/mercurial/wiki/index.cgi/fncacheRepoFormat - The hg --debug fclone ... option is a good way to see if the forest capabilities have been picked up, it will should show you something like: sending capabilities command capabilities: unbundle=HG10GZ,HG10BZ,HG10UN lookup forests changegroupsubset sending forests command If it doesn't work then the client will print: abort: Remote forests cannot be cloned because the other repository doesn't support the forest extension. Cheers, Mark From bugzilla-daemon at icedtea.classpath.org Tue Jan 6 13:01:11 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 06 Jan 2009 21:01:11 +0000 Subject: [Bug 276] New: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=276 Summary: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: bruce.roscherr at citi.com I am getting a SIGSEGV from the JVM when I run an app that uses a large amount of memory, calls a native library that is threaded, and the java app subsequently uses threads. I hope someone is in the position to test this bug, as it seems to need a lot of moving parts. I have had the same bug when using a library from Intel, and from another vendor, MOSEK. In both cases I was able to reproduce the bug with minor tweaks to example code supplied by each vendor, hopefully thereby removing user error. I ran both of these on RedHat (glibc-2.5 based) and Ubuntu (glibc-2.7) for different JDK 1.6 releases, always with the same result. The basic structure of the app that causes the crash is this: 1. Create a few large arrays, 4 arrays with 10 million elements each will do the trick, and fill them with random numbers, call them A, B, C, D 2. Call a function that uses JNI to call a threaded C function, doesnn't need to involve A, B, C or D 3. Spawn a couple of Java threads and manipulate the arrays you created initially, do dumb things like A=B+C, D=B+C. This should crash your 64 bit JVM. It always crashes after the call to the native library while working in the Java threads. Here is a crash log from one of these failures: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000382c80dd4d, pid=11407, tid=1084881216 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0_0-b11 mixed mode linux-amd64) # Problematic frame: # C [libpthread.so.0+0xdd4d] raise+0x2d # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # --------------- T H R E A D --------------- Current thread is native thread siginfo:si_signo=SIGSEGV: si_errno=0, si_code=-6 (FPE_FLTOVF), si_addr=0x000164a800002c8f Registers: RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0xffffffffffffffff, RDX=0x000000000000000b RSP=0x0000000040a9f068, RBP=0x0000000040a9f130, RSI=0x0000000000002ca3, RDI=0x0000000000002c8f R8 =0x0000000003347050, R9 =0x0000000000000001, R10=0x0000000000000000, R11=0x0000000000000202 R12=0x0000000000000000, R13=0x0000000000000000, R14=0x00002aabb59ab700, R15=0x0000000000000020 RIP=0x000000382c80dd4d, EFL=0x0000000000000202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000 TRAPNO=0x0000000000000000 Top of Stack: (sp=0x0000000040a9f068) 0x0000000040a9f068: 00002aabb589aa21 fffffffe7fffffff 0x0000000040a9f078: ffffffffffffffff ffffffffffffffff 0x0000000040a9f088: ffffffffffffffff ffffffffffffffff 0x0000000040a9f098: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0a8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0b8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0c8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0d8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0e8: ffffffffffffffff 0000000000000000 0x0000000040a9f0f8: 0000000040aa0000 0000000000001000 0x0000000040a9f108: 0000000000000000 000000004963b8f2 0x0000000040a9f118: 000000001ced22d8 000000004963b8f2 0x0000000040a9f128: 000000000005e117 0000000000000000 0x0000000040a9f138: 000000382c8062f7 0000000000000000 0x0000000040a9f148: 0000000040a9f940 0000000000000000 0x0000000040a9f158: 0000000000000000 0000000000000000 0x0000000040a9f168: 0000000000000000 0000000000000000 0x0000000040a9f178: 0000000000000000 0000000000000000 0x0000000040a9f188: 0000000000000000 0000000000000000 0x0000000040a9f198: 0000000000000000 0000000000000000 0x0000000040a9f1a8: 0000000000000000 0000000000000000 0x0000000040a9f1b8: 0000000000000000 0000000000000000 0x0000000040a9f1c8: 0000000000000000 0000000040a9f940 0x0000000040a9f1d8: 5a917365255b1a74 0000000000000000 0x0000000040a9f1e8: 0000000000000000 0000000040aa0000 0x0000000040a9f1f8: 0000000000001000 5a91736565f2eb34 0x0000000040a9f208: 5a91735d09db78c9 0000000000000000 0x0000000040a9f218: 0000000000000000 0000000000000000 0x0000000040a9f228: 0000000000000000 0000000000000000 0x0000000040a9f238: 0000000000000000 0000000000000000 0x0000000040a9f248: 0000000040a9f940 0000000000000000 0x0000000040a9f258: 000000382bcd1e3d 0000000000000000 Instructions: (pc=0x000000382c80dd4d) 0x000000382c80dd3d: b8 ea 00 00 00 48 63 d1 48 63 f6 48 63 ff 0f 05 0x000000382c80dd4d: 48 3d 00 f0 ff ff 89 c2 77 03 89 d0 c3 48 8b 05 Stack: [0x0000000040a8f000,0x0000000040aa0000], sp=0x0000000040a9f068, free space=64k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libpthread.so.0+0xdd4d] raise+0x2d --------------- P R O C E S S --------------- VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 305856K, used 131463K [0x00002aab5e4d0000, 0x00002aab73a20000, 0x00002aabb3a20000) eden space 262208K, 50% used [0x00002aab5e4d0000,0x00002aab66531f88,0x00002aab6e4e0000) from space 43648K, 0% used [0x00002aab70f80000,0x00002aab70f80000,0x00002aab73a20000) to space 43648K, 0% used [0x00002aab6e4e0000,0x00002aab6e4e0000,0x00002aab70f80000) PSOldGen total 699072K, used 0K [0x00002aaab3a20000, 0x00002aaade4d0000, 0x00002aab5e4d0000) object space 699072K, 0% used [0x00002aaab3a20000,0x00002aaab3a20000,0x00002aaade4d0000) PSPermGen total 21248K, used 3417K [0x00002aaaae620000, 0x00002aaaafae0000, 0x00002aaab3a20000) object space 21248K, 16% used [0x00002aaaae620000,0x00002aaaae9765e0,0x00002aaaafae0000) Dynamic libraries: 00400000-00409000 r-xp 00000000 08:02 3521722 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java 00608000-0060a000 rw-p 00008000 08:02 3521722 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java 03188000-0345b000 rw-p 03188000 00:00 0 40186000-40187000 ---p 40186000 00:00 0 40187000-40287000 rwxp 40187000 00:00 0 40287000-40288000 ---p 40287000 00:00 0 40288000-40388000 rwxp 40288000 00:00 0 40388000-40389000 ---p 40388000 00:00 0 40389000-40489000 rwxp 40389000 00:00 0 40489000-4048a000 ---p 40489000 00:00 0 4048a000-4058a000 rwxp 4048a000 00:00 0 4058a000-4058b000 ---p 4058a000 00:00 0 4058b000-4068b000 rwxp 4058b000 00:00 0 4068b000-4068c000 ---p 4068b000 00:00 0 4068c000-4078c000 rwxp 4068c000 00:00 0 4078c000-4078d000 ---p 4078c000 00:00 0 4078d000-4088d000 rwxp 4078d000 00:00 0 4088d000-4088e000 ---p 4088d000 00:00 0 4088e000-4098e000 rwxp 4088e000 00:00 0 4098e000-4098f000 ---p 4098e000 00:00 0 4098f000-40a8f000 rwxp 4098f000 00:00 0 40a8f000-40a90000 ---p 40a8f000 00:00 0 40a90000-40aa0000 rwxp 40a90000 00:00 0 40aa0000-40aa1000 ---p 40aa0000 00:00 0 40aa1000-40e99000 rwxp 40aa1000 00:00 0 40f10000-40f13000 ---p 40f10000 00:00 0 40f13000-41011000 rwxp 40f13000 00:00 0 41011000-41014000 ---p 41011000 00:00 0 41014000-41112000 rwxp 41014000 00:00 0 41112000-41115000 ---p 41112000 00:00 0 41115000-41213000 rwxp 41115000 00:00 0 41213000-41216000 ---p 41213000 00:00 0 41216000-41314000 rwxp 41216000 00:00 0 41314000-41317000 ---p 41314000 00:00 0 41317000-41415000 rwxp 41317000 00:00 0 41415000-41418000 ---p 41415000 00:00 0 41418000-41516000 rwxp 41418000 00:00 0 41516000-41519000 ---p 41516000 00:00 0 41519000-41617000 rwxp 41519000 00:00 0 41617000-41618000 ---p 41617000 00:00 0 41618000-41718000 rwxp 41618000 00:00 0 41718000-41719000 ---p 41718000 00:00 0 41719000-42119000 rwxp 41719000 00:00 0 42119000-4211c000 ---p 42119000 00:00 0 4211c000-4221a000 rwxp 4211c000 00:00 0 4221a000-4221b000 ---p 4221a000 00:00 0 4221b000-42613000 rwxp 4221b000 00:00 0 42613000-42614000 ---p 42613000 00:00 0 42614000-42a0c000 rwxp 42614000 00:00 0 42a0c000-42a0d000 ---p 42a0c000 00:00 0 42a0d000-42e06000 rwxp 42a0d000 00:00 0 42e06000-42e07000 ---p 42e06000 00:00 0 42e07000-43200000 rwxp 42e07000 00:00 0 43200000-43201000 ---p 43200000 00:00 0 43201000-435fa000 rwxp 43201000 00:00 0 435fa000-435fb000 ---p 435fa000 00:00 0 435fb000-439f4000 rwxp 435fb000 00:00 0 439f4000-439f7000 ---p 439f4000 00:00 0 439f7000-43af5000 rwxp 439f7000 00:00 0 43af5000-43af8000 ---p 43af5000 00:00 0 43af8000-43bf6000 rwxp 43af8000 00:00 0 382b800000-382b81a000 r-xp 00000000 08:02 2312950 /lib64/ld-2.5.so 382ba1a000-382ba1b000 r--p 0001a000 08:02 2312950 /lib64/ld-2.5.so 382ba1b000-382ba1c000 rw-p 0001b000 08:02 2312950 /lib64/ld-2.5.so 382bc00000-382bd4a000 r-xp 00000000 08:02 2312952 /lib64/libc-2.5.so 382bd4a000-382bf4a000 ---p 0014a000 08:02 2312952 /lib64/libc-2.5.so 382bf4a000-382bf4e000 r--p 0014a000 08:02 2312952 /lib64/libc-2.5.so 382bf4e000-382bf4f000 rw-p 0014e000 08:02 2312952 /lib64/libc-2.5.so 382bf4f000-382bf54000 rw-p 382bf4f000 00:00 0 382c000000-382c002000 r-xp 00000000 08:02 1661404 /lib64/libdl-2.5.so 382c002000-382c202000 ---p 00002000 08:02 1661404 /lib64/libdl-2.5.so 382c202000-382c203000 r--p 00002000 08:02 1661404 /lib64/libdl-2.5.so 382c203000-382c204000 rw-p 00003000 08:02 1661404 /lib64/libdl-2.5.so 382c400000-382c404000 r-xp 00000000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c404000-382c603000 ---p 00004000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c603000-382c604000 rw-p 00003000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c800000-382c815000 r-xp 00000000 08:02 1661429 /lib64/libpthread-2.5.so 382c815000-382ca14000 ---p 00015000 08:02 1661429 /lib64/libpthread-2.5.so 382ca14000-382ca15000 r--p 00014000 08:02 1661429 /lib64/libpthread-2.5.so 382ca15000-382ca16000 rw-p 00015000 08:02 1661429 /lib64/libpthread-2.5.so 382ca16000-382ca1a000 rw-p 382ca16000 00:00 0 382cc00000-382cc14000 r-xp 00000000 08:02 1883612 /usr/lib64/libz.so.1.2.3 382cc14000-382ce13000 ---p 00014000 08:02 1883612 /usr/lib64/libz.so.1.2.3 382ce13000-382ce14000 rw-p 00013000 08:02 1883612 /usr/lib64/libz.so.1.2.3 3830400000-3830407000 r-xp 00000000 08:02 2312958 /lib64/librt-2.5.so 3830407000-3830607000 ---p 00007000 08:02 2312958 /lib64/librt-2.5.so 3830607000-3830608000 r--p 00007000 08:02 2312958 /lib64/librt-2.5.so 3830608000-3830609000 rw-p 00008000 08:02 2312958 /lib64/librt-2.5.so 3831c00000-3831c0d000 r-xp 00000000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3831c0d000-3831e0d000 ---p 0000d000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3831e0d000-3831e0e000 rw-p 0000d000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3835e00000-3835e15000 r-xp 00000000 08:02 2313092 /lib64/libnsl-2.5.so 3835e15000-3836014000 ---p 00015000 08:02 2313092 /lib64/libnsl-2.5.so 3836014000-3836015000 r--p 00014000 08:02 2313092 /lib64/libnsl-2.5.so 3836015000-3836016000 rw-p 00015000 08:02 2313092 /lib64/libnsl-2.5.so 3836016000-3836018000 rw-p 3836016000 00:00 0 2aaaaaaab000-2aaaaaad3000 rw-p 2aaaaaaab000 00:00 0 2aaaaaad5000-2aaaaaad6000 r--p 2aaaaaad5000 00:00 0 2aaaaaad6000-2aaaaaad7000 rwxp 2aaaaaad6000 00:00 0 2aaaaaad7000-2aaaaaadf000 r-xp 00000000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaaadf000-2aaaaacde000 ---p 00008000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacde000-2aaaaacdf000 rw-p 00007000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacdf000-2aaaaace0000 rw-p 2aaaaacdf000 00:00 0 2aaaaace0000-2aaaaace8000 rw-s 00000000 00:14 22856 /tmp/hsperfdata_brucer/11407 2aaaaad07000-2aaaaad11000 r-xp 00000000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaad11000-2aaaaaf10000 ---p 0000a000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf10000-2aaaaaf11000 r--p 00009000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf11000-2aaaaaf12000 rw-p 0000a000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf12000-2aaaaaf20000 r-xp 00000000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaaaf20000-2aaaab11f000 ---p 0000e000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab11f000-2aaaab121000 rw-p 0000d000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab121000-2aaaab14c000 r-xp 00000000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab14c000-2aaaab34c000 ---p 0002b000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab34c000-2aaaab350000 rw-p 0002b000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab350000-2aaaab357000 r-xp 00000000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab357000-2aaaab556000 ---p 00007000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab556000-2aaaab557000 rw-p 00006000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab557000-2aaaab7c7000 rwxp 2aaaab557000 00:00 0 2aaaab7c7000-2aaaae557000 rwxp 2aaaab7c7000 00:00 0 2aaaae557000-2aaaae561000 rwxp 2aaaae557000 00:00 0 2aaaae561000-2aaaae617000 rwxp 2aaaae561000 00:00 0 2aaaae620000-2aaaafae0000 rwxp 2aaaae620000 00:00 0 2aaaafae0000-2aaab3a20000 rwxp 2aaaafae0000 00:00 0 2aaab3a20000-2aaade4d0000 rwxp 2aaab3a20000 00:00 0 2aaade4d0000-2aab5e4d0000 rwxp 2aaade4d0000 00:00 0 2aab5e4d0000-2aab73a20000 rwxp 2aab5e4d0000 00:00 0 2aab73a20000-2aabb3a20000 rwxp 2aab73a20000 00:00 0 2aabb3a20000-2aabb3a2b000 rwxp 2aabb3a20000 00:00 0 2aabb3a2b000-2aabb3a4a000 rwxp 2aabb3a2b000 00:00 0 2aabb3a4a000-2aabb3ba0000 rwxp 2aabb3a4a000 00:00 0 2aabb3ba0000-2aabb3f9f000 rwxp 2aabb3ba0000 00:00 0 2aabb3f9f000-2aabb404a000 rwxp 2aabb3f9f000 00:00 0 2aabb404a000-2aabb424a000 rwxp 2aabb404a000 00:00 0 2aabb424a000-2aabb43a1000 rwxp 2aabb424a000 00:00 0 2aabb43a1000-2aabb47a1000 rwxp 2aabb43a1000 00:00 0 2aabb47a1000-2aabb47ac000 rwxp 2aabb47a1000 00:00 0 2aabb47ac000-2aabb47cb000 rwxp 2aabb47ac000 00:00 0 2aabb47cb000-2aabb4969000 r--s 01803000 08:02 3521228 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar 2aabb4969000-2aabb4ac7000 rw-p 2aabb4969000 00:00 0 2aabb4ac7000-2aabb4ad0000 r--s 00060000 08:02 3521184 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/gnome-java-bridge.jar 2aabb4ad0000-2aabb4ad2000 r--s 0000b000 08:05 68059640 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/mosek.jar 2aabb4ad2000-2aabb4ad5000 r--s 00039000 08:02 3521213 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar 2aabb4ad5000-2aabb4b25000 r-xp 00000000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4b25000-2aabb4c25000 ---p 00050000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4c25000-2aabb4c26000 rw-p 00050000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4c26000-2aabb528c000 r-xp 00000000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb528c000-2aabb538b000 ---p 00666000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb538b000-2aabb53bd000 rw-p 00665000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb53bd000-2aabb53c0000 rw-p 2aabb53bd000 00:00 0 2aabb53c0000-2aabb53fe000 r-xp 00000000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb53fe000-2aabb54fd000 ---p 0003e000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb54fd000-2aabb54ff000 rw-p 0003d000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb54ff000-2aabb5500000 rw-p 2aabb54ff000 00:00 0 2aabb5500000-2aabb5765000 r-xp 00000000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5765000-2aabb5864000 ---p 00265000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5864000-2aabb5869000 rw-p 00264000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5869000-2aabb58a9000 r-xp 00000000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb58a9000-2aabb59a8000 ---p 00040000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb59a8000-2aabb59ab000 rw-p 0003f000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb59ab000-2aabb59b1000 rw-p 2aabb59ab000 00:00 0 2aabb59b1000-2aabb59d1000 r-xp 00000000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb59d1000-2aabb5ad0000 ---p 00020000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb5ad0000-2aabb5af4000 rw-p 0001f000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb8000000-2aabb8021000 rw-p 2aabb8000000 00:00 0 2aabb8021000-2aabbc000000 ---p 2aabb8021000 00:00 0 2ba5d7d82000-2ba5d7d84000 rw-p 2ba5d7d82000 00:00 0 2ba5d7dab000-2ba5d7dae000 rw-p 2ba5d7dab000 00:00 0 2ba5d7dae000-2ba5d84ea000 r-xp 00000000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d84ea000-2ba5d86ea000 ---p 0073c000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d86ea000-2ba5d8762000 rw-p 0073c000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d8762000-2ba5d879b000 rw-p 2ba5d8762000 00:00 0 2ba5d87c2000-2ba5d8844000 r-xp 00000000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8844000-2ba5d8a43000 ---p 00082000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8a43000-2ba5d8a44000 r--p 00081000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8a44000-2ba5d8a45000 rw-p 00082000 08:02 1661430 /lib64/libm-2.5.so 7fffd2d12000-7fffd2d25000 rwxp 7fffd2d12000 00:00 0 [stack] 7fffd2d25000-7fffd2d28000 rw-p 7fffd2d25000 00:00 0 ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] VM Arguments: jvm_args: -Xms1024m -Xmx4096m java_command: qcqo1.qcqo1 Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64 PATH=/data2/r-project/bin:/home/brucer/bin:/work/loc0/prod/bbin:/work/loc2/prod/bbin:/work/loc2/prod/pbin:/work/loc2/prod/pybin:/work/loc2/prod/bin:/work/loc1/prod/bin:/data1/bruce/gcc/bin:/data2/r-project/bin:/home/brucer/bin:/work/loc0/prod/bbin:/work/loc2/prod/bbin:/work/loc2/prod/pbin:/work/loc2/prod/pybin:/work/loc2/prod/bin:/work/loc1/prod/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/brucer/bin:/work/loc2/prod/bin/hcsv:/work/loc0/prod/mod/utils:/home/brucer/bin:/home/brucer/bin:/work/loc2/prod/bin/hcsv:/work/loc0/prod/mod/utils USERNAME=brucer LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/data1/bruce/java/mosek/5/tools/platform/linux64x86/bin:/data1/bruce/lib:/data2/r-project/lib64/R/lib:/data2/r-project/bin:/work/loc1/lib64:/work/opt/lib/wombat408:/usr/lib/oracle/10.2.0.4/client64/lib SHELL=/bin/bash DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x618cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x618cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4e0340], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:Red Hat Enterprise Linux Server release 5.2 (Tikanga) uname:Linux 2.6.18-92.1.22.el5 #1 SMP Fri Dec 5 09:28:22 EST 2008 x86_64 libc:glibc 2.5 NPTL 2.5 rlimit: STACK 10240k, CORE infinity, NPROC 135168, NOFILE 1024, AS infinity load average:0.39 0.48 0.36 CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 16312852k(6475052k free), swap 8546540k(1728304k free) vm_info: OpenJDK 64-Bit Server VM (1.6.0_0-b11) for linux-amd64 JRE (1.6.0_0-b11), built on Jul 25 2008 06:43:15 by "mockbuild" with gcc 4.1.2 20071124 (Red Hat 4.1.2-42) time: Tue Jan 6 15:02:58 2009 elapsed time: 4 seconds -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From omajid at redhat.com Tue Jan 6 14:31:42 2009 From: omajid at redhat.com (Omair Majid) Date: Tue, 06 Jan 2009 22:31:42 +0000 Subject: changeset in /hg/icedtea6: 2009-01-06 Omair Majid changeset fc5078fb4df1 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=fc5078fb4df1 description: 2009-01-06 Omair Majid * patches/icedtea-demo-swingapplet.patch: New file. * Makefile.am (ICEDTEA_PATCHES): Apply the above. * HACKING: Document the above. diffstat: 4 files changed, 20 insertions(+), 1 deletion(-) ChangeLog | 6 ++++++ HACKING | 1 + Makefile.am | 3 ++- patches/icedtea-demo-swingapplet.patch | 11 +++++++++++ diffs (52 lines): diff -r 79f28ead8d7b -r fc5078fb4df1 ChangeLog --- a/ChangeLog Mon Jan 05 11:42:35 2009 +0000 +++ b/ChangeLog Tue Jan 06 17:30:41 2009 -0500 @@ -1,3 +1,9 @@ 2009-01-05 Andrew Haley + + * patches/icedtea-demo-swingapplet.patch: New file. + * Makefile.am (ICEDTEA_PATCHES): Apply the above. + * HACKING: Document the above. + 2009-01-05 Andrew Haley * Makefile.am (ICEDTEA_PATCHES): Fix bad checkin. diff -r 79f28ead8d7b -r fc5078fb4df1 HACKING --- a/HACKING Mon Jan 05 11:42:35 2009 +0000 +++ b/HACKING Tue Jan 06 17:30:41 2009 -0500 @@ -79,6 +79,7 @@ The following patches are currently appl * icedtea-io_util-overflow.patch: Replace some code to correctly handle overflows. (S6788196) * icedtea-cc-interp-jvmti.patch: Disable some JVMTI capabilities which are unsupported or do not work with the C++ interpreter. * icedtea-a11y-property-change.patch: Dont fire PropertyChangeEvent if the property hasnt changed. +* icedtea-demo-swingapplet.patch: Add missing html file needed to run the demo. The following patches are only applied to OpenJDK6 in IcedTea6: diff -r 79f28ead8d7b -r fc5078fb4df1 Makefile.am --- a/Makefile.am Mon Jan 05 11:42:35 2009 +0000 +++ b/Makefile.am Tue Jan 06 17:30:41 2009 -0500 @@ -688,7 +688,8 @@ endif ICEDTEA_PATCHES += \ $(DISTRIBUTION_PATCHES) \ - patches/icedtea-a11y-property-change.patch + patches/icedtea-a11y-property-change.patch \ + patches/icedtea-demo-swingapplet.patch stamps/extract.stamp: stamps/download.stamp if OPENJDK_SRC_DIR_FOUND diff -r 79f28ead8d7b -r fc5078fb4df1 patches/icedtea-demo-swingapplet.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-demo-swingapplet.patch Tue Jan 06 17:30:41 2009 -0500 @@ -0,0 +1,11 @@ +--- openjdk/jdk/make/mkdemo/jfc/SwingApplet/Makefile.orig 2009-01-06 17:07:25.000000000 -0500 ++++ openjdk/jdk/make/mkdemo/jfc/SwingApplet/Makefile 2009-01-06 16:47:28.000000000 -0500 +@@ -33,7 +33,7 @@ + include $(BUILDDIR)/common/Defs.gmk + + DEMO_ROOT = $(SHARE_SRC)/demo/jfc/$(DEMONAME) +-DEMO_TOPFILES = ./README.txt ++DEMO_TOPFILES = ./README.txt ./SwingApplet.html + DEMO_MAINCLASS = $(DEMONAME) + DEMO_DESTDIR = $(DEMODIR)/jfc/$(DEMONAME) + From doko at ubuntu.com Tue Jan 6 15:13:37 2009 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 07 Jan 2009 00:13:37 +0100 Subject: how to build without precompiled headers? In-Reply-To: <496242E8.10509@sun.com> References: <49613144.90706@ubuntu.com> <496242E8.10509@sun.com> Message-ID: <4963E5A1.3060605@ubuntu.com> Thanks, please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38593 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38725 looks like current GCC versions accept invalid code: "That's really a duplicate of PR38725: The code contains many lines of the form goto *dispatch_table[opcode]; where dispatch_table[opcode] is of the type uintptr_t which is a typedef to unsigned int. Writing goto *(void*)dispatch_table[opcode]; instead makes the ICE disappear." Coleen Phillimore - Sun Microsystems schrieb: > > I tried this on my new 8.10 ubuntu system at home and commenting out > USE_PRECOMPILED_HEADER didn't use the precompiled header. The file > _precompiled.incl is still produced but it's empty. I believe you have > to do a make clean before your gcc.make change is used. > > The version of gcc that I used was very picky about inlined functions > not being defined in places where the other platforms were happy, so > there were multiple warnings with this message. I have a patch file that > resolves this, if you want it. > Also, on my 8.10 ubuntu, gcc version 4.1.forgot, I got an error building > fastdebug (server compiler) which I haven't resolved. > > /home/coleenp/hotspot/src/share/vm/libadt/port.hpp:40: error: 'void > bcopy(const void*, void*, size_t)' redeclared inline without > 'gnu_inline' attribute > > If you're trying to track down a compiler error building hotspot, try > getting a preprocessed output file to narrow it down. > cd linux*/ > make .i > > Hope this helps. > Coleen > > On 01/04/09 16:59, Matthias Klose wrote: >> Trying to track down an ICE (internal compiler error), I need to build >> hotspot >> without precompiled header files. There is a macro >> USE_PRECOMPILED_HEADER >> defined in openjdk/hotspot/make/*/makefiles/gcc.make, but just >> removing the >> conditional around this definition still builds using precompiled >> header files. >> How can you build without precompiled header files (even if it's a hack)? >> >> Matthias >> From bugzilla-daemon at icedtea.classpath.org Tue Jan 6 16:28:43 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 00:28:43 +0000 Subject: [Bug 277] New: zero build with GCC-4.4 ftbfs Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=277 Summary: zero build with GCC-4.4 ftbfs Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: doko at ubuntu.com seen when building without precompiled headers g++-4.4 -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DPARISC -DZERO_LIBARCH=\"parisc\" -DPRODUCT -I../generated/adfiles -I../generated/jvmtifiles -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/asm -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/c1 -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/ci -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/classfile -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/code -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/compiler -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_implementation -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_implementation/g1 -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parNew -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_implementation/shared -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/gc_interface -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/interpreter -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/memory -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/oops -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/prims -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/runtime -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/services -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/shark -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/utilities -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/cpu/zero/vm -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/os/linux/vm -I/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/os_cpu/linux_zero/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"14.0-b08\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"doko\"" -DHOTSPOT_LIB_ARCH=\"parisc\" -DJRE_RELEASE_VERSION="\"1.6.0_0-b14\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -g -pipe -O3 -fno-strict-aliasing -Wpointer-arith -Wsign-compare -c -o debugInfoRec.o /home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/code/debugInfoRec.cpp /home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp: In static member function 'static void CppInterpreter::native_entry(methodOopDesc*, intptr_t, Thread*)': /home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:293: error: 'ThreadStateTransition' has not been declared /home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:300: error: 'ThreadStateTransition' has not been declared make[7]: *** [cppInterpreter_zero.o] Error 1 make[7]: *** Waiting for unfinished jobs.... /home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/utilities/bitMap.hpp:155: warning: inline function 'void BitMap::set_bit(size_t)' used but never defined /home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/hotspot/src/share/vm/utilities/bitMap.hpp:155: warning: inline function 'void BitMap::set_bit(size_t)' used but never defined make[7]: Leaving directory `/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/control/build/linux-parisc/hotspot/outputdir/linux_zero_core/product' make[6]: *** [the_vm] Error 2 make[6]: Leaving directory `/home/packages/openjdk/openjdk-6-6b14/openjdk-ecj/control/build/linux-parisc/hotspot/outputdir/linux_zero_core/product' make[5]: *** [productcore] Error 2 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From mvfranz at gmail.com Tue Jan 6 20:29:12 2009 From: mvfranz at gmail.com (Michael Franz) Date: Tue, 6 Jan 2009 23:29:12 -0500 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: <1231062689.28600.2.camel@localhost.localdomain> References: <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> <1231062689.28600.2.camel@localhost.localdomain> Message-ID: Christian, I am having a hard time getting classpath installed (I believe cacaovm requires it). I tried to configure classpath: ./configure --disable-jni but get the following error: make[2]: *** No rule to make target `../../native/jni/gtk-peer/libgtkpeer.la', needed by `libjawt.la'. Stop. I get the same error if I do not disable jni. I am using version 0.97.2. Michael On Sun, Jan 4, 2009 at 4:51 AM, Christian Thalinger < christian.thalinger at gmail.com> wrote: > On Sat, 2009-01-03 at 22:04 +0000, Andrew Haley wrote: > > Michael Franz wrote: > > > > > On Sat, Jan 3, 2009 at 4:05 PM, Andrew Haley wrote: > > > > > >> Andrew Haley wrote: > > >>> Michael Franz wrote: > > >>>> I have created the following patches that integrate shark build into > the > > >>>> bsd-port repo. I have not been able to get it to compile, but > wanted > > >> these > > >>>> out there in case they are wrong and causing my problem. > > >>>> > > >>>> I am currently stuck on this error: > > >>> Shark on x86 isn't really ready yet. I've been debugging it and it's > > >>> starting to look OK, but it's not stable. > > >> Actually, I've been working on x86_64. AFAIAA *nobody* has worked on > > >> x86. To be honest, I don't really know why you'd want to: the x86 > > >> Hotspot JIT is very good. > > > > > I am not necessarily interested in the using zero/shark on intel (32 or > > > 64). I am interested int getting zero/shark integrated into the bsd > port > > > for other architectures to use. Since the bsd-port can only be built > on > > > intel (32/64) I figured it would be easier to integrate with a working > build > > > than trying to do it on ppc which cannot build icedtea (no valid > bootstrap > > > jdk). > > > > You might be OK with zero on x86 BSD, but almost certainly not with > shark. > > I presume the problem with ppc on BSD is that gcj doesn't work there > either. > > Michael, you can use CACAO or JamVM to bootstrap IcedTea. For some > instructions see: > > http://c1.complang.tuwien.ac.at/cacaowiki/IcedTea > > - Christian > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090106/07ea934e/attachment.html From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 02:13:49 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 10:13:49 +0000 Subject: [Bug 276] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=276 ------- Comment #1 from aph at redhat.com 2009-01-07 10:13 ------- We really are going to need a reproducer for this. If it's as easy as you say, you should be able to provide us with some sample code. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From doko at ubuntu.com Wed Jan 7 03:03:45 2009 From: doko at ubuntu.com (doko at ubuntu.com) Date: Wed, 07 Jan 2009 11:03:45 +0000 Subject: changeset in /hg/icedtea6: 2009-01-07 Matthias Klose changeset f8d68d85e72e in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=f8d68d85e72e description: 2009-01-07 Matthias Klose * patches/hotspot/14.0b08/icedtea-hotspot-dispatch.patch: New, fix build failure with GCC-4.4. * Makefile.am: Apply. * HACKING: Document the above. diffstat: 4 files changed, 21 insertions(+), 1 deletion(-) ChangeLog | 7 +++++++ HACKING | 1 + Makefile.am | 3 ++- patches/hotspot/14.0b08/icedtea-hotspot-dispatch.patch | 11 +++++++++++ diffs (53 lines): diff -r fc5078fb4df1 -r f8d68d85e72e ChangeLog --- a/ChangeLog Tue Jan 06 17:30:41 2009 -0500 +++ b/ChangeLog Wed Jan 07 12:02:05 2009 +0100 @@ -1,3 +1,10 @@ 2009-01-06 Omair Majid + + * patches/hotspot/14.0b08/icedtea-hotspot-dispatch.patch: New, fix + build failure with GCC-4.4. + * Makefile.am: Apply. + * HACKING: Document the above. + 2009-01-06 Omair Majid * patches/icedtea-demo-swingapplet.patch: New file. diff -r fc5078fb4df1 -r f8d68d85e72e HACKING --- a/HACKING Tue Jan 06 17:30:41 2009 -0500 +++ b/HACKING Wed Jan 07 12:02:05 2009 +0100 @@ -80,6 +80,7 @@ The following patches are currently appl * icedtea-cc-interp-jvmti.patch: Disable some JVMTI capabilities which are unsupported or do not work with the C++ interpreter. * icedtea-a11y-property-change.patch: Dont fire PropertyChangeEvent if the property hasnt changed. * icedtea-demo-swingapplet.patch: Add missing html file needed to run the demo. +* icedtea-hotspot-dispatch.patch: Fix build failure with GCC-4.4 (PR 38725). The following patches are only applied to OpenJDK6 in IcedTea6: diff -r fc5078fb4df1 -r f8d68d85e72e Makefile.am --- a/Makefile.am Tue Jan 06 17:30:41 2009 -0500 +++ b/Makefile.am Wed Jan 07 12:02:05 2009 +0100 @@ -649,7 +649,8 @@ ICEDTEA_PATCHES += \ ICEDTEA_PATCHES += \ patches/icedtea-format-warnings.patch \ patches/icedtea-fortify-source.patch \ - patches/hotspot/$(HSBUILD)/icedtea-sparc-buildfixes.patch + patches/hotspot/$(HSBUILD)/icedtea-sparc-buildfixes.patch \ + patches/hotspot/$(HSBUILD)/icedtea-hotspot-dispatch.patch endif if !WITH_ALT_HSBUILD diff -r fc5078fb4df1 -r f8d68d85e72e patches/hotspot/14.0b08/icedtea-hotspot-dispatch.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/hotspot/14.0b08/icedtea-hotspot-dispatch.patch Wed Jan 07 12:02:05 2009 +0100 @@ -0,0 +1,11 @@ +--- openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp.old 2009-01-06 16:16:57.000000000 -0700 ++++ openjdk/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp 2009-01-06 16:17:53.000000000 -0700 +@@ -163,7 +163,7 @@ + #ifdef USELABELS + // Have to do this dispatch this way in C++ because otherwise gcc complains about crossing an + // initialization (which is is the initialization of the table pointer...) +-#define DISPATCH(opcode) goto *dispatch_table[opcode] ++#define DISPATCH(opcode) goto *(void *)dispatch_table[opcode] + #define CONTINUE { \ + opcode = *pc; \ + DO_UPDATE_INSTRUCTION_COUNT(opcode); \ From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 03:06:38 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 11:06:38 +0000 Subject: [Bug 277] zero build with ftbfs when building without precompiled headers Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=277 doko at ubuntu.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|zero build with GCC-4.4 |zero build with ftbfs when |ftbfs |building without precompiled | |headers ------- Comment #1 from doko at ubuntu.com 2009-01-07 11:06 ------- doesn't seem to be special with 4.4, building without the precompiled headers shows this problem. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 03:21:57 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 11:21:57 +0000 Subject: [Bug 277] zero fails to build from source when building without precompiled headers Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=277 aph at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|zero build with ftbfs when |zero fails to build from |building without precompiled|source when building without |headers |precompiled headers -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From christian.thalinger at gmail.com Wed Jan 7 05:35:30 2009 From: christian.thalinger at gmail.com (Christian Thalinger) Date: Wed, 07 Jan 2009 14:35:30 +0100 Subject: Building IcedTea7 Using BSD option On OS X In-Reply-To: References: <17c6771e0901021054t91d0efbg325fc5fca068ef3d@mail.gmail.com> <495FC5A4.8080600@redhat.com> <495FD307.3030606@redhat.com> <495FE0E0.60703@redhat.com> <1231062689.28600.2.camel@localhost.localdomain> Message-ID: <1231335330.16494.11.camel@localhost.localdomain> On Tue, 2009-01-06 at 23:29 -0500, Michael Franz wrote: > Christian, > > I am having a hard time getting classpath installed (I believe cacaovm > requires it). I tried to configure classpath: > ./configure --disable-jni > > but get the following error: > make[2]: *** No rule to make target > `../../native/jni/gtk-peer/libgtkpeer.la', needed by `libjawt.la'. > Stop. > > I get the same error if I do not disable jni. > > I am using version 0.97.2. Hmm, maybe --disable-jni is broken. Anyway, it's better if you just disable what does not build: --disable-gtk-peer --disable-plugin Maybe you need to disable more stuff, but for now try these two. - Christian From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:05:56 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:05:56 +0000 Subject: [Bug 278] New: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=278 Summary: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: bruce.roscherr at citi.com I am getting a SIGSEGV from the JVM when I run an app that uses a large amount of memory, calls a native library that is threaded, and the java app subsequently uses threads. I hope someone is in the position to test this bug, as it seems to need a lot of moving parts. I have had the same bug when using a library from Intel, and from another vendor, MOSEK. In both cases I was able to reproduce the bug with minor tweaks to example code supplied by each vendor, hopefully thereby removing user error. I ran both of these on RedHat (glibc-2.5 based) and Ubuntu (glibc-2.7) for different JDK 1.6 releases, always with the same result. The basic structure of the app that causes the crash is this: 1. Create a few large arrays, 4 arrays with 10 million elements each will do the trick, and fill them with random numbers, call them A, B, C, D 2. Call a function that uses JNI to call a threaded C function, doesnn't need to involve A, B, C or D 3. Spawn a couple of Java threads and manipulate the arrays you created initially, do dumb things like A=B+C, D=B+C. This should crash your 64 bit JVM. It always crashes after the call to the native library while working in the Java threads. Here is a crash log from one of these failures: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000382c80dd4d, pid=11407, tid=1084881216 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0_0-b11 mixed mode linux-amd64) # Problematic frame: # C [libpthread.so.0+0xdd4d] raise+0x2d # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # --------------- T H R E A D --------------- Current thread is native thread siginfo:si_signo=SIGSEGV: si_errno=0, si_code=-6 (FPE_FLTOVF), si_addr=0x000164a800002c8f Registers: RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0xffffffffffffffff, RDX=0x000000000000000b RSP=0x0000000040a9f068, RBP=0x0000000040a9f130, RSI=0x0000000000002ca3, RDI=0x0000000000002c8f R8 =0x0000000003347050, R9 =0x0000000000000001, R10=0x0000000000000000, R11=0x0000000000000202 R12=0x0000000000000000, R13=0x0000000000000000, R14=0x00002aabb59ab700, R15=0x0000000000000020 RIP=0x000000382c80dd4d, EFL=0x0000000000000202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000 TRAPNO=0x0000000000000000 Top of Stack: (sp=0x0000000040a9f068) 0x0000000040a9f068: 00002aabb589aa21 fffffffe7fffffff 0x0000000040a9f078: ffffffffffffffff ffffffffffffffff 0x0000000040a9f088: ffffffffffffffff ffffffffffffffff 0x0000000040a9f098: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0a8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0b8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0c8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0d8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0e8: ffffffffffffffff 0000000000000000 0x0000000040a9f0f8: 0000000040aa0000 0000000000001000 0x0000000040a9f108: 0000000000000000 000000004963b8f2 0x0000000040a9f118: 000000001ced22d8 000000004963b8f2 0x0000000040a9f128: 000000000005e117 0000000000000000 0x0000000040a9f138: 000000382c8062f7 0000000000000000 0x0000000040a9f148: 0000000040a9f940 0000000000000000 0x0000000040a9f158: 0000000000000000 0000000000000000 0x0000000040a9f168: 0000000000000000 0000000000000000 0x0000000040a9f178: 0000000000000000 0000000000000000 0x0000000040a9f188: 0000000000000000 0000000000000000 0x0000000040a9f198: 0000000000000000 0000000000000000 0x0000000040a9f1a8: 0000000000000000 0000000000000000 0x0000000040a9f1b8: 0000000000000000 0000000000000000 0x0000000040a9f1c8: 0000000000000000 0000000040a9f940 0x0000000040a9f1d8: 5a917365255b1a74 0000000000000000 0x0000000040a9f1e8: 0000000000000000 0000000040aa0000 0x0000000040a9f1f8: 0000000000001000 5a91736565f2eb34 0x0000000040a9f208: 5a91735d09db78c9 0000000000000000 0x0000000040a9f218: 0000000000000000 0000000000000000 0x0000000040a9f228: 0000000000000000 0000000000000000 0x0000000040a9f238: 0000000000000000 0000000000000000 0x0000000040a9f248: 0000000040a9f940 0000000000000000 0x0000000040a9f258: 000000382bcd1e3d 0000000000000000 Instructions: (pc=0x000000382c80dd4d) 0x000000382c80dd3d: b8 ea 00 00 00 48 63 d1 48 63 f6 48 63 ff 0f 05 0x000000382c80dd4d: 48 3d 00 f0 ff ff 89 c2 77 03 89 d0 c3 48 8b 05 Stack: [0x0000000040a8f000,0x0000000040aa0000], sp=0x0000000040a9f068, free space=64k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libpthread.so.0+0xdd4d] raise+0x2d --------------- P R O C E S S --------------- VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 305856K, used 131463K [0x00002aab5e4d0000, 0x00002aab73a20000, 0x00002aabb3a20000) eden space 262208K, 50% used [0x00002aab5e4d0000,0x00002aab66531f88,0x00002aab6e4e0000) from space 43648K, 0% used [0x00002aab70f80000,0x00002aab70f80000,0x00002aab73a20000) to space 43648K, 0% used [0x00002aab6e4e0000,0x00002aab6e4e0000,0x00002aab70f80000) PSOldGen total 699072K, used 0K [0x00002aaab3a20000, 0x00002aaade4d0000, 0x00002aab5e4d0000) object space 699072K, 0% used [0x00002aaab3a20000,0x00002aaab3a20000,0x00002aaade4d0000) PSPermGen total 21248K, used 3417K [0x00002aaaae620000, 0x00002aaaafae0000, 0x00002aaab3a20000) object space 21248K, 16% used [0x00002aaaae620000,0x00002aaaae9765e0,0x00002aaaafae0000) Dynamic libraries: 00400000-00409000 r-xp 00000000 08:02 3521722 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java 00608000-0060a000 rw-p 00008000 08:02 3521722 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java 03188000-0345b000 rw-p 03188000 00:00 0 40186000-40187000 ---p 40186000 00:00 0 40187000-40287000 rwxp 40187000 00:00 0 40287000-40288000 ---p 40287000 00:00 0 40288000-40388000 rwxp 40288000 00:00 0 40388000-40389000 ---p 40388000 00:00 0 40389000-40489000 rwxp 40389000 00:00 0 40489000-4048a000 ---p 40489000 00:00 0 4048a000-4058a000 rwxp 4048a000 00:00 0 4058a000-4058b000 ---p 4058a000 00:00 0 4058b000-4068b000 rwxp 4058b000 00:00 0 4068b000-4068c000 ---p 4068b000 00:00 0 4068c000-4078c000 rwxp 4068c000 00:00 0 4078c000-4078d000 ---p 4078c000 00:00 0 4078d000-4088d000 rwxp 4078d000 00:00 0 4088d000-4088e000 ---p 4088d000 00:00 0 4088e000-4098e000 rwxp 4088e000 00:00 0 4098e000-4098f000 ---p 4098e000 00:00 0 4098f000-40a8f000 rwxp 4098f000 00:00 0 40a8f000-40a90000 ---p 40a8f000 00:00 0 40a90000-40aa0000 rwxp 40a90000 00:00 0 40aa0000-40aa1000 ---p 40aa0000 00:00 0 40aa1000-40e99000 rwxp 40aa1000 00:00 0 40f10000-40f13000 ---p 40f10000 00:00 0 40f13000-41011000 rwxp 40f13000 00:00 0 41011000-41014000 ---p 41011000 00:00 0 41014000-41112000 rwxp 41014000 00:00 0 41112000-41115000 ---p 41112000 00:00 0 41115000-41213000 rwxp 41115000 00:00 0 41213000-41216000 ---p 41213000 00:00 0 41216000-41314000 rwxp 41216000 00:00 0 41314000-41317000 ---p 41314000 00:00 0 41317000-41415000 rwxp 41317000 00:00 0 41415000-41418000 ---p 41415000 00:00 0 41418000-41516000 rwxp 41418000 00:00 0 41516000-41519000 ---p 41516000 00:00 0 41519000-41617000 rwxp 41519000 00:00 0 41617000-41618000 ---p 41617000 00:00 0 41618000-41718000 rwxp 41618000 00:00 0 41718000-41719000 ---p 41718000 00:00 0 41719000-42119000 rwxp 41719000 00:00 0 42119000-4211c000 ---p 42119000 00:00 0 4211c000-4221a000 rwxp 4211c000 00:00 0 4221a000-4221b000 ---p 4221a000 00:00 0 4221b000-42613000 rwxp 4221b000 00:00 0 42613000-42614000 ---p 42613000 00:00 0 42614000-42a0c000 rwxp 42614000 00:00 0 42a0c000-42a0d000 ---p 42a0c000 00:00 0 42a0d000-42e06000 rwxp 42a0d000 00:00 0 42e06000-42e07000 ---p 42e06000 00:00 0 42e07000-43200000 rwxp 42e07000 00:00 0 43200000-43201000 ---p 43200000 00:00 0 43201000-435fa000 rwxp 43201000 00:00 0 435fa000-435fb000 ---p 435fa000 00:00 0 435fb000-439f4000 rwxp 435fb000 00:00 0 439f4000-439f7000 ---p 439f4000 00:00 0 439f7000-43af5000 rwxp 439f7000 00:00 0 43af5000-43af8000 ---p 43af5000 00:00 0 43af8000-43bf6000 rwxp 43af8000 00:00 0 382b800000-382b81a000 r-xp 00000000 08:02 2312950 /lib64/ld-2.5.so 382ba1a000-382ba1b000 r--p 0001a000 08:02 2312950 /lib64/ld-2.5.so 382ba1b000-382ba1c000 rw-p 0001b000 08:02 2312950 /lib64/ld-2.5.so 382bc00000-382bd4a000 r-xp 00000000 08:02 2312952 /lib64/libc-2.5.so 382bd4a000-382bf4a000 ---p 0014a000 08:02 2312952 /lib64/libc-2.5.so 382bf4a000-382bf4e000 r--p 0014a000 08:02 2312952 /lib64/libc-2.5.so 382bf4e000-382bf4f000 rw-p 0014e000 08:02 2312952 /lib64/libc-2.5.so 382bf4f000-382bf54000 rw-p 382bf4f000 00:00 0 382c000000-382c002000 r-xp 00000000 08:02 1661404 /lib64/libdl-2.5.so 382c002000-382c202000 ---p 00002000 08:02 1661404 /lib64/libdl-2.5.so 382c202000-382c203000 r--p 00002000 08:02 1661404 /lib64/libdl-2.5.so 382c203000-382c204000 rw-p 00003000 08:02 1661404 /lib64/libdl-2.5.so 382c400000-382c404000 r-xp 00000000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c404000-382c603000 ---p 00004000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c603000-382c604000 rw-p 00003000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c800000-382c815000 r-xp 00000000 08:02 1661429 /lib64/libpthread-2.5.so 382c815000-382ca14000 ---p 00015000 08:02 1661429 /lib64/libpthread-2.5.so 382ca14000-382ca15000 r--p 00014000 08:02 1661429 /lib64/libpthread-2.5.so 382ca15000-382ca16000 rw-p 00015000 08:02 1661429 /lib64/libpthread-2.5.so 382ca16000-382ca1a000 rw-p 382ca16000 00:00 0 382cc00000-382cc14000 r-xp 00000000 08:02 1883612 /usr/lib64/libz.so.1.2.3 382cc14000-382ce13000 ---p 00014000 08:02 1883612 /usr/lib64/libz.so.1.2.3 382ce13000-382ce14000 rw-p 00013000 08:02 1883612 /usr/lib64/libz.so.1.2.3 3830400000-3830407000 r-xp 00000000 08:02 2312958 /lib64/librt-2.5.so 3830407000-3830607000 ---p 00007000 08:02 2312958 /lib64/librt-2.5.so 3830607000-3830608000 r--p 00007000 08:02 2312958 /lib64/librt-2.5.so 3830608000-3830609000 rw-p 00008000 08:02 2312958 /lib64/librt-2.5.so 3831c00000-3831c0d000 r-xp 00000000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3831c0d000-3831e0d000 ---p 0000d000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3831e0d000-3831e0e000 rw-p 0000d000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3835e00000-3835e15000 r-xp 00000000 08:02 2313092 /lib64/libnsl-2.5.so 3835e15000-3836014000 ---p 00015000 08:02 2313092 /lib64/libnsl-2.5.so 3836014000-3836015000 r--p 00014000 08:02 2313092 /lib64/libnsl-2.5.so 3836015000-3836016000 rw-p 00015000 08:02 2313092 /lib64/libnsl-2.5.so 3836016000-3836018000 rw-p 3836016000 00:00 0 2aaaaaaab000-2aaaaaad3000 rw-p 2aaaaaaab000 00:00 0 2aaaaaad5000-2aaaaaad6000 r--p 2aaaaaad5000 00:00 0 2aaaaaad6000-2aaaaaad7000 rwxp 2aaaaaad6000 00:00 0 2aaaaaad7000-2aaaaaadf000 r-xp 00000000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaaadf000-2aaaaacde000 ---p 00008000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacde000-2aaaaacdf000 rw-p 00007000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacdf000-2aaaaace0000 rw-p 2aaaaacdf000 00:00 0 2aaaaace0000-2aaaaace8000 rw-s 00000000 00:14 22856 /tmp/hsperfdata_brucer/11407 2aaaaad07000-2aaaaad11000 r-xp 00000000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaad11000-2aaaaaf10000 ---p 0000a000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf10000-2aaaaaf11000 r--p 00009000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf11000-2aaaaaf12000 rw-p 0000a000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf12000-2aaaaaf20000 r-xp 00000000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaaaf20000-2aaaab11f000 ---p 0000e000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab11f000-2aaaab121000 rw-p 0000d000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab121000-2aaaab14c000 r-xp 00000000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab14c000-2aaaab34c000 ---p 0002b000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab34c000-2aaaab350000 rw-p 0002b000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab350000-2aaaab357000 r-xp 00000000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab357000-2aaaab556000 ---p 00007000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab556000-2aaaab557000 rw-p 00006000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab557000-2aaaab7c7000 rwxp 2aaaab557000 00:00 0 2aaaab7c7000-2aaaae557000 rwxp 2aaaab7c7000 00:00 0 2aaaae557000-2aaaae561000 rwxp 2aaaae557000 00:00 0 2aaaae561000-2aaaae617000 rwxp 2aaaae561000 00:00 0 2aaaae620000-2aaaafae0000 rwxp 2aaaae620000 00:00 0 2aaaafae0000-2aaab3a20000 rwxp 2aaaafae0000 00:00 0 2aaab3a20000-2aaade4d0000 rwxp 2aaab3a20000 00:00 0 2aaade4d0000-2aab5e4d0000 rwxp 2aaade4d0000 00:00 0 2aab5e4d0000-2aab73a20000 rwxp 2aab5e4d0000 00:00 0 2aab73a20000-2aabb3a20000 rwxp 2aab73a20000 00:00 0 2aabb3a20000-2aabb3a2b000 rwxp 2aabb3a20000 00:00 0 2aabb3a2b000-2aabb3a4a000 rwxp 2aabb3a2b000 00:00 0 2aabb3a4a000-2aabb3ba0000 rwxp 2aabb3a4a000 00:00 0 2aabb3ba0000-2aabb3f9f000 rwxp 2aabb3ba0000 00:00 0 2aabb3f9f000-2aabb404a000 rwxp 2aabb3f9f000 00:00 0 2aabb404a000-2aabb424a000 rwxp 2aabb404a000 00:00 0 2aabb424a000-2aabb43a1000 rwxp 2aabb424a000 00:00 0 2aabb43a1000-2aabb47a1000 rwxp 2aabb43a1000 00:00 0 2aabb47a1000-2aabb47ac000 rwxp 2aabb47a1000 00:00 0 2aabb47ac000-2aabb47cb000 rwxp 2aabb47ac000 00:00 0 2aabb47cb000-2aabb4969000 r--s 01803000 08:02 3521228 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar 2aabb4969000-2aabb4ac7000 rw-p 2aabb4969000 00:00 0 2aabb4ac7000-2aabb4ad0000 r--s 00060000 08:02 3521184 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/gnome-java-bridge.jar 2aabb4ad0000-2aabb4ad2000 r--s 0000b000 08:05 68059640 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/mosek.jar 2aabb4ad2000-2aabb4ad5000 r--s 00039000 08:02 3521213 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar 2aabb4ad5000-2aabb4b25000 r-xp 00000000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4b25000-2aabb4c25000 ---p 00050000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4c25000-2aabb4c26000 rw-p 00050000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4c26000-2aabb528c000 r-xp 00000000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb528c000-2aabb538b000 ---p 00666000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb538b000-2aabb53bd000 rw-p 00665000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb53bd000-2aabb53c0000 rw-p 2aabb53bd000 00:00 0 2aabb53c0000-2aabb53fe000 r-xp 00000000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb53fe000-2aabb54fd000 ---p 0003e000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb54fd000-2aabb54ff000 rw-p 0003d000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb54ff000-2aabb5500000 rw-p 2aabb54ff000 00:00 0 2aabb5500000-2aabb5765000 r-xp 00000000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5765000-2aabb5864000 ---p 00265000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5864000-2aabb5869000 rw-p 00264000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5869000-2aabb58a9000 r-xp 00000000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb58a9000-2aabb59a8000 ---p 00040000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb59a8000-2aabb59ab000 rw-p 0003f000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb59ab000-2aabb59b1000 rw-p 2aabb59ab000 00:00 0 2aabb59b1000-2aabb59d1000 r-xp 00000000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb59d1000-2aabb5ad0000 ---p 00020000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb5ad0000-2aabb5af4000 rw-p 0001f000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb8000000-2aabb8021000 rw-p 2aabb8000000 00:00 0 2aabb8021000-2aabbc000000 ---p 2aabb8021000 00:00 0 2ba5d7d82000-2ba5d7d84000 rw-p 2ba5d7d82000 00:00 0 2ba5d7dab000-2ba5d7dae000 rw-p 2ba5d7dab000 00:00 0 2ba5d7dae000-2ba5d84ea000 r-xp 00000000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d84ea000-2ba5d86ea000 ---p 0073c000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d86ea000-2ba5d8762000 rw-p 0073c000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d8762000-2ba5d879b000 rw-p 2ba5d8762000 00:00 0 2ba5d87c2000-2ba5d8844000 r-xp 00000000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8844000-2ba5d8a43000 ---p 00082000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8a43000-2ba5d8a44000 r--p 00081000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8a44000-2ba5d8a45000 rw-p 00082000 08:02 1661430 /lib64/libm-2.5.so 7fffd2d12000-7fffd2d25000 rwxp 7fffd2d12000 00:00 0 [stack] 7fffd2d25000-7fffd2d28000 rw-p 7fffd2d25000 00:00 0 ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] VM Arguments: jvm_args: -Xms1024m -Xmx4096m java_command: qcqo1.qcqo1 Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64 PATH=/data2/r-project/bin:/home/brucer/bin:/work/loc0/prod/bbin:/work/loc2/prod/bbin:/work/loc2/prod/pbin:/work/loc2/prod/pybin:/work/loc2/prod/bin:/work/loc1/prod/bin:/data1/bruce/gcc/bin:/data2/r-project/bin:/home/brucer/bin:/work/loc0/prod/bbin:/work/loc2/prod/bbin:/work/loc2/prod/pbin:/work/loc2/prod/pybin:/work/loc2/prod/bin:/work/loc1/prod/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/brucer/bin:/work/loc2/prod/bin/hcsv:/work/loc0/prod/mod/utils:/home/brucer/bin:/home/brucer/bin:/work/loc2/prod/bin/hcsv:/work/loc0/prod/mod/utils USERNAME=brucer LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/data1/bruce/java/mosek/5/tools/platform/linux64x86/bin:/data1/bruce/lib:/data2/r-project/lib64/R/lib:/data2/r-project/bin:/work/loc1/lib64:/work/opt/lib/wombat408:/usr/lib/oracle/10.2.0.4/client64/lib SHELL=/bin/bash DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x618cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x618cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4e0340], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:Red Hat Enterprise Linux Server release 5.2 (Tikanga) uname:Linux 2.6.18-92.1.22.el5 #1 SMP Fri Dec 5 09:28:22 EST 2008 x86_64 libc:glibc 2.5 NPTL 2.5 rlimit: STACK 10240k, CORE infinity, NPROC 135168, NOFILE 1024, AS infinity load average:0.39 0.48 0.36 CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 16312852k(6475052k free), swap 8546540k(1728304k free) vm_info: OpenJDK 64-Bit Server VM (1.6.0_0-b11) for linux-amd64 JRE (1.6.0_0-b11), built on Jul 25 2008 06:43:15 by "mockbuild" with gcc 4.1.2 20071124 (Red Hat 4.1.2-42) time: Tue Jan 6 15:02:58 2009 elapsed time: 4 seconds -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:08:01 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:08:01 +0000 Subject: [Bug 278] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=278 bruce.roscherr at citi.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |279 nThis| | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:08:01 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:08:01 +0000 Subject: [Bug 279] New: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=279 Summary: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: bruce.roscherr at citi.com BugsThisDependsOn: 278 Sorry, don't know how I posted this again. +++ This bug was initially created as a clone of Bug #278 +++ I am getting a SIGSEGV from the JVM when I run an app that uses a large amount of memory, calls a native library that is threaded, and the java app subsequently uses threads. I hope someone is in the position to test this bug, as it seems to need a lot of moving parts. I have had the same bug when using a library from Intel, and from another vendor, MOSEK. In both cases I was able to reproduce the bug with minor tweaks to example code supplied by each vendor, hopefully thereby removing user error. I ran both of these on RedHat (glibc-2.5 based) and Ubuntu (glibc-2.7) for different JDK 1.6 releases, always with the same result. The basic structure of the app that causes the crash is this: 1. Create a few large arrays, 4 arrays with 10 million elements each will do the trick, and fill them with random numbers, call them A, B, C, D 2. Call a function that uses JNI to call a threaded C function, doesnn't need to involve A, B, C or D 3. Spawn a couple of Java threads and manipulate the arrays you created initially, do dumb things like A=B+C, D=B+C. This should crash your 64 bit JVM. It always crashes after the call to the native library while working in the Java threads. Here is a crash log from one of these failures: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000382c80dd4d, pid=11407, tid=1084881216 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0_0-b11 mixed mode linux-amd64) # Problematic frame: # C [libpthread.so.0+0xdd4d] raise+0x2d # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # --------------- T H R E A D --------------- Current thread is native thread siginfo:si_signo=SIGSEGV: si_errno=0, si_code=-6 (FPE_FLTOVF), si_addr=0x000164a800002c8f Registers: RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0xffffffffffffffff, RDX=0x000000000000000b RSP=0x0000000040a9f068, RBP=0x0000000040a9f130, RSI=0x0000000000002ca3, RDI=0x0000000000002c8f R8 =0x0000000003347050, R9 =0x0000000000000001, R10=0x0000000000000000, R11=0x0000000000000202 R12=0x0000000000000000, R13=0x0000000000000000, R14=0x00002aabb59ab700, R15=0x0000000000000020 RIP=0x000000382c80dd4d, EFL=0x0000000000000202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000 TRAPNO=0x0000000000000000 Top of Stack: (sp=0x0000000040a9f068) 0x0000000040a9f068: 00002aabb589aa21 fffffffe7fffffff 0x0000000040a9f078: ffffffffffffffff ffffffffffffffff 0x0000000040a9f088: ffffffffffffffff ffffffffffffffff 0x0000000040a9f098: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0a8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0b8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0c8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0d8: ffffffffffffffff ffffffffffffffff 0x0000000040a9f0e8: ffffffffffffffff 0000000000000000 0x0000000040a9f0f8: 0000000040aa0000 0000000000001000 0x0000000040a9f108: 0000000000000000 000000004963b8f2 0x0000000040a9f118: 000000001ced22d8 000000004963b8f2 0x0000000040a9f128: 000000000005e117 0000000000000000 0x0000000040a9f138: 000000382c8062f7 0000000000000000 0x0000000040a9f148: 0000000040a9f940 0000000000000000 0x0000000040a9f158: 0000000000000000 0000000000000000 0x0000000040a9f168: 0000000000000000 0000000000000000 0x0000000040a9f178: 0000000000000000 0000000000000000 0x0000000040a9f188: 0000000000000000 0000000000000000 0x0000000040a9f198: 0000000000000000 0000000000000000 0x0000000040a9f1a8: 0000000000000000 0000000000000000 0x0000000040a9f1b8: 0000000000000000 0000000000000000 0x0000000040a9f1c8: 0000000000000000 0000000040a9f940 0x0000000040a9f1d8: 5a917365255b1a74 0000000000000000 0x0000000040a9f1e8: 0000000000000000 0000000040aa0000 0x0000000040a9f1f8: 0000000000001000 5a91736565f2eb34 0x0000000040a9f208: 5a91735d09db78c9 0000000000000000 0x0000000040a9f218: 0000000000000000 0000000000000000 0x0000000040a9f228: 0000000000000000 0000000000000000 0x0000000040a9f238: 0000000000000000 0000000000000000 0x0000000040a9f248: 0000000040a9f940 0000000000000000 0x0000000040a9f258: 000000382bcd1e3d 0000000000000000 Instructions: (pc=0x000000382c80dd4d) 0x000000382c80dd3d: b8 ea 00 00 00 48 63 d1 48 63 f6 48 63 ff 0f 05 0x000000382c80dd4d: 48 3d 00 f0 ff ff 89 c2 77 03 89 d0 c3 48 8b 05 Stack: [0x0000000040a8f000,0x0000000040aa0000], sp=0x0000000040a9f068, free space=64k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libpthread.so.0+0xdd4d] raise+0x2d --------------- P R O C E S S --------------- VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 305856K, used 131463K [0x00002aab5e4d0000, 0x00002aab73a20000, 0x00002aabb3a20000) eden space 262208K, 50% used [0x00002aab5e4d0000,0x00002aab66531f88,0x00002aab6e4e0000) from space 43648K, 0% used [0x00002aab70f80000,0x00002aab70f80000,0x00002aab73a20000) to space 43648K, 0% used [0x00002aab6e4e0000,0x00002aab6e4e0000,0x00002aab70f80000) PSOldGen total 699072K, used 0K [0x00002aaab3a20000, 0x00002aaade4d0000, 0x00002aab5e4d0000) object space 699072K, 0% used [0x00002aaab3a20000,0x00002aaab3a20000,0x00002aaade4d0000) PSPermGen total 21248K, used 3417K [0x00002aaaae620000, 0x00002aaaafae0000, 0x00002aaab3a20000) object space 21248K, 16% used [0x00002aaaae620000,0x00002aaaae9765e0,0x00002aaaafae0000) Dynamic libraries: 00400000-00409000 r-xp 00000000 08:02 3521722 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java 00608000-0060a000 rw-p 00008000 08:02 3521722 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java 03188000-0345b000 rw-p 03188000 00:00 0 40186000-40187000 ---p 40186000 00:00 0 40187000-40287000 rwxp 40187000 00:00 0 40287000-40288000 ---p 40287000 00:00 0 40288000-40388000 rwxp 40288000 00:00 0 40388000-40389000 ---p 40388000 00:00 0 40389000-40489000 rwxp 40389000 00:00 0 40489000-4048a000 ---p 40489000 00:00 0 4048a000-4058a000 rwxp 4048a000 00:00 0 4058a000-4058b000 ---p 4058a000 00:00 0 4058b000-4068b000 rwxp 4058b000 00:00 0 4068b000-4068c000 ---p 4068b000 00:00 0 4068c000-4078c000 rwxp 4068c000 00:00 0 4078c000-4078d000 ---p 4078c000 00:00 0 4078d000-4088d000 rwxp 4078d000 00:00 0 4088d000-4088e000 ---p 4088d000 00:00 0 4088e000-4098e000 rwxp 4088e000 00:00 0 4098e000-4098f000 ---p 4098e000 00:00 0 4098f000-40a8f000 rwxp 4098f000 00:00 0 40a8f000-40a90000 ---p 40a8f000 00:00 0 40a90000-40aa0000 rwxp 40a90000 00:00 0 40aa0000-40aa1000 ---p 40aa0000 00:00 0 40aa1000-40e99000 rwxp 40aa1000 00:00 0 40f10000-40f13000 ---p 40f10000 00:00 0 40f13000-41011000 rwxp 40f13000 00:00 0 41011000-41014000 ---p 41011000 00:00 0 41014000-41112000 rwxp 41014000 00:00 0 41112000-41115000 ---p 41112000 00:00 0 41115000-41213000 rwxp 41115000 00:00 0 41213000-41216000 ---p 41213000 00:00 0 41216000-41314000 rwxp 41216000 00:00 0 41314000-41317000 ---p 41314000 00:00 0 41317000-41415000 rwxp 41317000 00:00 0 41415000-41418000 ---p 41415000 00:00 0 41418000-41516000 rwxp 41418000 00:00 0 41516000-41519000 ---p 41516000 00:00 0 41519000-41617000 rwxp 41519000 00:00 0 41617000-41618000 ---p 41617000 00:00 0 41618000-41718000 rwxp 41618000 00:00 0 41718000-41719000 ---p 41718000 00:00 0 41719000-42119000 rwxp 41719000 00:00 0 42119000-4211c000 ---p 42119000 00:00 0 4211c000-4221a000 rwxp 4211c000 00:00 0 4221a000-4221b000 ---p 4221a000 00:00 0 4221b000-42613000 rwxp 4221b000 00:00 0 42613000-42614000 ---p 42613000 00:00 0 42614000-42a0c000 rwxp 42614000 00:00 0 42a0c000-42a0d000 ---p 42a0c000 00:00 0 42a0d000-42e06000 rwxp 42a0d000 00:00 0 42e06000-42e07000 ---p 42e06000 00:00 0 42e07000-43200000 rwxp 42e07000 00:00 0 43200000-43201000 ---p 43200000 00:00 0 43201000-435fa000 rwxp 43201000 00:00 0 435fa000-435fb000 ---p 435fa000 00:00 0 435fb000-439f4000 rwxp 435fb000 00:00 0 439f4000-439f7000 ---p 439f4000 00:00 0 439f7000-43af5000 rwxp 439f7000 00:00 0 43af5000-43af8000 ---p 43af5000 00:00 0 43af8000-43bf6000 rwxp 43af8000 00:00 0 382b800000-382b81a000 r-xp 00000000 08:02 2312950 /lib64/ld-2.5.so 382ba1a000-382ba1b000 r--p 0001a000 08:02 2312950 /lib64/ld-2.5.so 382ba1b000-382ba1c000 rw-p 0001b000 08:02 2312950 /lib64/ld-2.5.so 382bc00000-382bd4a000 r-xp 00000000 08:02 2312952 /lib64/libc-2.5.so 382bd4a000-382bf4a000 ---p 0014a000 08:02 2312952 /lib64/libc-2.5.so 382bf4a000-382bf4e000 r--p 0014a000 08:02 2312952 /lib64/libc-2.5.so 382bf4e000-382bf4f000 rw-p 0014e000 08:02 2312952 /lib64/libc-2.5.so 382bf4f000-382bf54000 rw-p 382bf4f000 00:00 0 382c000000-382c002000 r-xp 00000000 08:02 1661404 /lib64/libdl-2.5.so 382c002000-382c202000 ---p 00002000 08:02 1661404 /lib64/libdl-2.5.so 382c202000-382c203000 r--p 00002000 08:02 1661404 /lib64/libdl-2.5.so 382c203000-382c204000 rw-p 00003000 08:02 1661404 /lib64/libdl-2.5.so 382c400000-382c404000 r-xp 00000000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c404000-382c603000 ---p 00004000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c603000-382c604000 rw-p 00003000 08:02 3528267 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so 382c800000-382c815000 r-xp 00000000 08:02 1661429 /lib64/libpthread-2.5.so 382c815000-382ca14000 ---p 00015000 08:02 1661429 /lib64/libpthread-2.5.so 382ca14000-382ca15000 r--p 00014000 08:02 1661429 /lib64/libpthread-2.5.so 382ca15000-382ca16000 rw-p 00015000 08:02 1661429 /lib64/libpthread-2.5.so 382ca16000-382ca1a000 rw-p 382ca16000 00:00 0 382cc00000-382cc14000 r-xp 00000000 08:02 1883612 /usr/lib64/libz.so.1.2.3 382cc14000-382ce13000 ---p 00014000 08:02 1883612 /usr/lib64/libz.so.1.2.3 382ce13000-382ce14000 rw-p 00013000 08:02 1883612 /usr/lib64/libz.so.1.2.3 3830400000-3830407000 r-xp 00000000 08:02 2312958 /lib64/librt-2.5.so 3830407000-3830607000 ---p 00007000 08:02 2312958 /lib64/librt-2.5.so 3830607000-3830608000 r--p 00007000 08:02 2312958 /lib64/librt-2.5.so 3830608000-3830609000 rw-p 00008000 08:02 2312958 /lib64/librt-2.5.so 3831c00000-3831c0d000 r-xp 00000000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3831c0d000-3831e0d000 ---p 0000d000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3831e0d000-3831e0e000 rw-p 0000d000 08:02 1661403 /lib64/libgcc_s-4.1.2-20080102.so.1 3835e00000-3835e15000 r-xp 00000000 08:02 2313092 /lib64/libnsl-2.5.so 3835e15000-3836014000 ---p 00015000 08:02 2313092 /lib64/libnsl-2.5.so 3836014000-3836015000 r--p 00014000 08:02 2313092 /lib64/libnsl-2.5.so 3836015000-3836016000 rw-p 00015000 08:02 2313092 /lib64/libnsl-2.5.so 3836016000-3836018000 rw-p 3836016000 00:00 0 2aaaaaaab000-2aaaaaad3000 rw-p 2aaaaaaab000 00:00 0 2aaaaaad5000-2aaaaaad6000 r--p 2aaaaaad5000 00:00 0 2aaaaaad6000-2aaaaaad7000 rwxp 2aaaaaad6000 00:00 0 2aaaaaad7000-2aaaaaadf000 r-xp 00000000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaaadf000-2aaaaacde000 ---p 00008000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacde000-2aaaaacdf000 rw-p 00007000 08:02 3521163 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads/libhpi.so 2aaaaacdf000-2aaaaace0000 rw-p 2aaaaacdf000 00:00 0 2aaaaace0000-2aaaaace8000 rw-s 00000000 00:14 22856 /tmp/hsperfdata_brucer/11407 2aaaaad07000-2aaaaad11000 r-xp 00000000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaad11000-2aaaaaf10000 ---p 0000a000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf10000-2aaaaaf11000 r--p 00009000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf11000-2aaaaaf12000 rw-p 0000a000 08:02 2312921 /lib64/libnss_files-2.5.so 2aaaaaf12000-2aaaaaf20000 r-xp 00000000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaaaf20000-2aaaab11f000 ---p 0000e000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab11f000-2aaaab121000 rw-p 0000d000 08:02 3521160 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libverify.so 2aaaab121000-2aaaab14c000 r-xp 00000000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab14c000-2aaaab34c000 ---p 0002b000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab34c000-2aaaab350000 rw-p 0002b000 08:02 3521142 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so 2aaaab350000-2aaaab357000 r-xp 00000000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab357000-2aaaab556000 ---p 00007000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab556000-2aaaab557000 rw-p 00006000 08:02 3521161 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libzip.so 2aaaab557000-2aaaab7c7000 rwxp 2aaaab557000 00:00 0 2aaaab7c7000-2aaaae557000 rwxp 2aaaab7c7000 00:00 0 2aaaae557000-2aaaae561000 rwxp 2aaaae557000 00:00 0 2aaaae561000-2aaaae617000 rwxp 2aaaae561000 00:00 0 2aaaae620000-2aaaafae0000 rwxp 2aaaae620000 00:00 0 2aaaafae0000-2aaab3a20000 rwxp 2aaaafae0000 00:00 0 2aaab3a20000-2aaade4d0000 rwxp 2aaab3a20000 00:00 0 2aaade4d0000-2aab5e4d0000 rwxp 2aaade4d0000 00:00 0 2aab5e4d0000-2aab73a20000 rwxp 2aab5e4d0000 00:00 0 2aab73a20000-2aabb3a20000 rwxp 2aab73a20000 00:00 0 2aabb3a20000-2aabb3a2b000 rwxp 2aabb3a20000 00:00 0 2aabb3a2b000-2aabb3a4a000 rwxp 2aabb3a2b000 00:00 0 2aabb3a4a000-2aabb3ba0000 rwxp 2aabb3a4a000 00:00 0 2aabb3ba0000-2aabb3f9f000 rwxp 2aabb3ba0000 00:00 0 2aabb3f9f000-2aabb404a000 rwxp 2aabb3f9f000 00:00 0 2aabb404a000-2aabb424a000 rwxp 2aabb404a000 00:00 0 2aabb424a000-2aabb43a1000 rwxp 2aabb424a000 00:00 0 2aabb43a1000-2aabb47a1000 rwxp 2aabb43a1000 00:00 0 2aabb47a1000-2aabb47ac000 rwxp 2aabb47a1000 00:00 0 2aabb47ac000-2aabb47cb000 rwxp 2aabb47ac000 00:00 0 2aabb47cb000-2aabb4969000 r--s 01803000 08:02 3521228 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar 2aabb4969000-2aabb4ac7000 rw-p 2aabb4969000 00:00 0 2aabb4ac7000-2aabb4ad0000 r--s 00060000 08:02 3521184 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/gnome-java-bridge.jar 2aabb4ad0000-2aabb4ad2000 r--s 0000b000 08:05 68059640 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/mosek.jar 2aabb4ad2000-2aabb4ad5000 r--s 00039000 08:02 3521213 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar 2aabb4ad5000-2aabb4b25000 r-xp 00000000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4b25000-2aabb4c25000 ---p 00050000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4c25000-2aabb4c26000 rw-p 00050000 08:05 68059648 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosekjava5_0.so 2aabb4c26000-2aabb528c000 r-xp 00000000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb528c000-2aabb538b000 ---p 00666000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb538b000-2aabb53bd000 rw-p 00665000 08:05 68059641 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libmosek64.so.5.0 2aabb53bd000-2aabb53c0000 rw-p 2aabb53bd000 00:00 0 2aabb53c0000-2aabb53fe000 r-xp 00000000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb53fe000-2aabb54fd000 ---p 0003e000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb54fd000-2aabb54ff000 rw-p 0003d000 08:05 68059639 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libirc.so 2aabb54ff000-2aabb5500000 rw-p 2aabb54ff000 00:00 0 2aabb5500000-2aabb5765000 r-xp 00000000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5765000-2aabb5864000 ---p 00265000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5864000-2aabb5869000 rw-p 00264000 08:05 68059657 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libimf.so 2aabb5869000-2aabb58a9000 r-xp 00000000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb58a9000-2aabb59a8000 ---p 00040000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb59a8000-2aabb59ab000 rw-p 0003f000 08:05 68059643 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libguide.so 2aabb59ab000-2aabb59b1000 rw-p 2aabb59ab000 00:00 0 2aabb59b1000-2aabb59d1000 r-xp 00000000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb59d1000-2aabb5ad0000 ---p 00020000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb5ad0000-2aabb5af4000 rw-p 0001f000 08:05 68059635 /data1/bruce/java/mosek/5/tools/platform/linux64x86/bin/libsvml.so 2aabb8000000-2aabb8021000 rw-p 2aabb8000000 00:00 0 2aabb8021000-2aabbc000000 ---p 2aabb8021000 00:00 0 2ba5d7d82000-2ba5d7d84000 rw-p 2ba5d7d82000 00:00 0 2ba5d7dab000-2ba5d7dae000 rw-p 2ba5d7dab000 00:00 0 2ba5d7dae000-2ba5d84ea000 r-xp 00000000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d84ea000-2ba5d86ea000 ---p 0073c000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d86ea000-2ba5d8762000 rw-p 0073c000 08:02 3521167 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so 2ba5d8762000-2ba5d879b000 rw-p 2ba5d8762000 00:00 0 2ba5d87c2000-2ba5d8844000 r-xp 00000000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8844000-2ba5d8a43000 ---p 00082000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8a43000-2ba5d8a44000 r--p 00081000 08:02 1661430 /lib64/libm-2.5.so 2ba5d8a44000-2ba5d8a45000 rw-p 00082000 08:02 1661430 /lib64/libm-2.5.so 7fffd2d12000-7fffd2d25000 rwxp 7fffd2d12000 00:00 0 [stack] 7fffd2d25000-7fffd2d28000 rw-p 7fffd2d25000 00:00 0 ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] VM Arguments: jvm_args: -Xms1024m -Xmx4096m java_command: qcqo1.qcqo1 Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64 PATH=/data2/r-project/bin:/home/brucer/bin:/work/loc0/prod/bbin:/work/loc2/prod/bbin:/work/loc2/prod/pbin:/work/loc2/prod/pybin:/work/loc2/prod/bin:/work/loc1/prod/bin:/data1/bruce/gcc/bin:/data2/r-project/bin:/home/brucer/bin:/work/loc0/prod/bbin:/work/loc2/prod/bbin:/work/loc2/prod/pbin:/work/loc2/prod/pybin:/work/loc2/prod/bin:/work/loc1/prod/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/brucer/bin:/work/loc2/prod/bin/hcsv:/work/loc0/prod/mod/utils:/home/brucer/bin:/home/brucer/bin:/work/loc2/prod/bin/hcsv:/work/loc0/prod/mod/utils USERNAME=brucer LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/data1/bruce/java/mosek/5/tools/platform/linux64x86/bin:/data1/bruce/lib:/data2/r-project/lib64/R/lib:/data2/r-project/bin:/work/loc1/lib64:/work/opt/lib/wombat408:/usr/lib/oracle/10.2.0.4/client64/lib SHELL=/bin/bash DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x618cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGBUS: [libjvm.so+0x618cc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGFPE: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGPIPE: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGXFSZ: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGILL: [libjvm.so+0x4dceb0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4e0340], sa_mask[0]=0x00000000, sa_flags=0x10000004 SIGHUP: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGINT: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGTERM: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 SIGQUIT: [libjvm.so+0x4de2e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 --------------- S Y S T E M --------------- OS:Red Hat Enterprise Linux Server release 5.2 (Tikanga) uname:Linux 2.6.18-92.1.22.el5 #1 SMP Fri Dec 5 09:28:22 EST 2008 x86_64 libc:glibc 2.5 NPTL 2.5 rlimit: STACK 10240k, CORE infinity, NPROC 135168, NOFILE 1024, AS infinity load average:0.39 0.48 0.36 CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 16312852k(6475052k free), swap 8546540k(1728304k free) vm_info: OpenJDK 64-Bit Server VM (1.6.0_0-b11) for linux-amd64 JRE (1.6.0_0-b11), built on Jul 25 2008 06:43:15 by "mockbuild" with gcc 4.1.2 20071124 (Red Hat 4.1.2-42) time: Tue Jan 6 15:02:58 2009 elapsed time: 4 seconds -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:08:14 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:08:14 +0000 Subject: [Bug 276] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=276 ------- Comment #2 from bruce.roscherr at citi.com 2009-01-07 14:08 ------- I was hoping someone would say "well dummy, you didn't do XXXX". I understand the need for an example, but I have no experience with writing C code with ptherads. I could describe how to do it with Intel's MKL that is freely downloadable, but I'm not in a position to produce a self contained example right now. I have learned that both the vendors whos software is producing this error for me, use Intel's libguide threading library. They are not independent code bases as I had thought, which would make libguide the most likely culprit. I have discovered that setting -XX:ReservedCodeCacheSize to some high number, makes the crash go away. This is not a good solution as the required value for this setting is very problem dependent (larger problems sometimes need smaller values set), but I am trying to get Intel to look into the problem. Thanks -Bruce -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:13:30 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:13:30 +0000 Subject: [Bug 278] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=278 aph at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from aph at redhat.com 2009-01-07 14:13 ------- *** This bug has been marked as a duplicate of bug 276 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:13:30 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:13:30 +0000 Subject: [Bug 276] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=276 ------- Comment #3 from aph at redhat.com 2009-01-07 14:13 ------- *** Bug 278 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:13:30 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:13:30 +0000 Subject: [Bug 279] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=279 Bug 279 depends on bug 278, which changed state. Bug 278 Summary: SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=278 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:13:59 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:13:59 +0000 Subject: [Bug 279] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=279 aph at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from aph at redhat.com 2009-01-07 14:13 ------- *** This bug has been marked as a duplicate of bug 276 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Wed Jan 7 06:13:59 2009 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 07 Jan 2009 14:13:59 +0000 Subject: [Bug 276] SIGSEGV in 64 bit JDK 1.6 when using JNI, and both library and Java app are threaded Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=276 ------- Comment #4 from aph at redhat.com 2009-01-07 14:13 ------- *** Bug 279 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From theBohemian at gmx.net Wed Jan 7 14:05:16 2009 From: theBohemian at gmx.net (Robert Schuster) Date: Wed, 07 Jan 2009 23:05:16 +0100 Subject: Patch: allow specifiying flags to the VM used in javac script Message-ID: <4965271C.8010003@gmx.net> Hi, you may laugh but this is the most simple patch to make cross-compiling OpenJDK easier. The reason is that I run ecj with jamvm/cacao which have a far to small default maximum heap size to comple hotspot-tools. With this patch I can ' JAVA_FLAGS="-Xmx4096M" configure ' and everything is fine. :) 2009-01-07 Robert Schuster * javac.in: Added variable @JAVA_FLAGS@ . * configure.ac: Added AC_SUBST for JAVA_FLAGS. Regards Robert -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090107/0d2c2efa/attachment.bin From martinrb at google.com Wed Jan 7 14:43:03 2009 From: martinrb at google.com (Martin Buchholz) Date: Wed, 7 Jan 2009 14:43:03 -0800 Subject: Patch: allow specifiying flags to the VM used in javac script In-Reply-To: <4965271C.8010003@gmx.net> References: <4965271C.8010003@gmx.net> Message-ID: <1ccfd1c10901071443h13c1a35ft576273ee1c06e89d@mail.gmail.com> Why not use the -J flag? $ javac -help .... -J Pass directly to the runtime system Martin On Wed, Jan 7, 2009 at 14:05, Robert Schuster wrote: > Hi, > you may laugh but this is the most simple patch to make cross-compiling > OpenJDK easier. The reason is that I run ecj with jamvm/cacao which have > a far to small default maximum heap size to comple hotspot-tools. > > With this patch I can ' JAVA_FLAGS="-Xmx4096M" configure ' and > everything is fine. :) > > 2009-01-07 Robert Schuster > > * javac.in: Added variable @JAVA_FLAGS@ . > * configure.ac: Added AC_SUBST for JAVA_FLAGS. > > Regards > Robert > > From ekrichardson at gmail.com Wed Jan 7 20:56:25 2009 From: ekrichardson at gmail.com (Eric Richardson) Date: Wed, 7 Jan 2009 20:56:25 -0800 Subject: Problem Compiling Java Message-ID: <860cb0120901072056g5565f34dkab067046af9e90b0@mail.gmail.com> Hello, Before I burn too many cycles trying to figure out what is going on I thought I'd see if anyone has any ideas. I'm working with icetea6 on Power PC Mac OS X. I know that the BSD stuff is in Icedtea7 but since I am trying to compile with the Apple jdk5 java and am waiting for icedtea7 to remove the --with-libgcj-jar as I can't get past the ./configure step with icetea7. Since this is removed in icedtea6 I can get past ./configure but it ignores the --with-project=bsd. I figure, perhaps wrongly that I should be able to compile Java at least. The VirtualMachineImpl.java has an import of ClassTypeImpl in the same package which in turn imports com.sun.jdi,* which has ClassType but the incorrect classpath error mentions a ClassType in a different package. I changed the Makefile to get more memory. Eric patrizia-imac-g5:icedtea6 eric$ make if ! test -d /Users/eric/java/icedtea6/bootstrap/jdk1.6.0 ; \ then \ /opt/local/bin/ecj -nowarn -J-Xmx4096m -g -d lib/hotspot-tools \ -source 1.5 \ -sourcepath \ 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/Users/eric/java/icedtea6/generated:/Users/eric/java/icedtea6/rt' \ -bootclasspath '' @hotspot-tools-source-files.txt ; \ else \ /Users/eric/java/icedtea6/bootstrap/jdk1.6.0/bin/javac -J-Xmx4096m -g \ -d lib/hotspot-tools \ -source 1.5 \ -sourcepath \ 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/Users/eric/java/icedtea6/generated:/Users/eric/java/icedtea6/rt' \ -bootclasspath '' @hotspot-tools-source-files.txt ; \ fi incorrect classpath: hotspot-tools/com/sun/codemodel/internal/ClassType.java ---------- 1. ERROR in /Users/eric/java/icedtea6/openjdk/jdk/src/share/classes/com/sun/tools/jdi/VirtualMachineImpl.java (at line 0) /* ^ Internal compiler error java.lang.OutOfMemoryError: Java heap space at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Unknown Source) at org.eclipse.jdt.internal.compiler.util.Util.getFileCharContent(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.CompilationUnit.getContents(Unknown Source) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Unknown Source) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Unknown Source) at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Unknown Source) at org.eclipse.jdt.internal.compiler.Compiler.accept(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Unknown Source) at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(Unknown Source) at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.resolveTypeFor(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.fields(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.faultInTypesForFieldsAndMethods(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(Unknown Source) at org.eclipse.jdt.internal.compiler.Compiler.process(Unknown Source) at org.eclipse.jdt.internal.compiler.Compiler.compile(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.Main.compile(Unknown Source) at org.eclipse.jdt.internal.compiler.batch.Main.main(Unknown Source) ---------- 1 problem (1 error)make: *** [stamps/hotspot-tools-class-files.stamp] Error 255 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090107/c6f51af8/attachment.html From christian.thalinger at gmail.com Thu Jan 8 01:22:31 2009 From: christian.thalinger at gmail.com (Christian Thalinger) Date: Thu, 08 Jan 2009 10:22:31 +0100 Subject: Problem Compiling Java In-Reply-To: <860cb0120901072056g5565f34dkab067046af9e90b0@mail.gmail.com> References: <860cb0120901072056g5565f34dkab067046af9e90b0@mail.gmail.com> Message-ID: <1231406551.16494.32.camel@localhost.localdomain> On Wed, 2009-01-07 at 20:56 -0800, Eric Richardson wrote: > I changed the Makefile to get more memory. > patrizia-imac-g5:icedtea6 eric$ make > if ! test -d /Users/eric/java/icedtea6/bootstrap/jdk1.6.0 ; \ > then \ > /opt/local/bin/ecj -nowarn -J-Xmx4096m -g -d lib/hotspot-tools \ > -source 1.5 \ > -sourcepath \ > > 'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/Users/eric/java/icedtea6/generated:/Users/eric/java/icedtea6/rt' \ > -bootclasspath '' @hotspot-tools-source-files.txt ; \ > else \ > /Users/eric/java/icedtea6/bootstrap/jdk1.6.0/bin/javac > -J-Xmx4096m -g \ Is bootstrap/jdk1.6.0/bin/javac using ECJ or Apple's Javac? If it's ECJ, -J options are ignored. - Christian From christian.thalinger at gmail.com Thu Jan 8 01:29:13 2009 From: christian.thalinger at gmail.com (Christian Thalinger) Date: Thu, 08 Jan 2009 10:29:13 +0100 Subject: Patch: allow specifiying flags to the VM used in javac script In-Reply-To: <1ccfd1c10901071443h13c1a35ft576273ee1c06e89d@mail.gmail.com> References: <4965271C.8010003@gmx.net> <1ccfd1c10901071443h13c1a35ft576273ee1c06e89d@mail.gmail.com> Message-ID: <1231406953.16494.35.camel@localhost.localdomain> On Wed, 2009-01-07 at 14:43 -0800, Martin Buchholz wrote: > Why not use the -J flag? > > $ javac -help > .... > -J Pass directly to the runtime system As I wrote in another email two minutes ago: $ ecj -help Ignored options: -J