Wind River Support Network

HomeDefectsLIN8-4347
Fixed

LIN8-4347 : openjre-8 build failed

Created: Aug 4, 2016    Updated: Dec 3, 2018
Resolved Date: Aug 7, 2016
Found In Version: 8.0.0.7
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

| In file included from /openjdk-jre/bitbake_build/tmp/sysroots/qemux86-64/usr/include/stdio.h:27:0,
|                  from /openjdk-jre/bitbake_build/tmp/work/core2-64-wrs-linux/openjre-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/share/vm/prims/j
ni.h:39,
|                  from /openjdk-jre/bitbake_build/tmp/work/core2-64-wrs-linux/openjre-8/72b05-r0/jdk8u-e8bed1496ff2/hotspot/src/share/vm/runtime
/sharedRuntimeTrig.cpp:26:
| /openjdk-jre/bitbake_build/tmp/sysroots/qemux86-64/usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimi
zation (-O) [-Werror=cpp]
|  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
|     ^

Steps to Reproduce

$ configure --enable-kernel=cgl --enable-rootfs=glibc-cgl \
    --enable-board=qemux86-64 --enable-doc-pages=yes \
    --enable-ccache=no --enable-jobs=10 \
    --enable-parallel-pkgbuilds=16 --enable-reconfig \
    --with-rcpl-version=0003 --with-layer=meta-java,common \
    --with-template=feature/jre8 

$make -C build openjre-8

Other Downloads


Live chat
Online