[Pkg-corba-devel] -dbg libraries (was: Re: Remaining issues before uploading omniORB 4.1)
floris.bruynooghe at gmail.com
Thu Oct 11 21:22:25 UTC 2007
On Thu, Oct 11, 2007 at 12:11:38AM +0200, Thomas Girard wrote:
> Completely unrelated: I'm wondering whether omniNames manual page
> section should be 8 or 1.
Although you can run it as a normal user too I think 8 as it is a
service started from init.
> > > * fix #42953 by introducing libomni*-dbg packages. Since we're changing
> > > names the package will go through NEW anyway.
> > This is moderately messy due to the way omniORB does it's build. But
> > I have done something similar at work (not Debian packages though) and
> > have a hackish way of doing it (involving sed...). I'll adapt it for
> > the Debian package and try to upload it this week.
> The attached patch (uncommitted) adds `-g' using CC and CXX configure
> variables. If you're fine with it I'll commit it and create missing
> -dbg packages.
That is a neat solution. Although on its own it will just create add
debugging sybols to the normal libs which is not what we want I think.
Yesterday (before I read this) I also worked on this on the train,
creating separate -dbg pacakges (and discovering a few files to be
cleaned up in the mean time too) for the library packages. I've
commited that work to a separate branch so you can have a look at it
too, altough it is not finished yet. It compiles but there are
lintian errors and I haven't actually checked the binary packages at
all yet. But since I'm away over the weekend I thought it was better
to commit it to a branch, I'll then try to merge the required changed
atomically(ish) (with more verbose logs and a changelog entry ;-)) to
the trunk later if we like it.
Anyway, if you think that looks useful (I think so) would you want to
commit/merge your diff to that branch? I think I prefer your way of
adding flags then my usage of sed, and the other changes in your diff
seem good too. I think having second target
"build-dbg/config.status:" that would use your trick to make CC="gcc
-g" would be the cleanest, so that configure gets called twice.
The only difference is that my sed trick compiles with just -g while
your trick ends up using -g -O2. But I think that's fine.
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
More information about the Pkg-corba-devel