autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avis-client-c: ceilf, linking with -lm


From: Zack Weinberg
Subject: Re: avis-client-c: ceilf, linking with -lm
Date: Mon, 16 Sep 2013 11:29:31 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 2013-09-16 10:05 AM, Daniel Pocock wrote:

I looked through the package and I found that there was a utility
library in there that didn't have the same AM_LDFLAGS definition as all
the other components

The problem was only appearing much later in the build unfortunately,
when building the test binary, but it is fixed now.

Can anything be done to make this type of thing easier to diagnose?

If the "utility library" is linked into a shared object, -Wl,-z,defs,--as-needed may help. If it only exists in .a and/or .la format (no .so) then unfortunately I don't think there's anything that can be done without a good deal of work. 'ar' doesn't have any equivalent of -z defs, and 'ld' has no "just check for unresolved externals, don't create any output" mode.

zw



reply via email to

[Prev in Thread] Current Thread [Next in Thread]