Skip to content

Commit

Permalink
Initial Support for using gcc to compile a Windows JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShermanTanker committed Jan 12, 2025
1 parent 3145278 commit c77efe7
Show file tree
Hide file tree
Showing 185 changed files with 3,836 additions and 1,147 deletions.
1,788 changes: 1,788 additions & 0 deletions config.log

Large diffs are not rendered by default.

264 changes: 264 additions & 0 deletions configure.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
configure: loading site script /etc/config.site
configure: Configuration created at Sun Jan 12 22:21:24 +08 2025.
checking for basename... /usr/bin/basename
checking for dirname... /usr/bin/dirname
checking for file... /usr/bin/file
checking for ldd... /usr/bin/ldd
checking for echo... echo [builtin]
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for wc... /usr/bin/wc
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for locale... /usr/bin/locale
checking for cygpath... /usr/bin/cygpath
checking for cmd.exe... /c/Windows/System32/cmd.exe
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking openjdk-build os-cpu... windows-x86_64
checking openjdk-target os-cpu... windows-x86_64
checking compilation type... native
checking Windows environment type... msys2
checking msys2 drive prefix... ''
checking msys2 root directory as Windows path... 'C:\msys64'
checking msys2 temp directory... /tmp
checking msys2 release... 3.5.4-0bc1222b.x86_64
checking msys2 version... 2024-09-04 18:28 UTC
checking Windows version... 10.0.22631.4602
checking what kind of 'find' is first on the PATH... unix style
checking for top-level directory... /c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk
checking for bash... /usr/bin/bash
checking for cat... /usr/bin/cat
checking for chmod... /usr/bin/chmod
checking for cp... /usr/bin/cp
checking for cut... /usr/bin/cut
checking for date... /usr/bin/date
checking for gdiff... [not found]
checking for diff... /usr/bin/diff
checking for expr... /usr/bin/expr
checking for find... /usr/bin/find
checking for gunzip... /usr/bin/gunzip
checking for pigz... [not found]
checking for gzip... /usr/bin/gzip
checking for head... /usr/bin/head
checking for ln... /usr/bin/ln
checking for ls... /usr/bin/ls
checking for gmkdir... [not found]
checking for mkdir... /usr/bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /usr/bin/mv
checking for gawk... /usr/bin/gawk
checking for printf... printf [builtin]
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sh... /usr/bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... [not found]
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for xargs... /usr/bin/xargs
checking for fgrep... /usr/bin/grep -F
checking for cmake... [not found]
checking for df... /usr/bin/df
checking for git... /usr/bin/git
checking for nice... /usr/bin/nice
checking for greadlink... [not found]
checking for readlink... /usr/bin/readlink
checking for whoami... /usr/bin/whoami
checking for lsb_release... [not found]
checking for cmp... /usr/bin/cmp
checking for uniq... /usr/bin/uniq
checking for build environment type... dev, default (calculated from 'auto')
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 client minimal core
checking if absolute paths should be allowed in the build output... no, release build
checking for toolchain path...
checking for sysroot...
checking for extra path... /c/Users/Josep/Downloads/pandoc-2.19.2-windows-x86_64/pandoc-2.19.2
checking where to store configuration... in default location
checking what configuration name to use... windows-x86_64-serverANDclientANDminimalANDcore-release
checking for zypper... [not found]
checking for apt-get... [not found]
checking for yum... [not found]
checking for brew... [not found]
checking for port... [not found]
checking for pkgutil... [not found]
checking for pkgadd... [not found]
checking for pacman... /usr/bin/pacman
checking for pandoc... $FIXPATH /c/users/josep/downloads/pandoc-2.19.2-windows-x86_64/pandoc-2.19.2/pandoc.exe
checking for pandoc version... 2.19.2
checking if the pandoc smart extension needs to be disabled for markdown... yes
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.4.1)
checking if make --output-sync is supported... yes
checking for make --output-sync value... none, default
checking if find supports -delete... yes
checking what type of tar was found... gnu
checking that grep (/usr/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... $FIXPATH /ucrt64/bin/readelf.exe
checking for dot... [not found]
checking for stat... /usr/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 if date is a GNU compatible version... yes
checking bash version... 5.2.37
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking for pkg-config... /ucrt64/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for default LOG value...
checking for JMOD compression type... zip-6, default
checking whether or not a JDK suitable for linking from the run-time image should be produced... disabled, default
checking if packaged modules are kept... enabled, default
checking for --with-build-user... Josep, default
checking for --with-jdk-rc-name... Java Platform, default
checking for --with-vendor-name... N/A, default
checking for --with-jdk-rc-company-name... N/A, default
checking for --with-vendor-url... https://openjdk.org/, default
checking for --with-vendor-bug-url... https://bugreport.java.com/bugreport/, default
checking for --with-vendor-vm-bug-url... https://bugreport.java.com/bugreport/crash.jsp, default
checking for --with-version-string... <none>, default
checking for --with-version-feature... 25, default
checking for --with-version-date... 2025-09-16, default
checking for --with-vendor-version-string... <disabled>, default
checking for --with-macosx-bundle-name-base... Java SE, default
checking for --with-macosx-bundle-id-base... net.java.openjdk-internal, default
checking for --with-macosx-bundle-build-version... 0, default
checking for version string... 25-internal
checking for javac... [not found]
checking for java... [not found]
configure: Found potential Boot JDK using well-known locations (in /c/progra~1/java/jdk-23)
checking for Boot JDK... /c/progra~1/java/jdk-23
checking Boot JDK version... java version "23.0.1" 2024-10-15 Java(TM) SE Runtime Environment (build 23.0.1+11-39) Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)
checking for java [Boot JDK]... $BOOT_JDK/bin/java
checking for javac [Boot JDK]... $BOOT_JDK/bin/javac
checking for javadoc [Boot JDK]... $BOOT_JDK/bin/javadoc
checking for jar [Boot JDK]... $BOOT_JDK/bin/jar
checking if Boot JDK jar supports --date=TIMESTAMP... true
checking if Boot JDK is 32 or 64 bits... 64
checking for local Boot JDK Class Data Sharing (CDS)... yes, created
checking for Build JDK... yes, will use output dir
checking for docs-reference JDK... no, using interim javadoc for the docs-reference targets
checking what source date to use... 1736691711, from 'current' (default)
checking if we should build headless-only (no GUI)... disabled, default
checking if linker should clean out unused code (linktime-gc)... enabled, from command line
checking if link time optimization should be performed on native code excluding HotSpot (linktime-opt)... enabled, from command line
checking for graphviz dot... no, cannot generate full docs or man pages
checking for pandoc... yes
checking for --enable-full-docs... disabled, from default 'auto'
checking for cacerts file... default
checking for cacerts source... default
checking for --enable-unlimited-crypto... enabled, default
checking for jni library path... default
configure: Using user selected toolchain gcc (GNU Compiler Collection). Default toolchain is microsoft.
checking for gcc... /ucrt64/bin/gcc.exe
checking resolved symbolic links for CC... no symlink
configure: Using gcc C compiler version 14.2.0 [gcc.exe (Rev1, Built by MSYS2 project) 14.2.0]
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether /ucrt64/bin/gcc.exe accepts -g... yes
checking for g++... /ucrt64/bin/g++.exe
checking resolved symbolic links for CXX... no symlink
configure: Using gcc C++ compiler version 14.2.0 [g++.exe (Rev1, Built by MSYS2 project) 14.2.0]
checking whether /ucrt64/bin/g++.exe accepts -g... yes
checking how to run the C preprocessor... /ucrt64/bin/gcc.exe -E
checking how to run the C++ preprocessor... /ucrt64/bin/g++.exe -E
configure: Using gcc linker version 2.43.1 [GNU ld (GNU Binutils) 2.43.1]
configure: comparing linker version to minimum version 2.25
checking for ar... /ucrt64/bin/ar.exe
checking for strip... /ucrt64/bin/strip.exe
checking for nm... /ucrt64/bin/nm.exe
checking for windres... /ucrt64/bin/windres.exe
checking for gobjcopy... [not found]
checking for objcopy... /ucrt64/bin/objcopy.exe
checking for gobjdump... [not found]
checking for objdump... $FIXPATH /ucrt64/bin/objdump.exe
checking for c++filt... $FIXPATH /ucrt64/bin/c++filt.exe
checking for jtreg test harness... /c/users/josep/downlo~1/jtreg-~1.4_1/jtreg
checking for jtreg jdk... no, using BOOT_JDK
checking jtreg jar existence... checking jtreg version number... 7.4-dev
checking for jmh (Java Microbenchmark Harness)... no, disabled
checking for jib... no
checking for tidy... [not found]
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdio.h... (cached) yes
checking size of int *... 8
checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
checking for --enable-branch-protection... disabled, default
checking if CC supports "-fdebug-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if CXX supports "-fdebug-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if both CC and CXX support "-fdebug-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if CC supports "-gcodeview"... yes
checking if CXX supports "-gcodeview"... yes
checking if both CC and CXX support "-gcodeview"... yes
checking for --enable-warnings-as-errors... enabled, default
checking if TARGET is x86... no
checking if CC supports "-fmacro-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if CXX supports "-fmacro-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if both CC and CXX support "-fmacro-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking how to prevent absolute paths in output... using compiler options
checking if CC supports "-ffp-contract=off"... yes
checking if CXX supports "-ffp-contract=off"... yes
checking if both CC and CXX support "-ffp-contract=off"... yes
checking if BUILD is x86... no
checking if BUILD_CC supports "-fmacro-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if BUILD_CXX supports "-fmacro-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking if both BUILD_CC and BUILD_CXX support "-fmacro-prefix-map=/c/users/josep/downloads/eclipse-committers-2023-12-r-win32-x86_64/workspace/jdk/="... yes
checking how to prevent absolute paths in output... using compiler options
checking if BUILD_CC supports "-ffp-contract=off"... yes
checking if BUILD_CXX supports "-ffp-contract=off"... yes
checking if both BUILD_CC and BUILD_CXX support "-ffp-contract=off"... yes
checking how to run strip... --strip-debug
checking what type of native debug symbols to use... external
checking if we should add external native debug symbols to the shipped bundles... no
checking if native coverage is available... yes
checking for --enable-native-coverage... disabled, default
checking if AddressSanitizer (asan) is available... yes
checking for --enable-asan... disabled, default
checking for --with-additional-ubsan-checks... <disabled>, default
checking if UndefinedBehaviorSanitizer (ubsan) is available... yes
checking for --enable-ubsan... disabled, default
checking if LeakSanitizer (lsan) is available... yes
checking for --enable-lsan... disabled, default
checking if fallback linker enabled... disabled, default
checking if static link of stdc++ is possible... yes
checking how to link with libstdc++... static
checking for which libjpeg to use... bundled
checking for which giflib to use... bundled
checking for PNG... no
checking for which libpng to use... bundled
checking for compress in -lz... yes
checking for which zlib to use... bundled
checking for which lcms to use... bundled
checking for which harfbuzz to use... bundled
Using freetype: bundled
checking for --enable-hsdis-bundling... enabled, from command line
checking what hsdis backend to use... 'capstone'
configure: You must specify capstone location using --with-capstone=<path>
configure: error: Cannot continue
Loading

0 comments on commit c77efe7

Please sign in to comment.