Quoting Andrew Haley (2013-04-26 11:11:41)
On 04/22/2013 11:01 PM, Orion Poplawski wrote:
> The eclipse PTP project that I package is starting to ship an executable in
> one of its plugins. The executable is packed into a jar file. This prevents
> debuginfo creation for the executable.
> I started taking a look at how this might be handled elsewhere and found:
> 13327 Defl:X 3624 73% 02-13-2013 23:21 326488c7
> 23720 Defl:X 7151 70% 02-13-2013 23:21 c26c2c94
> but no debuginfo package.
> Thoughts, comments?
This is pretty obviously a breach of packaging guidelines. We shouldn't
be hiding DSOs in archives.
Hmm, I am not aware of any guideline touching this topic (perhaps because it's
not that common). But from practical perspective these jars are extremely
practical because they don't have to deal with JNI file locations and similar
things which ten to be quite variable.
I don't consider this approach hiding, but we could surely improve the tooling
support for it.
WRT original question, I am not sure how to proceed. Even if you generate
debuginfo packages I have to wonder how easy will it be to use in a debugger?
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Software Engineer - Developer Experience
Red Hat Inc. http://cz.redhat.com