Fix debuginfo generation for Linux
Thomas Fitzsimmons
fitzsim at redhat.com
Fri Oct 5 07:23:10 PDT 2007
Andrew Haley wrote:
> In Linux packages we always generate full debuginfo, regardless of
> optimization. Recent changes to OpenJDK have broken our debuginfo
> patches, and this new version of icedtea-debuginfo.patch fixes that, I
> hope.
>
> We need to find some way to test debuginfo generation in our
> regression testing. At the moment I can think of no easy way to do
> that: it's a hard problem because even if we detect that one file has
> correct debuginfo, that doesn't mean that _all_ files do. Ideas
> welcome...
I'm surprised rpm's debuginfo package generation step doesn't include a
"no debuginfo" check. The relevant script is
/usr/lib/rpm/find-debuginfo.sh. Adding a check there would catch
regressions at rpm build time.
Tom
More information about the distro-pkg-dev
mailing list