[oe] [meta-java] Trying to build icedtea7 fails currently

Sebastian Andrzej Siewior bigeasy at linutronix.de
Fri Jun 12 18:51:17 UTC 2015


building icedtea7-native fails currently if the host runs linux v4.0+.
Duh. I tried to add a patch to "openjdk-7-release-03b147.inc" but it
didn't get applied…

Upstream fixed it
  https://bugs.openjdk.java.net/browse/JDK-8074312
  https://bugs.openjdk.java.net/secure/attachment/25832/JDK-8074312-hotspot.patch

I workaround it with linux64 --uname-2.6. It helped but failed later
with various errors such as:
| collect2: error: ld returned 1 exit status
| /home/angstrom-distribution/build/tmp-angstrom_v2014_12-glibc/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/ jdk/make/common/internal/NativeCompileRules.gmk:74: recipe for target '/home/angstrom-distribution/build/tmp-angstrom_v2014_12-glibc/work/x8 6_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/tmp/sun/sun.awt/headless/obj64/awt_Font.o' failed
| make[6]: *** [/home/angstrom-distribution/build/tmp-angstrom_v2014_12-glibc/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build /openjdk.build-boot/tmp/sun/sun.awt/headless/obj64/awt_Font.o] Error 1
| make[6]: *** Waiting for unfinished jobs....
| jdk/make/sun/headless/../../../src/solaris/native/sun/awt/fontpath.c:910: undefined reference to `FcFontSetDestroy'
| /home/angstrom-distribution/build/tmp-angstrom_v2014_12-glibc/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/ jdk/make/sun/headless/../../../src/solaris/native/sun/awt/fontpath.c:878: undefined reference to `FcPatternDestroy'
| /tmp/cczs6cdu.o: In function `Java_sun_font_FontConfigManager_getFontConfigVersion':
| /home/angstrom-distribution/build/tmp-angstrom_v2014_12-glibc/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/ jdk/make/sun/headless/../../../src/solaris/native/sun/awt/fontpath.c:740: undefined reference to `FcGetVersion'
| collect2: error: ld returned 1 exit status

Does someone have an idea?

Sebastian



More information about the Openembedded-devel mailing list