FS#77710 - [jdk-openjdk] missing symbols while package

Attached to Project: Arch Linux
Opened by Shi Zhan (eshizhan) - Friday, 03 March 2023, 07:36 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
freswa (frederik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The jdk package missing all symbols, makes some features failed:
jhsdb tools failed, running `jhsdb jmap --heap --pid PID`, throw exception.

Can not debug using gdb, can not found symbols in async-profiler.
same problem I think here:  FS#60955  https://bugs.archlinux.org/task/60955

The reason is we package jdk striped symbols by makepkg default behavior, to keep it by
add `!strip` to `options`, finally changed: `options=(!lto !strip)`

Additional info:
* all jdk current version(8, 11, 17, 19)

Steps to reproduce:
`gdb $JAVA_HOME/lib/server/libjvm.so -ex 'info address UseG1GC'`
OR
`jhsdb jmap --heap --pid PID`
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:18 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/java-openjdk/issues/6

Loading...