On Jun 13, 2008, at 12:47 PM, Pixel wrote:

"Dan Nicholson" <[EMAIL PROTECTED]> writes:

i wonder if ld could have a warning to detect about multiple symbols
in DSO and so tell about possible issues with --as-needed.

Both PCRE and the the liner flags are configuration choices:

    $ ./configure --help
    ...
      --with-pcre=ARG         build with PCRE library (no)
                          (location path: "external:none")
    ...

and -Wl,--as-needed from LDFLAGS. Thank you Ralf!

"Don't do that if it hurts!" should be an adequate answer,
both of those "features" are opt-in, not opt-out. Presumably
noone needs a warning about what they choose to do to
themselves. YMMV, everyone's does, and distro maintenance
of RPM packaging issues certainly inflicts its own peculier pains ...

Meanwhile, both additions were community RFE, not vendor build
system monster, derived, and so should continue to be available.

But yes, sure would be nice if Everything Just Worked!

73 de Jeff

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to