tag | ea8ae61fe43e010df090dd52a4596671abedf691 | |
---|---|---|
tagger | TeamCityServer <TeamCityServer@buildserver-app.Labs.IntelliJ.Net> | Wed Apr 07 13:16:22 2021 +0300 |
object | 80c6e03ec4fcc9e3f3d7ea9d8d9aa3554db769e6 |
commit | 80c6e03ec4fcc9e3f3d7ea9d8d9aa3554db769e6 | [log] [tgz] |
---|---|---|
author | Jim Laskey <jlaskey@openjdk.org> | Mon Apr 05 14:12:26 2021 +0000 |
committer | Vitaly Provodin <vitaly.provodin@jetbrains.com> | Wed Apr 07 14:33:38 2021 +0700 |
tree | 4fe8089f7a18abf32e03b9b44798efa5f6660a30 | |
parent | 9001a78701e45e82f1c0f066aeb0477b392dd551 [diff] |
JBR-2607 backport the fix for crash in [libjimage] ImageStrings::find from OpenJDK backported from OpenJDK - 8166727: javac crashed: [jimage.dll+0x1942] ImageStrings::find+0x28 Reviewed-by: iklam, alanb
github.com/JetBrains/JetBrainsRuntime
macOS, Linux:
git config --global core.autocrlf input git clone git@github.com:JetBrains/JetBrainsRuntime.git
Windows:
git config --global core.autocrlf false git clone git@github.com:JetBrains/JetBrainsRuntime.git
OpenJDK build docs
Tip for all platforms: run ./configure
and check output.
Usually, it has meaningful advice how to solve your problem.
$ cd jb/project/docker $ docker build . ... Successfully built 942ea9900054 $ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054 # cd /JetBrainsRuntime # sh ./configure # make images CONF=linux-x86_64-normal-server-release
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev $ cd JetBrainsRuntime $ sh ./configure --disable-warnings-as-errors $ make images
Install:
From command line:
"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 "c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
First command will set env vars, the second will run Cygwin shell with proper environment.
In Cygwin shell:
cd JetBrainsRuntime bash configure --enable-option-checking=fatal --with-toolchain-version=2015 --with-boot-jdk="/cygdrive/c/Program Files/Java/jdk-11.0.5" --disable-warnings-as-errors make images
Install Xcode command line developer tools, autoconf (via Homebrew).
Run:
sh ./configure --prefix=$(pwd)/build --disable-warnings-as-errors make images
We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/