IcedTea7 - zero FTBFS

Andrew Haley aph at redhat.com
Fri Feb 10 04:18:16 PST 2012


On 02/10/2012 12:10 PM, Xerxes Rånby wrote:
> 2012-02-10 12:29, Andrew Hughes skrev:
>> ----- Original Message -----
>>> Hi all,
>>>
>>> As some of you may know, there's an OpenJDK valentine's day gift on
>>> its way; a new batch of
>>> security updates:
>>>
>>> http://www.oracle.com/technetwork/topics/security/alerts-086861.html
>>>
>>> I'd like to also do the IcedTea7 2.1 release, which will get the u2
>>> changes out to end-users.
>>> This also has the advantage that this is closer to what Oracle will
>>> release as u3 than the
>>> strange hybrid of u1 and the new security patches we'll end up with
>>> in 2.0.1.
>>>
>>> I haven't seen any issues since we merged u2 into HEAD.  Doesn't
>>> anyone have any problems with
>>> releasing 2.1 along with the other security updates?
>>> --
>>> Andrew :)
>>>
>>> Free Java Software Engineer
>>> Red Hat, Inc. (http://www.redhat.com)
>>>
>>> PGP Key: 248BDC07 (https://keys.indymedia.org/)
>>> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
>>>
>>>
>>
>> As there's been no response to this, we'll branch for 2.1 on Monday
>> and the release will happen with the other security releases sometime
>> on Tuesday/Wednesday.  Please get your patches into IcedTea7 HEAD NOW
>> if you want them in the next release.
>>
>> Thanks,
> 
> Im looking into the current zero fails to build from source issue in icedtea7.
> 
> By using ChrisPhi's HS23 patch we can get the zero libjvm.so compiled and linked.
> http://integral-portal.lgonqn.org/temp/ChrisPhi/hsx23-zero--/webrev/
> 
> When I take this produces libjvm.so and place it into a complete icedtea7 build i can verify that zero runs as well!
> xranby at xranby-ESPRIMO-P7935:~/test/cm30$ /home/xranby/icedtea7-build/openjdk.build/j2sdk-image/bin/java -zero -showversion CaffeineMarkEmbeddedApp
> java version "1.7.0_02-icedtea"
> OpenJDK Runtime Environment (IcedTea7 2.1pre+rea914bacafad+) (Ubuntu build 1.7.0_02-icedtea-b147)
> OpenJDK Zero VM (build 22.0-b10, interpreted mode)
> 
> Sieve score = 3823 (98)
> Loop score = 2646 (2017)
> Logic score = 3600 (0)
> String score = 5479 (708)
> Float score = 3241 (185)
> Method score = 2110 (166650)
> Overall score = 3330
> 
> 
> Unfortunately the icedtea7 zero build stop before finish since libjsig.so are not produced for zero builds and the hotspot makefiles expect it to be.
> make[4]: Entering directory `/home/xranby/icedtea7-zero-build/openjdk-boot/hotspot/make'
> cp /home/xranby/icedtea7-zero-build/openjdk.build-boot/hotspot/outputdir/linux_i486_docs/jvmti.html /home/xranby/icedtea7-zero-build/openjdk.build-boot/hotspot/import/docs/platform/jvmti/jvmti.html
> cp /home/xranby/icedtea7-zero-build/openjdk.build-boot/hotspot/outputdir/linux_i486_zero/product/libjsig.so /home/xranby/icedtea7-zero-build/openjdk.build-boot/hotspot/import/jre/lib/i386/libjsig.so
> make[4]: *** No rule to make target `/home/xranby/icedtea7-zero-build/openjdk.build-boot/hotspot/import/jre/lib/i386/libjsig.debuginfo', needed by `generic_export'.  Stop.
> make[4]: Leaving directory `/home/xranby/icedtea7-zero-build/openjdk-boot/hotspot/make'
> 
> This makefile needs to be patched.

diff -r 305636960fa4 make/linux/makefiles/defs.make
--- a/make/linux/makefiles/defs.make    Fri Jan 27 15:14:32 2012 -0800
+++ b/make/linux/makefiles/defs.make    Fri Feb 10 12:16:52 2012 +0000
@@ -132,7 +132,7 @@
   # Full Debug Symbols is supported on JDK7 or newer

   # Default OBJCOPY comes from GNU Binutils on Linux:
-  DEF_OBJCOPY=/usr/bin/objcopy
+  DEF_OBJCOPY=feck
   ifdef CROSS_COMPILE_ARCH
     # don't try to generate .debuginfo files when cross compiling
     _JUNK_ := $(shell \
@@ -217,10 +217,10 @@
                         $(EXPORT_LIB_DIR)/sa-jdi.jar
 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \
                         $(EXPORT_LIB_DIR)/sa-jdi.jar
-ifneq ($(OBJCOPY),)
-  ADD_SA_BINARIES/x86   += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
-  ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
-endif
+# ifneq ($(OBJCOPY),)
+#   ADD_SA_BINARIES/x86   += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
+#   ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
+# endif
 ADD_SA_BINARIES/ppc   =
 ADD_SA_BINARIES/ia64  =
 ADD_SA_BINARIES/arm   =

Andrew.



More information about the distro-pkg-dev mailing list