Closed parona-source closed 3 years ago
libcompiledMethodLoad.so.debug
andlibgctest.so.debug
to be specific.
Now it appears there is more, not sure if just bad methodology when i first looked at it or something changed.
Full list of orphaned debug symbols:
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/gctest/lib/libgctest.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/heapTracker/lib/libheapTracker.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/heapViewer/lib/libheapViewer.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/hprof/lib/libhprof.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/minst/lib/libminst.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/mtrace/lib/libmtrace.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/versionCheck/lib/libversionCheck.so.debug
usr/lib/jvm/java-1.8-openjdk/demo/jvmti/waiters/lib/libwaiters.so.debug
It appears that all debug symbols in usr/lib/jvm/java-1.8-openjdk/demo/jvmti are orphaned.
Something like this would workaround this, but would like to get some feedback before creating a pull request just in case there is more to this.
for debug in **/*.debug; do
+ # Rudimentary skipping of orphaned debug symbols
+ if [[ "${debug}" =~ usr/lib/jvm/java-1.8-openjdk/demo/jvmti ]]; then
+ continue
+ fi
bin="${strip_dir}/${debug%.debug}"
eu-unstrip -o "${bin}" "${bin}" "${debug}" || die
done
Looks like a pull request has appeared that will fix this issue.
https://github.com/gentoo/musl/pull/429
I'll close this when its merged.
dev-java/icedtea-bin fails when trying to unsplit debug symbols due to the libraries that the debug symbols were splitted from being missing.
libcompiledMethodLoad.so.debug
andlibgctest.so.debug
to be specific.Removing the debug unsplitting code or skipping just the mentioned debug symbols will bypass this, but then it will output a QA notice about unresolved soname dependencies. The binaries seem to work fine though, as i was able to build openjdk fine with it (ive yet to try icedtea due to unrelated issues with systemtap). This is from a fresh stage3-amd64-musl-hardened-20210313 derived chroot that has been fully rebuilt (
emerge -e @world
) once.build.log with repeating lines truncated with ...
QA notice after bypassing unsplitting debug symbols issue
emerge --info