On Wed, May 23, 2007 at 03:45:39AM +1000, Harshula wrote:
> 
> On Mon, 2007-05-21 at 23:39 -0500, Ming Hua wrote:
> 
> > > +         CFLAGS="$(CFLAGS)" \
> > > +         CXXFLAGS="$(CXXFLAGS)" \
> > > +         LDFLAGS="-Wl,-z,defs" \
> > 
> > I think I've seen this flag before.  What does it do exactly?
> 
> I have no idea, again it's from the template. Having a look at the man
> page ld(1):

Well, dh_make has quite some wrong/sub-optimal things in its template,
in my humble opinion.

> ------------------------------------------------------------
> Note---if the linker is being invoked indirectly, via a compiler driver
> (e.g.  gcc) then all the linker command line options should be prefixed
> by -Wl, (or whatever is appropriate for the particular compiler driver)
> 
> ...
> -z keyword
>            The recognized keywords are:
> 
> ....
> defs
> Disallows undefined symbols in object files.  Undefined symbols in
> shared libraries are still allowed.
> ------------------------------------------------------------

Yes I've read these doc before I asked.  However they didn't explain
anything for me.  Scim-m17n links to quite a few shared libraries, and
it has been built fine without the "-Wl,-z,defs" flag in Debian in the
past.  So from what I see this flag is at best a no-op.

> What's the correct and quickest procedure for getting scim-m17n updated
> to 0.2.2?

I am not quite sure.  Osamu is the maintainer, and I am not a DD, so the
upload is up to him.  Currently I see two ways: (1) You improve your
0.2.2 packaging and build/test in unstable, and ask Osamu to sponsor;
(2) I put scim-m17n to a higher priority and update the current
packaging to 0.2.2 (which was in my plan anyway, just probably not so
urgent).  I think Osamu's preference is the key here.

Ming
2007.05.24


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to