jmar83
Hans Müller
Hallo zusammen
Habe vor das OpenJDK8 unter Debian 7.11 (mit Kernel 3.16.x aus wheezy-backports...) auf meiner Sun Ultra 45 zu kompilieren.
***********************************************************************************
root@u45:~/jdk8/common/autoconf# uname -r
3.16.0-0.bpo.4-sparc64-smp
***********************************************************************************
Die Anleitung unter http://frank-lab.blogspot.ch/2014/06/build-openjdk-8-on-debian-7_16.html hat eigentlich geklappt bis zum kompilieren...
Als ich das file /home/user/JDK8/common/autoconf/configure mit "bash" aufgerufen habe (der gute Herr gibt auf der Seite jedoch nicht an, dass man von /home/user/jdk8/ nach /home/user/jdk8/common/autoconf/ wechseln muss, damit man an das "configure"-File gelangt...) kamen folgende Meldungen am Ende (Fehlerfall):
***********************************************************************************
checking build system type... sparc64-unknown-linux-gnu
checking host system type... sparc64-unknown-linux-gnu
checking target system type... sparc64-unknown-linux-gnu
configure: error: unsupported cpu sparc64
configure exiting with result code 1
***********************************************************************************
OK, soweit alles klar... "sparc64-unknown-linux" wird schlicht nicht unterstützt... dann ging ich im Netz suchen, und fand dies:
https://lists.debian.org/debian-sparc/2016/08/msg00036.html
Ich zitiere: "Here are the changes I made to thd debian/rules file:" Leider kann ich nirgends ein solches "debian/rules"-File finden:
***********************************************************************************
root@u45:~/jdk8/common/autoconf# find /root/jdk8/ | grep rules
/root/jdk8/corba/.hg/store/data/make/common/internal/_native_compile_rules.gmk.i
/root/jdk8/corba/.hg/store/data/make/common/_rules.gmk.i
/root/jdk8/hotspot/make/solaris/makefiles/rules.make
/root/jdk8/hotspot/make/windows/makefiles/rules.make
/root/jdk8/hotspot/make/linux/makefiles/rules.make
/root/jdk8/hotspot/make/bsd/makefiles/rules.make
/root/jdk8/hotspot/.hg/store/data/make/solaris/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/make/windows/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/make/linux/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/make/bsd/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/build/solaris/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/build/windows/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/build/linux/makefiles/rules.make.i
/root/jdk8/.hg/store/data/make/hotspot-rules.gmk.i
/root/jdk8/.hg/store/data/make/corba-rules.gmk.i
/root/jdk8/.hg/store/data/make/deploy-rules.gmk.i
/root/jdk8/.hg/store/data/make/sanity-rules.gmk.i
/root/jdk8/.hg/store/data/make/nashorn-rules.gmk.i
/root/jdk8/.hg/store/data/make/jaxp-rules.gmk.i
/root/jdk8/.hg/store/data/make/jdk-rules.gmk.i
/root/jdk8/.hg/store/data/make/install-rules.gmk.i
/root/jdk8/.hg/store/data/make/jaxws-rules.gmk.i
/root/jdk8/.hg/store/data/make/langtools-rules.gmk.i
/root/jdk8/.hg/store/data/make/sponsors-rules.gmk.i
/root/jdk8/langtools/make/tools/crules
/root/jdk8/langtools/make/tools/crules/MutableFieldsAnalyzer.java
/root/jdk8/langtools/make/tools/crules/AbstractCodingRulesAnalyzer.java
/root/jdk8/langtools/make/tools/crules/resources
/root/jdk8/langtools/make/tools/crules/resources/crules.properties
/root/jdk8/langtools/.hg/store/data/make/tools/crules
/root/jdk8/langtools/.hg/store/data/make/tools/crules/_abstract_coding_rules_ana
lyzer.java.i
/root/jdk8/langtools/.hg/store/data/make/tools/crules/_mutable_fields_analyzer.j
ava.i
/root/jdk8/langtools/.hg/store/data/make/tools/crules/resources
/root/jdk8/langtools/.hg/store/data/make/tools/crules/resources/crules.propertie
s.i
/root/jdk8/jdk/.hg/store/data/makefiles/common/internal/_native_compile_rules.gm
k.i
/root/jdk8/jdk/.hg/store/data/makefiles/common/_rules.gmk.i
/root/jdk8/jdk/.hg/store/data/makefiles/sun/awt/_condense_rules.awk.i
/root/jdk8/jdk/.hg/store/data/make/common/_rules-_s_c_c_s.gmk.i
/root/jdk8/jdk/.hg/store/data/make/common/internal/_native_compile_rules.gmk.i
/root/jdk8/jdk/.hg/store/data/make/common/_rules.gmk.i
/root/jdk8/jdk/.hg/store/data/make/src/classes/build/tools/tzdb/_zone_rules_buil
der.java.i
/root/jdk8/jdk/.hg/store/data/make/src/classes/build/tools/tzdb/_zone_rules.java
.i
/root/jdk8/jdk/.hg/store/data/make/src/classes/build/tools/tzdb/_tzdb_zone_rules
_compiler.java.i
/root/jdk8/jdk/.hg/store/data/make/sun/awt/_condense_rules.awk.i
/root/jdk8/jdk/.hg/store/data/make/tools/src/build/tools/tzdb/_zone_rules_builde
r.java.i
/root/jdk8/jdk/.hg/store/data/make/tools/src/build/tools/tzdb/_zone_rules.java.i
/root/jdk8/jdk/.hg/store/data/make/tools/src/build/tools/tzdb/_tzdb_zone_rules_c
ompiler.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/com/sun/inputmethods/internal/th
aiim/_thai_rules.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_zone_rules_excep
tion.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_tzdb_zone_rules_
provider.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_zone_rules.java.
i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_zone_rules_provi
der.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/text/_collation_rules.java.
i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/util/locale/provider/_collat
ion_rules.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/text/resources/_break_iterat
or_rules.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/text/resources/_break_iterat
or_rules__th.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/text/resources/th/_break_ite
rator_rules__th.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/_t_c_k_zone_rule
s.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_zo
ne_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_fi
xed_zone_rules_serialization.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_fi
xed_zone_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_zo
ne_rules_serialization.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/_t_c_k_fixed_zon
e_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/_t_c_k_zone_rule
s_provider.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/test/java/time/zone/_test_fixed_zon
e_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/net/_i_d_n/_use_s_t_d3_a_s_c_i_i_rules.j
ava.i
***********************************************************************************
...zwar alles möglich mit "rules" drin, jedoch nichts was ich haben will. Folgedessen fing ich an, nach einem bestimmten Text, in meinem Fall bspw. "hotspot_archs" (aus https://lists.debian.org/debian-sparc/2016/08/msg00036.html) zu suchen. Wieder nix.
Es exiistiert also weder a.) noch ein "debian/rules"-File in der ganzen Geschichte, noch ist in irgendeinem File bspw. der Text "hotspot_archs" (und auch keine anderen!!) zu finden.
Irgendwie ist http://frank-lab.blogspot.ch/2014/06/build-openjdk-8-on-debian-7_16.html vs. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835973 völlig zusammenhangslos!!
Aber trotzdem scheint es irgendwie (?) möglich zu sein, das JDK8 unter einer sparc64-Plattform zu kompilieren, der Typ der beim Bugreport schreibt hat's ja auch geschafft.
Nachtrag: Hier ist auch noch was:
http://osdir.com/ml/openJDK-discussion/2015-11/msg00013.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835973
https://www.debian.org/doc/manuals/maint-guide/dreq.en.html (bezügl. diesem "debian/rules"-File)
Habe vor das OpenJDK8 unter Debian 7.11 (mit Kernel 3.16.x aus wheezy-backports...) auf meiner Sun Ultra 45 zu kompilieren.
***********************************************************************************
root@u45:~/jdk8/common/autoconf# uname -r
3.16.0-0.bpo.4-sparc64-smp
***********************************************************************************
Die Anleitung unter http://frank-lab.blogspot.ch/2014/06/build-openjdk-8-on-debian-7_16.html hat eigentlich geklappt bis zum kompilieren...
Als ich das file /home/user/JDK8/common/autoconf/configure mit "bash" aufgerufen habe (der gute Herr gibt auf der Seite jedoch nicht an, dass man von /home/user/jdk8/ nach /home/user/jdk8/common/autoconf/ wechseln muss, damit man an das "configure"-File gelangt...) kamen folgende Meldungen am Ende (Fehlerfall):
***********************************************************************************
checking build system type... sparc64-unknown-linux-gnu
checking host system type... sparc64-unknown-linux-gnu
checking target system type... sparc64-unknown-linux-gnu
configure: error: unsupported cpu sparc64
configure exiting with result code 1
***********************************************************************************
OK, soweit alles klar... "sparc64-unknown-linux" wird schlicht nicht unterstützt... dann ging ich im Netz suchen, und fand dies:
https://lists.debian.org/debian-sparc/2016/08/msg00036.html
Ich zitiere: "Here are the changes I made to thd debian/rules file:" Leider kann ich nirgends ein solches "debian/rules"-File finden:
***********************************************************************************
root@u45:~/jdk8/common/autoconf# find /root/jdk8/ | grep rules
/root/jdk8/corba/.hg/store/data/make/common/internal/_native_compile_rules.gmk.i
/root/jdk8/corba/.hg/store/data/make/common/_rules.gmk.i
/root/jdk8/hotspot/make/solaris/makefiles/rules.make
/root/jdk8/hotspot/make/windows/makefiles/rules.make
/root/jdk8/hotspot/make/linux/makefiles/rules.make
/root/jdk8/hotspot/make/bsd/makefiles/rules.make
/root/jdk8/hotspot/.hg/store/data/make/solaris/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/make/windows/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/make/linux/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/make/bsd/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/build/solaris/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/build/windows/makefiles/rules.make.i
/root/jdk8/hotspot/.hg/store/data/build/linux/makefiles/rules.make.i
/root/jdk8/.hg/store/data/make/hotspot-rules.gmk.i
/root/jdk8/.hg/store/data/make/corba-rules.gmk.i
/root/jdk8/.hg/store/data/make/deploy-rules.gmk.i
/root/jdk8/.hg/store/data/make/sanity-rules.gmk.i
/root/jdk8/.hg/store/data/make/nashorn-rules.gmk.i
/root/jdk8/.hg/store/data/make/jaxp-rules.gmk.i
/root/jdk8/.hg/store/data/make/jdk-rules.gmk.i
/root/jdk8/.hg/store/data/make/install-rules.gmk.i
/root/jdk8/.hg/store/data/make/jaxws-rules.gmk.i
/root/jdk8/.hg/store/data/make/langtools-rules.gmk.i
/root/jdk8/.hg/store/data/make/sponsors-rules.gmk.i
/root/jdk8/langtools/make/tools/crules
/root/jdk8/langtools/make/tools/crules/MutableFieldsAnalyzer.java
/root/jdk8/langtools/make/tools/crules/AbstractCodingRulesAnalyzer.java
/root/jdk8/langtools/make/tools/crules/resources
/root/jdk8/langtools/make/tools/crules/resources/crules.properties
/root/jdk8/langtools/.hg/store/data/make/tools/crules
/root/jdk8/langtools/.hg/store/data/make/tools/crules/_abstract_coding_rules_ana
lyzer.java.i
/root/jdk8/langtools/.hg/store/data/make/tools/crules/_mutable_fields_analyzer.j
ava.i
/root/jdk8/langtools/.hg/store/data/make/tools/crules/resources
/root/jdk8/langtools/.hg/store/data/make/tools/crules/resources/crules.propertie
s.i
/root/jdk8/jdk/.hg/store/data/makefiles/common/internal/_native_compile_rules.gm
k.i
/root/jdk8/jdk/.hg/store/data/makefiles/common/_rules.gmk.i
/root/jdk8/jdk/.hg/store/data/makefiles/sun/awt/_condense_rules.awk.i
/root/jdk8/jdk/.hg/store/data/make/common/_rules-_s_c_c_s.gmk.i
/root/jdk8/jdk/.hg/store/data/make/common/internal/_native_compile_rules.gmk.i
/root/jdk8/jdk/.hg/store/data/make/common/_rules.gmk.i
/root/jdk8/jdk/.hg/store/data/make/src/classes/build/tools/tzdb/_zone_rules_buil
der.java.i
/root/jdk8/jdk/.hg/store/data/make/src/classes/build/tools/tzdb/_zone_rules.java
.i
/root/jdk8/jdk/.hg/store/data/make/src/classes/build/tools/tzdb/_tzdb_zone_rules
_compiler.java.i
/root/jdk8/jdk/.hg/store/data/make/sun/awt/_condense_rules.awk.i
/root/jdk8/jdk/.hg/store/data/make/tools/src/build/tools/tzdb/_zone_rules_builde
r.java.i
/root/jdk8/jdk/.hg/store/data/make/tools/src/build/tools/tzdb/_zone_rules.java.i
/root/jdk8/jdk/.hg/store/data/make/tools/src/build/tools/tzdb/_tzdb_zone_rules_c
ompiler.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/com/sun/inputmethods/internal/th
aiim/_thai_rules.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_zone_rules_excep
tion.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_tzdb_zone_rules_
provider.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_zone_rules.java.
i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/time/zone/_zone_rules_provi
der.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/java/text/_collation_rules.java.
i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/util/locale/provider/_collat
ion_rules.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/text/resources/_break_iterat
or_rules.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/text/resources/_break_iterat
or_rules__th.java.i
/root/jdk8/jdk/.hg/store/data/src/share/classes/sun/text/resources/th/_break_ite
rator_rules__th.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/_t_c_k_zone_rule
s.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_zo
ne_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_fi
xed_zone_rules_serialization.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_fi
xed_zone_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/serial/_t_c_k_zo
ne_rules_serialization.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/_t_c_k_fixed_zon
e_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/tck/java/time/zone/_t_c_k_zone_rule
s_provider.java.i
/root/jdk8/jdk/.hg/store/data/test/java/time/test/java/time/zone/_test_fixed_zon
e_rules.java.i
/root/jdk8/jdk/.hg/store/data/test/java/net/_i_d_n/_use_s_t_d3_a_s_c_i_i_rules.j
ava.i
***********************************************************************************
...zwar alles möglich mit "rules" drin, jedoch nichts was ich haben will. Folgedessen fing ich an, nach einem bestimmten Text, in meinem Fall bspw. "hotspot_archs" (aus https://lists.debian.org/debian-sparc/2016/08/msg00036.html) zu suchen. Wieder nix.
Es exiistiert also weder a.) noch ein "debian/rules"-File in der ganzen Geschichte, noch ist in irgendeinem File bspw. der Text "hotspot_archs" (und auch keine anderen!!) zu finden.
Irgendwie ist http://frank-lab.blogspot.ch/2014/06/build-openjdk-8-on-debian-7_16.html vs. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835973 völlig zusammenhangslos!!
Aber trotzdem scheint es irgendwie (?) möglich zu sein, das JDK8 unter einer sparc64-Plattform zu kompilieren, der Typ der beim Bugreport schreibt hat's ja auch geschafft.
Nachtrag: Hier ist auch noch was:
http://osdir.com/ml/openJDK-discussion/2015-11/msg00013.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835973
https://www.debian.org/doc/manuals/maint-guide/dreq.en.html (bezügl. diesem "debian/rules"-File)
Zuletzt bearbeitet: