-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate separate debug info for JIT prod builds on Linux #8686
Generate separate debug info for JIT prod builds on Linux #8686
Conversation
50eac39
to
7805839
Compare
Jenkins test sanity xlinux,plinux,zlinux,alinux64 jdk8 |
@keithc-ca fyi |
I'm not fond of environment variables affecting builds in ways like this. I think the jit artifacts should be built like the rest of the VM:
(with appropriate adjustments for the toolchain or platform) |
Following the pattern used throughout the rest of the VM also means JIT symbols would be included in a 'debug-image' which is available from jenkins builds. See: |
7a0e2df
to
3e2b535
Compare
That's a better idea indeed. Thanks. |
3e2b535
to
33fc85a
Compare
Jenkins test sanity all jdk8 |
Once #8693 is merged, the filename should be Also note that on OSX, you want to use the command
to yield the folder |
JITServer defines SOLINK_SLINK_STATIC elsewhere as a list of statically linked libs, but it is otherwise blank, so there's no harm in adding it to the linker command line. Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
On Linux and OSX, rather than stripping debug info at link time for JIT prod builds, generate a separate artifact like other VM modules do. Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
33fc85a
to
6b453e3
Compare
Suggestions implemented. Generates |
Jenkins test sanity all jdk8 |
The only test failure is #6361.
|
I am seeing the following error in a cross-build environment for aarch64 Linux. Other shared libraries, such as libj9prt29.so, uses
It works fine with native builds on aarch64 Linux. |
We strip prod builds by default and there's no way to disable it without editing makefiles. This allows one to set
SOLIB_STRIP
in their env or pass it to make to disable this.