[oe] [meta-java] Trying to build icedtea7 fails currently
Otavio Salvador
otavio at ossystems.com.br
Tue Jul 7 15:19:44 UTC 2015
On Fri, Jun 12, 2015 at 3:51 PM, Sebastian Andrzej Siewior
<bigeasy at linutronix.de> wrote:
> 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?
The patch needs to be ported or icedtea to be upgraded; Can you take a
look at this?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-devel
mailing list