please use https://github.com/riscv/riscv-openjdk fork.
On Wed, Sep 1, 2021 at 7:22 AM <abhishek.ku...@exaleapsemi.com> wrote: > > hi sir > i am trying to build openjdk on riscv but i am facing problem can you suggest > what steps i need to follow > > root@exaleapsemi-3:~/abhi/jdk# bash configure > configure: Configuration created at Thu Aug 26 08:50:43 UTC 2021. > checking for basename... /usr/bin/basename > checking for dirname... /usr/bin/dirname > checking for file... /usr/bin/file > checking for ldd... no > checking for bash... /bin/bash > checking for cat... /bin/cat > checking for chmod... /bin/chmod > checking for cp... /bin/cp > checking for cut... /usr/bin/cut > checking for date... /bin/date > checking for gdiff... [not found] > checking for diff... /usr/bin/diff > checking for echo... echo [builtin] > checking for expr... /usr/bin/expr > checking for find... /usr/bin/find > checking for gunzip... /bin/gunzip > checking for pigz... [not found] > checking for gzip... /bin/gzip > checking for head... /usr/bin/head > checking for ln... /bin/ln > checking for ls... /bin/ls > checking for gmkdir... [not found] > checking for mkdir... /bin/mkdir > checking for mktemp... /bin/mktemp > checking for mv... /bin/mv > checking for gawk... /usr/bin/gawk > checking for printf... printf [builtin] > checking for rm... /bin/rm > checking for rmdir... /bin/rmdir > checking for sh... /bin/sh > checking for sort... /usr/bin/sort > checking for tail... /usr/bin/tail > checking for gtar... /bin/gtar > checking for tee... /usr/bin/tee > checking for touch... /bin/touch > checking for tr... /usr/bin/tr > checking for uname... /bin/uname > checking for wc... /usr/bin/wc > checking for xargs... /usr/bin/xargs > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for a sed that does not truncate output... /bin/sed > checking for df... /bin/df > checking for nice... /bin/nice > checking for greadlink... [not found] > checking for readlink... /usr/bin/readlink > checking for cygpath... [not found] > checking for wslpath... [not found] > checking for lsb_release... [not found] > checking for cmd.exe... [not found] > checking for cmp... /usr/bin/cmp > checking for uniq... /usr/bin/uniq > checking build system type... riscv64-unknown-linux-gnu > checking host system type... riscv64-unknown-linux-gnu > checking target system type... riscv64-unknown-linux-gnu > checking openjdk-build os-cpu... linux-riscv64 > checking openjdk-build C library... gnu > checking openjdk-target os-cpu... linux-riscv64 > checking openjdk-target C library... gnu > checking compilation type... native > checking for top-level directory... /home/root/abhi/jdk > checking if custom source is suppressed (openjdk-only)... disabled, default > checking for --enable-debug... disabled, default > checking which debug level to use... release > checking which variants of the JVM to build... server > checking if absolute paths should be allowed in the build output... no, > release build > checking for sysroot... > checking for toolchain path... > checking for extra path... > checking where to store configuration... in default location > checking what configuration name to use... linux-riscv64-server-release > checking for zypper... [not found] > checking for apt-get... /usr/bin/apt-get > checking for pandoc... [not found] > checking for gmake... [not found] > checking for make... /usr/bin/make > configure: Testing potential make at /usr/bin/make, found using make in PATH > configure: Using GNU make at /usr/bin/make (version: GNU Make 4.3) > checking if make --output-sync is supported... yes > checking for output-sync value... none > checking if find supports -delete... yes > checking what type of tar was found... gnu > checking that grep (/bin/grep) -Fx handles empty lines in the pattern list > correctly... yes > checking for unzip... /usr/bin/unzip > checking for zip... /usr/bin/zip > checking for greadelf... [not found] > checking for readelf... /usr/bin/readelf > checking for dot... [not found] > checking for hg... [not found] > checking for git... /usr/bin/git > checking for stat... /bin/stat > checking for time... time [builtin] > checking for flock... /usr/bin/flock > checking for dtrace... [not found] > checking for gpatch... [not found] > checking for patch... /usr/bin/patch > checking for ulimit... ulimit [builtin] > checking bash version... 5.0.18 > checking if bash supports pipefail... yes > checking if bash supports errexit (-e)... yes > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for default LOG value... > checking if packaged modules are kept... enabled, default > checking for version string... 18-internal+0-adhoc.root.jdk > checking for javac... [not found] > checking for java... [not found] > configure: Could not find a valid Boot JDK. OpenJDK distributions are > available at http://jdk.java.net/. > configure: This might be fixed by explicitly setting --with-boot-jdk > configure: error: Cannot continue > configure exiting with result code 1 > root@exaleapsemi-3:~/abhi/jdk# apt-get install libcups2-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package libcups2-dev > root@exaleapsemi-3:~/abhi/jdk# apt-get install libfontconfig1-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package libfontconfig1-dev > root@exaleapsemi-3:~/abhi/jdk# apt-get install libasound2-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package libasound2-dev > root@exaleapsemi-3:~/abhi/jdk# bash configure > configure: Configuration created at Thu Aug 26 08:52:37 UTC 2021. > checking for basename... /usr/bin/basename > checking for dirname... /usr/bin/dirname > checking for file... /usr/bin/file > checking for ldd... no > checking for bash... /bin/bash > checking for cat... /bin/cat > checking for chmod... /bin/chmod > checking for cp... /bin/cp > checking for cut... /usr/bin/cut > checking for date... /bin/date > checking for gdiff... [not found] > checking for diff... /usr/bin/diff > checking for echo... echo [builtin] > checking for expr... /usr/bin/expr > checking for find... /usr/bin/find > checking for gunzip... /bin/gunzip > checking for pigz... [not found] > checking for gzip... /bin/gzip > checking for head... /usr/bin/head > checking for ln... /bin/ln > checking for ls... /bin/ls > checking for gmkdir... [not found] > checking for mkdir... /bin/mkdir > checking for mktemp... /bin/mktemp > checking for mv... /bin/mv > checking for gawk... /usr/bin/gawk > checking for printf... printf [builtin] > checking for rm... /bin/rm > checking for rmdir... /bin/rmdir > checking for sh... /bin/sh > checking for sort... /usr/bin/sort > checking for tail... /usr/bin/tail > checking for gtar... /bin/gtar > checking for tee... /usr/bin/tee > checking for touch... /bin/touch > checking for tr... /usr/bin/tr > checking for uname... /bin/uname > checking for wc... /usr/bin/wc > checking for xargs... /usr/bin/xargs > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for a sed that does not truncate output... /bin/sed > checking for df... /bin/df > checking for nice... /bin/nice > checking for greadlink... [not found] > checking for readlink... /usr/bin/readlink > checking for cygpath... [not found] > checking for wslpath... [not found] > checking for lsb_release... [not found] > checking for cmd.exe... [not found] > checking for cmp... /usr/bin/cmp > checking for uniq... /usr/bin/uniq > checking build system type... riscv64-unknown-linux-gnu > checking host system type... riscv64-unknown-linux-gnu > checking target system type... riscv64-unknown-linux-gnu > checking openjdk-build os-cpu... linux-riscv64 > checking openjdk-build C library... gnu > checking openjdk-target os-cpu... linux-riscv64 > checking openjdk-target C library... gnu > checking compilation type... native > checking for top-level directory... /home/root/abhi/jdk > checking if custom source is suppressed (openjdk-only)... disabled, default > checking for --enable-debug... disabled, default > checking which debug level to use... release > checking which variants of the JVM to build... server > checking if absolute paths should be allowed in the build output... no, > release build > checking for sysroot... > checking for toolchain path... > checking for extra path... > checking where to store configuration... in default location > checking what configuration name to use... linux-riscv64-server-release > checking for zypper... [not found] > checking for apt-get... /usr/bin/apt-get > checking for pandoc... [not found] > checking for gmake... [not found] > checking for make... /usr/bin/make > configure: Testing potential make at /usr/bin/make, found using make in PATH > configure: Using GNU make at /usr/bin/make (version: GNU Make 4.3) > checking if make --output-sync is supported... yes > checking for output-sync value... none > checking if find supports -delete... yes > checking what type of tar was found... gnu > checking that grep (/bin/grep) -Fx handles empty lines in the pattern list > correctly... yes > checking for unzip... /usr/bin/unzip > checking for zip... /usr/bin/zip > checking for greadelf... [not found] > checking for readelf... /usr/bin/readelf > checking for dot... [not found] > checking for hg... [not found] > checking for git... /usr/bin/git > checking for stat... /bin/stat > checking for time... time [builtin] > checking for flock... /usr/bin/flock > checking for dtrace... [not found] > checking for gpatch... [not found] > checking for patch... /usr/bin/patch > checking for ulimit... ulimit [builtin] > checking bash version... 5.0.18 > checking if bash supports pipefail... yes > checking if bash supports errexit (-e)... yes > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for default LOG value... > checking if packaged modules are kept... enabled, default > checking for version string... 18-internal+0-adhoc.root.jdk > checking for javac... [not found] > checking for java... [not found] > configure: Could not find a valid Boot JDK. OpenJDK distributions are > available at http://jdk.java.net/. > configure: This might be fixed by explicitly setting --with-boot-jdk > configure: error: Cannot continue > configure exiting with result code 1 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54633): https://lists.yoctoproject.org/g/yocto/message/54633 Mute This Topic: https://lists.yoctoproject.org/mt/85303585/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-